Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

TDstEvent Class Reference

#include <TDstEvent.h>

List of all members.

Public Member Functions

void addEmcTrack (TEmcTrack *Track)
 Add a TkrTrack into the Emc data collection.
void addEmcTrack (TEmcTrack *Track)
 Add a TkrTrack into the Emc data collection.
void addExtTrack (TExtTrack *Track)
 Add a ExtTrack into the Ext Data collection.
void addExtTrack (TExtTrack *Track)
 Add a ExtTrack into the Ext Data collection.
void addMdcDedx (TMdcDedx *Track)
 Add a Dedx into the TOF Data collection.
void addMdcDedx (TMdcDedx *Track)
 Add a Dedx into the TOF Data collection.
void addMdcKalTrack (TMdcKalTrack *Track)
void addMdcKalTrack (TMdcKalTrack *Track)
void addMdcTrack (TMdcTrack *Track)
 Add a TkrTrack into the Mdc data collection.
void addMdcTrack (TMdcTrack *Track)
 Add a TkrTrack into the Mdc data collection.
void addMucTrack (TMucTrack *Track)
 Add a MucTrack into the TOF Data collection.
void addMucTrack (TMucTrack *Track)
 Add a MucTrack into the TOF Data collection.
void addTofTrack (TTofTrack *Track)
 Add a TofTrack into the TOF Data collection.
void addTofTrack (TTofTrack *Track)
 Add a TofTrack into the TOF Data collection.
void Clear (Option_t *option="")
void Clear (Option_t *option="")
void clearEmcTrackCol ()
 clear the whole array (necessary because of the consts-s)
void clearEmcTrackCol ()
 clear the whole array (necessary because of the consts-s)
void clearExtTrackCol ()
 clear the whole array
void clearExtTrackCol ()
 clear the whole array
void clearMdcDedxCol ()
 clear the whole array
void clearMdcDedxCol ()
 clear the whole array
void clearMdcKalTrackCol ()
void clearMdcKalTrackCol ()
void clearMdcTrackCol ()
 clear the whole array (necessary because of the consts-s)
void clearMdcTrackCol ()
 clear the whole array (necessary because of the consts-s)
void clearMucTrackCol ()
 clear the whole array
void clearMucTrackCol ()
 clear the whole array
void clearTofTrackCol ()
 clear the whole array
void clearTofTrackCol ()
 clear the whole array
const TEmcTrackgetEmcTrack (Int_t i) const
 retrieve a EmcTrack from the collection, using the index into the array
const TEmcTrackgetEmcTrack (Int_t i) const
 retrieve a EmcTrack from the collection, using the index into the array
const TObjArray * getEmcTrackCol () const
 retrieve the whole TObjArray of EmcTrack Data
const TObjArray * getEmcTrackCol () const
 retrieve the whole TObjArray of EmcTrack Data
const TExtTrackgetExtTrack (Int_t i) const
 retrieve a MucTrack From the collection, using the index into the array
const TExtTrackgetExtTrack (Int_t i) const
 retrieve a MucTrack From the collection, using the index into the array
const TObjArray * getExtTrackCol () const
 retrieve the whole TObjArray of Ext Data
const TObjArray * getExtTrackCol () const
 retrieve the whole TObjArray of Ext Data
const TMdcDedxgetMdcDedx (Int_t i) const
 retrieve a TofTrack From the collection, using the index into the array
const TMdcDedxgetMdcDedx (Int_t i) const
 retrieve a TofTrack From the collection, using the index into the array
const TObjArray * getMdcDedxCol () const
 retrieve the whole TObjArray of Dedx Data
const TObjArray * getMdcDedxCol () const
 retrieve the whole TObjArray of Dedx Data
const TMdcKalTrackgetMdcKalTrack (Int_t i) const
const TMdcKalTrackgetMdcKalTrack (Int_t i) const
const TObjArray * getMdcKalTrackCol () const
const TObjArray * getMdcKalTrackCol () const
const TMdcTrackgetMdcTrack (Int_t i) const
 retrieve a MdcTrack from the collection, using the index into the array
const TMdcTrackgetMdcTrack (Int_t i) const
 retrieve a MdcTrack from the collection, using the index into the array
const TObjArray * getMdcTrackCol () const
 retrieve the whole TObjArray of MdcTrack Data
const TObjArray * getMdcTrackCol () const
 retrieve the whole TObjArray of MdcTrack Data
const TMucTrackgetMucTrack (Int_t i) const
 retrieve a MucTrack From the collection, using the index into the array
const TMucTrackgetMucTrack (Int_t i) const
 retrieve a MucTrack From the collection, using the index into the array
const TObjArray * getMucTrackCol () const
 retrieve the whole TObjArray of MucTrack Data
const TObjArray * getMucTrackCol () const
 retrieve the whole TObjArray of MucTrack Data
const TTofTrackgetTofTrack (Int_t i) const
 retrieve a TofTrack From the collection, using the index into the array
const TTofTrackgetTofTrack (Int_t i) const
 retrieve a TofTrack From the collection, using the index into the array
const TObjArray * getTofTrackCol () const
 retrieve the whole TObjArray of TofTrack Data
const TObjArray * getTofTrackCol () const
 retrieve the whole TObjArray of TofTrack Data
void initialize ()
void initialize ()
void Print (Option_t *option="") const
void Print (Option_t *option="") const
 TDstEvent ()
 TDstEvent ()
virtual ~TDstEvent ()
virtual ~TDstEvent ()

Private Attributes

TObjArray * m_emcTrackCol
TObjArray * m_emcTrackCol
TObjArray * m_extTrackCol
TObjArray * m_extTrackCol
TObjArray * m_mdcDedxCol
TObjArray * m_mdcDedxCol
TObjArray * m_mdcKalTrackCol
TObjArray * m_mdcKalTrackCol
TObjArray * m_mdcTrackCol
TObjArray * m_mdcTrackCol
TObjArray * m_mucTrackCol
TObjArray * m_mucTrackCol
TObjArray * m_tofTrackCol
TObjArray * m_tofTrackCol

Static Private Attributes

TObjArray * s_staticEmcTrackCol
 data members to store Emc track data
TObjArray * s_staticEmcTrackCol
 data members to store Emc track data
TObjArray * s_staticExtTrackCol
 data members to store Ext data
TObjArray * s_staticExtTrackCol = 0
 data members to store Ext data
TObjArray * s_staticMdcDedxCol
 data members to store Dedx data
TObjArray * s_staticMdcDedxCol = 0
 data members to store Dedx data
TObjArray * s_staticMdcKalTrackCol
 data members to store MdcKal data
TObjArray * s_staticMdcKalTrackCol = 0
 data members to store MdcKal data
TObjArray * s_staticMdcTrackCol
 data members to store Mdc data
TObjArray * s_staticMdcTrackCol
 data members to store Mdc data
TObjArray * s_staticMucTrackCol
 data members to store Muc data
TObjArray * s_staticMucTrackCol = 0
 data members to store Muc data
TObjArray * s_staticTofTrackCol
 data members to store Tof data
TObjArray * s_staticTofTrackCol = 0
 data members to store Tof data


Constructor & Destructor Documentation

TDstEvent::TDstEvent  ) 
 

00018 {
00019                 //Dst Track
00020 
00021     if (!s_staticMdcTrackCol) {
00022             s_staticMdcTrackCol = new TObjArray();
00023     }
00024     m_mdcTrackCol = s_staticMdcTrackCol;
00025 
00026     if (!s_staticEmcTrackCol ){
00027             s_staticEmcTrackCol = new TObjArray();
00028     }
00029     m_emcTrackCol = s_staticEmcTrackCol;
00030    
00031     if (! s_staticTofTrackCol ){
00032            s_staticTofTrackCol = new TObjArray();
00033      }
00034      m_tofTrackCol = s_staticTofTrackCol;
00035      
00036     if (! s_staticMucTrackCol ){
00037            s_staticMucTrackCol = new TObjArray();
00038      }
00039      m_mucTrackCol = s_staticMucTrackCol;
00040 
00041     if (! s_staticMdcDedxCol ){
00042            s_staticMdcDedxCol = new TObjArray();
00043      }
00044      m_mdcDedxCol = s_staticMdcDedxCol;
00045 
00046     if (! s_staticExtTrackCol ){
00047            s_staticExtTrackCol = new TObjArray();
00048      }
00049      m_extTrackCol = s_staticExtTrackCol;
00050      
00051     
00052      if (! s_staticMdcKalTrackCol ){
00053            s_staticMdcKalTrackCol = new TObjArray();
00054      }
00055      m_mdcKalTrackCol = s_staticMdcKalTrackCol;
00056     
00057      Clear();
00058     
00059 }

TDstEvent::~TDstEvent  )  [virtual]
 

00062                       {
00063         
00064         /****************************    Dst Track *************************/
00065    if(m_mdcTrackCol == s_staticMdcTrackCol) s_staticMdcTrackCol = 0;
00066     m_mdcTrackCol->Delete();
00067     delete m_mdcTrackCol;
00068     m_mdcTrackCol = 0;
00069 
00070     if(m_emcTrackCol == s_staticEmcTrackCol) s_staticEmcTrackCol = 0;
00071     m_emcTrackCol->Delete();
00072     delete m_emcTrackCol;
00073     m_emcTrackCol = 0;
00074 
00075     if(m_tofTrackCol == s_staticTofTrackCol ) s_staticTofTrackCol = 0;
00076     m_tofTrackCol->Delete();
00077     delete m_tofTrackCol;
00078     m_tofTrackCol = 0;
00079 
00080     if(m_mucTrackCol == s_staticMucTrackCol ) s_staticMucTrackCol = 0;
00081     m_mucTrackCol->Delete();
00082     delete m_mucTrackCol;
00083     m_mucTrackCol = 0;
00084 
00085     if(m_mdcDedxCol == s_staticMdcDedxCol ) s_staticMdcDedxCol = 0;
00086     m_mdcDedxCol->Delete();
00087     delete m_mdcDedxCol;
00088     m_mdcDedxCol = 0;
00089 
00090     if(m_extTrackCol == s_staticExtTrackCol ) s_staticExtTrackCol = 0;
00091     m_extTrackCol->Delete();
00092     delete m_extTrackCol;
00093     m_extTrackCol = 0;
00094     
00095     if(m_mdcKalTrackCol == s_staticMdcKalTrackCol ) s_staticMdcKalTrackCol = 0;
00096     m_mdcKalTrackCol->Delete();
00097     delete m_mdcKalTrackCol;
00098     m_mdcKalTrackCol = 0;
00099                  
00100     
00101 }

TDstEvent::TDstEvent  ) 
 

virtual TDstEvent::~TDstEvent  )  [virtual]
 


Member Function Documentation

void TDstEvent::addEmcTrack TEmcTrack Track  ) 
 

Add a TkrTrack into the Emc data collection.

void TDstEvent::addEmcTrack TEmcTrack Track  ) 
 

Add a TkrTrack into the Emc data collection.

00130                                              {
00131     m_emcTrackCol->Add(Track);
00132 }

void TDstEvent::addExtTrack TExtTrack Track  ) 
 

Add a ExtTrack into the Ext Data collection.

void TDstEvent::addExtTrack TExtTrack Track  ) 
 

Add a ExtTrack into the Ext Data collection.

00175                                              {
00176     m_extTrackCol->Add(Track);
00177 }

void TDstEvent::addMdcDedx TMdcDedx Track  ) 
 

Add a Dedx into the TOF Data collection.

void TDstEvent::addMdcDedx TMdcDedx Track  ) 
 

Add a Dedx into the TOF Data collection.

00163                                            {
00164     m_mdcDedxCol->Add(Track);
00165 }

void TDstEvent::addMdcKalTrack TMdcKalTrack Track  ) 
 

void TDstEvent::addMdcKalTrack TMdcKalTrack Track  ) 
 

00186                                                    {
00187     m_mdcKalTrackCol->Add(Track);
00188 }

void TDstEvent::addMdcTrack TMdcTrack Track  ) 
 

Add a TkrTrack into the Mdc data collection.

void TDstEvent::addMdcTrack TMdcTrack Track  ) 
 

Add a TkrTrack into the Mdc data collection.

00120                                             {
00121     m_mdcTrackCol->Add(Track);
00122 }

void TDstEvent::addMucTrack TMucTrack Track  ) 
 

Add a MucTrack into the TOF Data collection.

void TDstEvent::addMucTrack TMucTrack Track  ) 
 

Add a MucTrack into the TOF Data collection.

00152                                              {
00153     m_mucTrackCol->Add(Track);
00154 }

void TDstEvent::addTofTrack TTofTrack Track  ) 
 

Add a TofTrack into the TOF Data collection.

void TDstEvent::addTofTrack TTofTrack Track  ) 
 

Add a TofTrack into the TOF Data collection.

00141                                              {
00142     m_tofTrackCol->Add(Track);
00143 }

void TDstEvent::Clear Option_t *  option = ""  ) 
 

void TDstEvent::Clear Option_t *  option = ""  ) 
 

00108                                       {
00109 
00110 }

void TDstEvent::clearEmcTrackCol  )  [inline]
 

clear the whole array (necessary because of the consts-s)

00057 { m_emcTrackCol->Clear(); }

void TDstEvent::clearEmcTrackCol  )  [inline]
 

clear the whole array (necessary because of the consts-s)

00057 { m_emcTrackCol->Clear(); }

void TDstEvent::clearExtTrackCol  )  [inline]
 

clear the whole array

00105 { m_extTrackCol->Clear();}

void TDstEvent::clearExtTrackCol  )  [inline]
 

clear the whole array

00105 { m_extTrackCol->Clear();}

void TDstEvent::clearMdcDedxCol  )  [inline]
 

clear the whole array

00093 { m_mdcDedxCol->Clear();}

void TDstEvent::clearMdcDedxCol  )  [inline]
 

clear the whole array

00093 { m_mdcDedxCol->Clear();}

void TDstEvent::clearMdcKalTrackCol  )  [inline]
 

00111 { m_mdcKalTrackCol->Clear();}

void TDstEvent::clearMdcKalTrackCol  )  [inline]
 

00111 { m_mdcKalTrackCol->Clear();}

void TDstEvent::clearMdcTrackCol  )  [inline]
 

clear the whole array (necessary because of the consts-s)

00045 { m_mdcTrackCol->Clear(); }

void TDstEvent::clearMdcTrackCol  )  [inline]
 

clear the whole array (necessary because of the consts-s)

00045 { m_mdcTrackCol->Clear(); }

void TDstEvent::clearMucTrackCol  )  [inline]
 

clear the whole array

00081 { m_mucTrackCol->Clear();}

void TDstEvent::clearMucTrackCol  )  [inline]
 

clear the whole array

00081 { m_mucTrackCol->Clear();}

void TDstEvent::clearTofTrackCol  )  [inline]
 

clear the whole array

00069 { m_tofTrackCol->Clear();}

void TDstEvent::clearTofTrackCol  )  [inline]
 

clear the whole array

00069 { m_tofTrackCol->Clear();}

const TEmcTrack* TDstEvent::getEmcTrack Int_t  i  )  const
 

retrieve a EmcTrack from the collection, using the index into the array

const TEmcTrack * TDstEvent::getEmcTrack Int_t  i  )  const
 

retrieve a EmcTrack from the collection, using the index into the array

00134                                                       {
00135     if(Int_t(i) >= m_emcTrackCol->GetEntries())
00136            return 0;
00137     return (TEmcTrack*)m_emcTrackCol->At(i);
00138 }

const TObjArray* TDstEvent::getEmcTrackCol  )  const [inline]
 

retrieve the whole TObjArray of EmcTrack Data

00048 { return m_emcTrackCol; };

const TObjArray* TDstEvent::getEmcTrackCol  )  const [inline]
 

retrieve the whole TObjArray of EmcTrack Data

00048 { return m_emcTrackCol; };

const TExtTrack* TDstEvent::getExtTrack Int_t  i  )  const
 

retrieve a MucTrack From the collection, using the index into the array

const TExtTrack * TDstEvent::getExtTrack Int_t  i  )  const
 

retrieve a MucTrack From the collection, using the index into the array

00179                                                       {
00180         if(Int_t(i) >=m_extTrackCol->GetEntries())
00181               return 0;
00182       return (TExtTrack*) m_extTrackCol->At(i);
00183 }

const TObjArray* TDstEvent::getExtTrackCol  )  const [inline]
 

retrieve the whole TObjArray of Ext Data

00096 { return m_extTrackCol; };

const TObjArray* TDstEvent::getExtTrackCol  )  const [inline]
 

retrieve the whole TObjArray of Ext Data

00096 { return m_extTrackCol; };

const TMdcDedx* TDstEvent::getMdcDedx Int_t  i  )  const
 

retrieve a TofTrack From the collection, using the index into the array

const TMdcDedx * TDstEvent::getMdcDedx Int_t  i  )  const
 

retrieve a TofTrack From the collection, using the index into the array

00168                                                     {
00169         if(Int_t(i) >=m_mdcDedxCol->GetEntries())
00170                 return 0;
00171         return (TMdcDedx*) m_mdcDedxCol->At(i);
00172 }

const TObjArray* TDstEvent::getMdcDedxCol  )  const [inline]
 

retrieve the whole TObjArray of Dedx Data

00084 { return m_mdcDedxCol; };

const TObjArray* TDstEvent::getMdcDedxCol  )  const [inline]
 

retrieve the whole TObjArray of Dedx Data

00084 { return m_mdcDedxCol; };

const TMdcKalTrack* TDstEvent::getMdcKalTrack Int_t  i  )  const
 

const TMdcKalTrack * TDstEvent::getMdcKalTrack Int_t  i  )  const
 

00190                                                             {
00191      if(Int_t(i) >=m_mdcKalTrackCol->GetEntries())
00192         return 0;
00193      return (TMdcKalTrack*) m_mdcKalTrackCol->At(i);
00194 }

const TObjArray* TDstEvent::getMdcKalTrackCol  )  const [inline]
 

00108 { return m_mdcKalTrackCol; };

const TObjArray* TDstEvent::getMdcKalTrackCol  )  const [inline]
 

00108 { return m_mdcKalTrackCol; };

const TMdcTrack* TDstEvent::getMdcTrack Int_t  i  )  const
 

retrieve a MdcTrack from the collection, using the index into the array

const TMdcTrack * TDstEvent::getMdcTrack Int_t  i  )  const
 

retrieve a MdcTrack from the collection, using the index into the array

00124                                                      {
00125     if (Int_t(i) >= m_mdcTrackCol->GetEntries()) 
00126             return 0;
00127     return (TMdcTrack*)m_mdcTrackCol->At(i);
00128 } 

const TObjArray* TDstEvent::getMdcTrackCol  )  const [inline]
 

retrieve the whole TObjArray of MdcTrack Data

00036 { return m_mdcTrackCol; };

const TObjArray* TDstEvent::getMdcTrackCol  )  const [inline]
 

retrieve the whole TObjArray of MdcTrack Data

00036 { return m_mdcTrackCol; };

const TMucTrack* TDstEvent::getMucTrack Int_t  i  )  const
 

retrieve a MucTrack From the collection, using the index into the array

const TMucTrack * TDstEvent::getMucTrack Int_t  i  )  const
 

retrieve a MucTrack From the collection, using the index into the array

00157                                                       {
00158         if(Int_t(i) >=m_mucTrackCol->GetEntries())
00159                 return 0;
00160         return (TMucTrack*) m_mucTrackCol->At(i);
00161 }

const TObjArray* TDstEvent::getMucTrackCol  )  const [inline]
 

retrieve the whole TObjArray of MucTrack Data

