#include <UberMC.h>
Public Member Functions | |
| UberMC () | |
| ~UberMC () | |
| void | ResetEvent () |
| void | AddNextHit (UShort_t p, UShort_t s) |
| void | AddNextHitValues (Int_t hb, Float_t edep, Float_t tpos, Float_t praw, Float_t nraw, Float_t pcorr, Float_t ncorr, Float_t ptdc, Float_t ntdc, Float_t pdist, Float_t ndist) |
| const TClonesArray * | GetHitList () const |
| const TClonesArray * | GetStdHep () const |
| void | SetStdHep (const TClonesArray *a) |
Public Attributes | |
| Int_t | mctype |
| Float_t | mcpx |
| Float_t | mcpy |
| Float_t | mcpz |
| Float_t | mcenergy |
| Float_t | mcenergydep |
| Float_t | mcvx |
| Float_t | mcvy |
| Float_t | mcvz |
| Int_t | nhep |
Private Attributes | |
| UInt_t | fmchitindex |
| TClonesArray * | mchitlist |
| keep track of current position in hit list | |
| const TClonesArray * | stdheplist |
Static Private Attributes | |
| TClonesArray * | fgmchitlist = 0 |
|
|
Definition at line 13 of file UberMC.cxx. 00013 : 00014 mctype(0), 00015 mcpx(0.), 00016 mcpy(0.), 00017 mcpz(0.), 00018 mcenergy(0.), 00019 mcenergydep(0.), 00020 mcvx(0.), 00021 mcvy(0.), 00022 mcvz(0.), 00023 nhep(0), 00024 stdheplist() 00025 { 00026 if(!fgmchitlist){ 00027 fgmchitlist = new TClonesArray("UberMCHit",1440); 00028 } 00029 mchitlist = fgmchitlist; 00030 00031 }//end UberMC() //________________________________________________________________________________
|
|
|
Definition at line 33 of file UberMC.cxx. References mchitlist. 00034 {
00035 mchitlist->Clear();
00036 }
|
|
||||||||||||
|
Definition at line 57 of file UberMC.cxx. References fmchitindex, MSG, s(), and UberMCHit::SetPlaneStrip(). Referenced by UberDST::Ana(). 00058 {
00059 MSG("UberMC",Msg::kDebug)<<"In UberMC AddNextHit"<<endl;
00060 new((*mchitlist)[fmchitindex]) UberMCHit();
00061 UberMCHit *mcuh = static_cast<UberMCHit *>((*mchitlist)[fmchitindex]);
00062 mcuh->SetPlaneStrip(p,s);
00063 fmchitindex++;
00064 return;
00065
00066 }//end AddNextHit()
|
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
Definition at line 68 of file UberMC.cxx. References UberMCHit::AddValues(), fmchitindex, and MSG. Referenced by UberDST::Ana(). 00071 {
00072 MSG("UberMC",Msg::kDebug)<<"In UberMC AddnextHitValues"<<endl;
00073 UberMCHit *mcuh = static_cast<UberMCHit *>((*mchitlist)[fmchitindex-1]);
00074 mcuh->AddValues(hb,edep,tpos,praw,nraw,pcorr,ncorr,ptdc,ntdc,pdist,ndist);
00075 return;
00076 }//end AddNextHitValues()
|
|
|
Definition at line 18 of file UberMC.h. 00018 {return mchitlist;}
|
|
|
Definition at line 19 of file UberMC.h. 00019 {return stdheplist;}
|
|
|
Definition at line 38 of file UberMC.cxx. References fmchitindex, mcenergy, mcenergydep, mchitlist, mcpx, mcpy, mcpz, mctype, mcvx, mcvy, mcvz, MSG, and nhep. Referenced by UberDST::Ana(). 00039 {
00040 MSG("UberMC",Msg::kDebug)<<"In UberMC ResetEvent"<<endl;
00041 mchitlist->Clear();
00042 // stdheplist->Clear();
00043 fmchitindex=0;
00044
00045 mctype=0;
00046 mcpx=0.;
00047 mcpy=0.;
00048 mcpz=0.;
00049 mcenergy=0.;
00050 mcenergydep=0.;
00051 mcvx=0.;
00052 mcvy=0.;
00053 mcvz=0.;
00054 nhep=0;
00055 }//end ResetEvent()
|
|
|
Definition at line 20 of file UberMC.h. References stdheplist. Referenced by UberDST::Ana(). 00020 {stdheplist = a;}
|
|
|
Definition at line 11 of file UberMC.cxx. |
|
|
Definition at line 35 of file UberMC.h. Referenced by AddNextHit(), AddNextHitValues(), and ResetEvent(). |
|
|
Definition at line 27 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 28 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
keep track of current position in hit list
Definition at line 36 of file UberMC.h. Referenced by ResetEvent(), and ~UberMC(). |
|
|
Definition at line 24 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 25 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 26 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 23 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 29 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 30 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 31 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 32 of file UberMC.h. Referenced by UberDST::Ana(), and ResetEvent(). |
|
|
Definition at line 39 of file UberMC.h. Referenced by SetStdHep(). |
1.3.9.1