#include <ecalStructureFiller.h>
Definition at line 24 of file ecalStructureFiller.h.
◆ ecalStructureFiller() [1/3]
ecalStructureFiller::ecalStructureFiller |
( |
| ) |
|
Default constructor
Definition at line 19 of file ecalStructureFiller.cxx.
20 : FairTask(),
29{
30}
Bool_t fInited
Internal event counter.
TClonesArray * fListECALpts
◆ ecalStructureFiller() [2/3]
ecalStructureFiller::ecalStructureFiller |
( |
const char * |
name, |
|
|
const Int_t |
iVerbose = 1 , |
|
|
const char * |
fileGeo = "ecal_FullMC.geo" |
|
) |
| |
Standard constructor
Definition at line 34 of file ecalStructureFiller.cxx.
35 : FairTask(name,iVerbose),
44{
45}
static ecalInf * GetInstance(const char *filename)
◆ ~ecalStructureFiller()
ecalStructureFiller::~ecalStructureFiller |
( |
| ) |
|
|
virtual |
◆ ecalStructureFiller() [3/3]
◆ Exec()
void ecalStructureFiller::Exec |
( |
Option_t * |
option, |
|
|
TClonesArray * |
litePoints |
|
) |
| |
|
virtual |
Executed task
Definition at line 142 of file ecalStructureFiller.cxx.
143{
146 if (fVerbose>0)
147 cout <<
"--> Event no. " <<
fEvent;
148
151
152 if (fVerbose>0)
153 cout << endl << flush;
154}
◆ Finish()
void ecalStructureFiller::Finish |
( |
| ) |
|
|
virtual |
◆ GetStoreTrackInformation()
Bool_t ecalStructureFiller::GetStoreTrackInformation |
( |
| ) |
const |
|
inline |
◆ GetStructure()
◆ GetUseHits()
Bool_t ecalStructureFiller::GetUseHits |
( |
| ) |
const |
◆ GetUseMCPoints()
Bool_t ecalStructureFiller::GetUseMCPoints |
( |
| ) |
const |
|
inline |
◆ GetUseSummableHits()
Bool_t ecalStructureFiller::GetUseSummableHits |
( |
| ) |
const |
◆ Init()
InitStatus ecalStructureFiller::Init |
( |
| ) |
|
|
virtual |
Initialization of the task
Definition at line 62 of file ecalStructureFiller.cxx.
63{
65 FairRootManager* fManager = FairRootManager::Instance();
66
68 {
69 Warning("Init()", "No data source for structure filler! Calorimeter structure will be empty.");
70
71 }
72
74 fListECALpts = (TClonesArray*)fManager->GetObject(
"EcalPointLite");
75
76
80
81 fManager->Register(
"EcalStructure",
"ECAL",
fStr, kFALSE);
82 return kSUCCESS;
83}
void SetUseMC(Int_t mc=0)
◆ InitPython()
ecalStructure * ecalStructureFiller::InitPython |
( |
TClonesArray * |
litePoints | ) |
|
◆ LoopForMCPoints()
void ecalStructureFiller::LoopForMCPoints |
( |
| ) |
|
|
private |
Loop over MCPoints
Loop over MCPoints hits and add them to cells
Definition at line 101 of file ecalStructureFiller.cxx.
102{
105 Int_t ten;
107 Bool_t isPS;
108
110 if (fVerbose>0)
111 {
112 cout << ". Number of input MC points: ";
114 }
115
116 for(UInt_t j=0;
j<
n;
j++)
117 {
120 if (ten==0) {
121 if (isPS)
122 ;
123 else
125 }
126 }
128 for(UInt_t j=0;
j<
n;
j++)
129 {
132 if (ten==0) {
133 if (isPS)
134 ;
135 else
137 }
138 }
139}
void AddTrackEnergy(Int_t num, Float_t energy, Float_t time=-1111)
void AddEnergy(Float_t energy)
ecalCell * GetCell(Float_t x, Float_t y) const
◆ operator=()
◆ SetParContainers()
void ecalStructureFiller::SetParContainers |
( |
| ) |
|
|
private |
◆ SetUseMCPoints()
void ecalStructureFiller::SetUseMCPoints |
( |
Bool_t |
UseMCPoints | ) |
|
|
inline |
◆ StoreTrackInformation()
void ecalStructureFiller::StoreTrackInformation |
( |
Bool_t |
storetrackinfo = kTRUE | ) |
|
|
inline |
◆ fEvent
Int_t ecalStructureFiller::fEvent |
|
private |
◆ fFileGeo
TString ecalStructureFiller::fFileGeo |
|
private |
◆ fInf
◆ fInited
Bool_t ecalStructureFiller::fInited |
|
private |
◆ fListECALpts
TClonesArray* ecalStructureFiller::fListECALpts |
|
private |
◆ fStoreTrackInfo
Bool_t ecalStructureFiller::fStoreTrackInfo |
|
private |
◆ fStr
◆ fUseMCPoints
Bool_t ecalStructureFiller::fUseMCPoints |
|
private |
The documentation for this class was generated from the following files: