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

TMcHitEvent Class Reference

#include <TMcHitEvent.h>

List of all members.

Public Member Functions

void addMcDigiEmc (TMcDigiEmc *digi)
 Add a McHitMdc into the Mdc Data collection.
void addMcDigiEmc (TMcDigiEmc *digi)
 Add a McHitMdc into the Mdc Data collection.
void addMcHitMdc (TMcHitMdc *hit)
 Add a McHitMdc into the Mdc Data collection.
void addMcHitMdc (TMcHitMdc *hit)
 Add a McHitMdc into the Mdc Data collection.
void addMcHitTof (TMcHitTof *hit)
 Add a McHitTof into the TOF Data collection.
void addMcHitTof (TMcHitTof *hit)
 Add a McHitTof into the TOF Data collection.
void Clear (Option_t *option="")
void Clear (Option_t *option="")
Double_t getBeamTime () const
Double_t getBeamTime () const
const TMcDigiEmcgetMcDigiEmc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
const TMcDigiEmcgetMcDigiEmc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
const TObjArray * getMcDigiEmcCol () const
 retrieve the whole TObjArray of McHitMdc Data
const TObjArray * getMcDigiEmcCol () const
 retrieve the whole TObjArray of McHitMdc Data
const TMcHitMdcgetMcHitMdc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
const TMcHitMdcgetMcHitMdc (Int_t i) const
 retrieve a McHitMdc From the collection, using the index into the array
const TObjArray * getMcHitMdcCol () const
 retrieve the whole TObjArray of McHitMdc Data
const TObjArray * getMcHitMdcCol () const
 retrieve the whole TObjArray of McHitMdc Data
const TMcHitTofgetMcHitTof (Int_t i) const
 retrieve a McHitTof From the collection, using the index into the array
const TMcHitTofgetMcHitTof (Int_t i) const
 retrieve a McHitTof From the collection, using the index into the array
const TObjArray * getMcHitTofCol () const
 retrieve the whole TObjArray of McHitTof Data
const TObjArray * getMcHitTofCol () const
 retrieve the whole TObjArray of McHitTof Data
void Print (Option_t *option="") const
void Print (Option_t *option="") const
void setBeamTime (Double_t time)
void setBeamTime (Double_t time)
 TMcHitEvent ()
 TMcHitEvent ()
virtual ~TMcHitEvent ()
virtual ~TMcHitEvent ()

Private Attributes

Double_t m_beamTime
TObjArray * m_tEmcMcDigiCol
 data members to store Mdc data
TObjArray * m_tEmcMcDigiCol
 data members to store Mdc data
TObjArray * m_tMdcMcHitCol
 data members to store Mdc data
TObjArray * m_tMdcMcHitCol
 data members to store Mdc data
TObjArray * m_tTofMcHitCol
 data members to store Tof data
TObjArray * m_tTofMcHitCol
 data members to store Tof data


Constructor & Destructor Documentation

TMcHitEvent::TMcHitEvent  ) 
 

TMcHitEvent::~TMcHitEvent  )  [virtual]
 

00017                           {
00018     m_tTofMcHitCol->Delete();
00019     delete m_tTofMcHitCol;
00020     m_tTofMcHitCol = 0;
00021 
00022     m_tMdcMcHitCol->Delete();
00023     delete m_tMdcMcHitCol;
00024     m_tMdcMcHitCol = 0;
00025 
00026     m_tEmcMcDigiCol->Delete();
00027     delete m_tEmcMcDigiCol;
00028     m_tEmcMcDigiCol = 0;
00029 }

TMcHitEvent::TMcHitEvent  ) 
 

virtual TMcHitEvent::~TMcHitEvent  )  [virtual]
 


Member Function Documentation

void TMcHitEvent::addMcDigiEmc TMcDigiEmc digi  ) 
 

Add a McHitMdc into the Mdc Data collection.

void TMcHitEvent::addMcDigiEmc TMcDigiEmc digi  ) 
 

Add a McHitMdc into the Mdc Data collection.

00052                                                   {
00053   m_tEmcMcDigiCol->Add(mcDigi);
00054 }

void TMcHitEvent::addMcHitMdc TMcHitMdc hit  ) 
 

Add a McHitMdc into the Mdc Data collection.

void TMcHitEvent::addMcHitMdc TMcHitMdc hit  ) 
 

Add a McHitMdc into the Mdc Data collection.

00074                                                {
00075   m_tMdcMcHitCol->Add(mcHit);
00076 }

void TMcHitEvent::addMcHitTof TMcHitTof hit  ) 
 

Add a McHitTof into the TOF Data collection.

void TMcHitEvent::addMcHitTof TMcHitTof hit  ) 
 

Add a McHitTof into the TOF Data collection.

00063                                                {
00064   m_tTofMcHitCol->Add(mcHit);
00065 }

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

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

00033                                         {
00034   int i = 0;
00035 
00036   for(i = 0; i < m_tTofMcHitCol->GetEntries(); i++)delete m_tTofMcHitCol->At(i);
00037   m_tTofMcHitCol->Clear();
00038 
00039   for(i = 0; i < m_tMdcMcHitCol->GetEntries(); i++)delete m_tMdcMcHitCol->At(i);
00040   m_tMdcMcHitCol->Clear();
00041   
00042   for(i = 0; i < m_tEmcMcDigiCol->GetEntries(); i++)delete m_tEmcMcDigiCol->At(i);
00043   m_tEmcMcDigiCol->Clear();
00044 }

Double_t TMcHitEvent::getBeamTime  )  const [inline]
 

00050 {return m_beamTime;}

Double_t TMcHitEvent::getBeamTime  )  const [inline]
 

00050 {return m_beamTime;}

const TMcDigiEmc* TMcHitEvent::getMcDigiEmc Int_t  i  )  const
 

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

const TMcDigiEmc * TMcHitEvent::getMcDigiEmc Int_t  i  )  const
 

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

00057                                                           {
00058         if(Int_t(i) >=m_tEmcMcDigiCol->GetEntries()) return 0;
00059         else return (TMcDigiEmc*) m_tEmcMcDigiCol->At(i);
00060 }

const TObjArray* TMcHitEvent::getMcDigiEmcCol  )  const [inline]
 

retrieve the whole TObjArray of McHitMdc Data

00041 { return m_tEmcMcDigiCol; };

const TObjArray* TMcHitEvent::getMcDigiEmcCol  )  const [inline]
 

retrieve the whole TObjArray of McHitMdc Data

00041 { return m_tEmcMcDigiCol; };

const TMcHitMdc* TMcHitEvent::getMcHitMdc Int_t  i  )  const
 

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

const TMcHitMdc * TMcHitEvent::getMcHitMdc Int_t  i  )  const
 

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

00079                                                         {
00080         if(Int_t(i) >=m_tMdcMcHitCol->GetEntries()) return 0;
00081         else return (TMcHitMdc*) m_tMdcMcHitCol->At(i);
00082 }

const TObjArray* TMcHitEvent::getMcHitMdcCol  )  const [inline]
 

retrieve the whole TObjArray of McHitMdc Data

00032 { return m_tMdcMcHitCol; };

const TObjArray* TMcHitEvent::getMcHitMdcCol  )  const [inline]
 

retrieve the whole TObjArray of McHitMdc Data

00032 { return m_tMdcMcHitCol; };

const TMcHitTof* TMcHitEvent::getMcHitTof Int_t  i  )  const
 

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

const TMcHitTof * TMcHitEvent::getMcHitTof Int_t  i  )  const
 

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

00068                                                         {
00069         if(Int_t(i) >=m_tTofMcHitCol->GetEntries()) return 0;
00070         else return (TMcHitTof*) m_tTofMcHitCol->At(i);
00071 }

const TObjArray* TMcHitEvent::getMcHitTofCol  )  const [inline]
 

retrieve the whole TObjArray of McHitTof Data

00023 { return m_tTofMcHitCol; };

const TObjArray* TMcHitEvent::getMcHitTofCol  )  const [inline]
 

retrieve the whole TObjArray of McHitTof Data

00023 { return m_tTofMcHitCol; };

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

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

00047                                               {
00048     TObject::Print(option);
00049 }

void TMcHitEvent::setBeamTime Double_t  time  )  [inline]
 

00049 {m_beamTime = time;}

void TMcHitEvent::setBeamTime Double_t  time  )  [inline]
 

00049 {m_beamTime = time;}


Member Data Documentation

Double_t TMcHitEvent::m_beamTime [private]
 

TObjArray* TMcHitEvent::m_tEmcMcDigiCol [private]
 

data members to store Mdc data

TObjArray* TMcHitEvent::m_tEmcMcDigiCol [private]
 

data members to store Mdc data

TObjArray* TMcHitEvent::m_tMdcMcHitCol [private]
 

data members to store Mdc data

TObjArray* TMcHitEvent::m_tMdcMcHitCol [private]
 

data members to store Mdc data

TObjArray* TMcHitEvent::m_tTofMcHitCol [private]
 

data members to store Tof data

TObjArray* TMcHitEvent::m_tTofMcHitCol [private]
 

data members to store Tof data


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