00072 { return m_mucTrackCol; };

const TObjArray* TDstEvent::getMucTrackCol  )  const [inline]
 

retrieve the whole TObjArray of MucTrack Data

00072 { return m_mucTrackCol; };

const TTofTrack* TDstEvent::getTofTrack Int_t  i  )  const
 

retrieve a TofTrack From the collection, using the index into the array

const TTofTrack * TDstEvent::getTofTrack Int_t  i  )  const
 

retrieve a TofTrack From the collection, using the index into the array

00146                                                       {
00147         if(Int_t(i) >=m_tofTrackCol->GetEntries())
00148                 return 0;
00149         return (TTofTrack*) m_tofTrackCol->At(i);
00150 }

const TObjArray* TDstEvent::getTofTrackCol  )  const [inline]
 

retrieve the whole TObjArray of TofTrack Data

00060 { return m_tofTrackCol; };

const TObjArray* TDstEvent::getTofTrackCol  )  const [inline]
 

retrieve the whole TObjArray of TofTrack Data

00060 { return m_tofTrackCol; };

void TDstEvent::initialize  ) 
 

void TDstEvent::initialize  ) 
 

00104                           { 
00105 }

void TDstEvent::Print Option_t *  option = ""  )  const
 

void TDstEvent::Print Option_t *  option = ""  )  const
 

00113                                             {
00114     TObject::Print(option);
00115 }


Member Data Documentation

TObjArray* TDstEvent::m_emcTrackCol [private]
 

TObjArray* TDstEvent::m_emcTrackCol [private]
 

TObjArray* TDstEvent::m_extTrackCol [private]
 

TObjArray* TDstEvent::m_extTrackCol [private]
 

TObjArray* TDstEvent::m_mdcDedxCol [private]
 

TObjArray* TDstEvent::m_mdcDedxCol [private]
 

TObjArray* TDstEvent::m_mdcKalTrackCol [private]
 

TObjArray* TDstEvent::m_mdcKalTrackCol [private]
 

TObjArray* TDstEvent::m_mdcTrackCol [private]
 

TObjArray* TDstEvent::m_mdcTrackCol [private]
 

TObjArray* TDstEvent::m_mucTrackCol [private]
 

TObjArray* TDstEvent::m_mucTrackCol [private]
 

TObjArray* TDstEvent::m_tofTrackCol [private]
 

TObjArray* TDstEvent::m_tofTrackCol [private]
 

TObjArray* TDstEvent::s_staticEmcTrackCol [static, private]
 

data members to store Emc track data

TObjArray* TDstEvent::s_staticEmcTrackCol [static, private]
 

data members to store Emc track data

TObjArray* TDstEvent::s_staticExtTrackCol [static, private]
 

data members to store Ext data

TObjArray * TDstEvent::s_staticExtTrackCol = 0 [static, private]
 

data members to store Ext data

TObjArray* TDstEvent::s_staticMdcDedxCol [static, private]
 

data members to store Dedx data

TObjArray * TDstEvent::s_staticMdcDedxCol = 0 [static, private]
 

data members to store Dedx data

TObjArray* TDstEvent::s_staticMdcKalTrackCol [static, private]
 

data members to store MdcKal data

TObjArray * TDstEvent::s_staticMdcKalTrackCol = 0 [static, private]
 

data members to store MdcKal data

TObjArray* TDstEvent::s_staticMdcTrackCol [static, private]
 

data members to store Mdc data

TObjArray* TDstEvent::s_staticMdcTrackCol [static, private]
 

data members to store Mdc data

TObjArray* TDstEvent::s_staticMucTrackCol [static, private]
 

data members to store Muc data

TObjArray * TDstEvent::s_staticMucTrackCol = 0 [static, private]
 

data members to store Muc data

TObjArray* TDstEvent::s_staticTofTrackCol [static, private]
 

data members to store Tof data

TObjArray * TDstEvent::s_staticTofTrackCol = 0 [static, private]
 

data members to store Tof data


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 18:51:45 2011 for BOSS6.5.5 by  doxygen 1.3.9.1