FEDRA emulsion software from the OPERA Collaboration
ShowRec.h
Go to the documentation of this file.
1
2//---------------------------------------------------------------------------------
3//- gEDBDEBUGLEVEL
5//---------------------------------------------------------------------------------
6//- VARIABLES
7//---------------------------------------------------------------------------------
8Int_t cmd_HELP=0; // Print all the possible help options.
9//----------------------------------------------------
10Int_t cmd_PRESET=0; // Sets all other values for a given preset.
11//----------------------------------------------------
12Int_t cmd_PADI=0;
13Int_t cmd_BTPA=0;
14Int_t cmd_BGTP=0;
15Int_t cmd_ALTP=4;
17Int_t cmd_PAEND=0;
18Int_t cmd_CUTTP=0;
19Int_t cmd_FP=1; // This default setting (FP,MP,LP,NP) takes all BTs in the volume
20Int_t cmd_LP=57; // for possible initiator basetracks and starts reconstruction
21Int_t cmd_MP=57; // from them all.
22Int_t cmd_NP=57; // Attention: this may take a very long time.
23Int_t cmd_LT=0;
24Int_t cmd_MC=0;
25Int_t cmd_MCFL=0;
26Int_t cmd_HPLZ=0;
27Int_t cmd_ALI=0; // 0 gAli from cp, 1: gALI from Linkd_tracks 2: gAli from root file
28Int_t cmd_MCMIX=0;
29Int_t cmd_vtx=0;
30Int_t cmd_CLEAN=0; // clean gAli Object with tighter Quality Cuts!
31Int_t cmd_FILETP=0; // addition variable to distinguis different treebranches...
32Int_t cmd_GBMC=0; // addition variable to tell the program which MCEvt is doing (if only one is done).
33Int_t cmd_EXTHETA=0; // if set to 1 then extract subpatterns with delta theta cut w.r.t. InBT.
34Int_t cmd_ALN3TRAIN=0; // train the neural net in ALTP13 (N3_Alg) 0: Train, 1:Run
35Int_t cmd_ALN3DUMP=0; // write also the input tree for training in the file 0: no (default), 1:yes (can give large root files!)
36//----------------------------------------------------
37char *cmd_lnkdef_name = "lnk.def";
38Int_t cmd_gEDBDEBUGLEVEL=2; // 2: normal; 3: long, 4 very long; 1: none
39Int_t cmd_OUTPUTLEVEL=1; // 2:all (long), 2:reco+paraset (long) 1: only reconstruction (short): 0 only eff.(short)
40Int_t cmd_STOPLEVEL=0; // 0: Full Program, 1,2,3,4 return program at different steps of program.
41//---------------------------------------------------------------------------------
46//---------------------------------------------------------------------------------
47// In = Initiator = BT from which the shower reconstruction starts
48// Works for all Basetracks, MC or background
51//---------------------------------------------------------------------------------
52// Evt = Event = highest energetic BT at lowest z-position for the
53// corresponding InBT (does not have to be an electron,f.e.)
54// Works of course only for MC events
59//-----------
60TObjArray* GLOBAL_VtxArray;
61Float_t GLOBAL_VtxArrayX[99999];
62Float_t GLOBAL_VtxArrayY[99999];
63Float_t GLOBAL_VtxArrayZ[99999];
64//---------------------------------------------------------------------------------
78//---------------------------------------------------------------------------------
83//---------------------------------------------------------------------------------
84Double_t CUT_PARAMETER[10];
87//---------------------------------------------------------------------------------
89//---------------------------------------------------------------------------------
90
91//---------------------------------------------------------------------------------
92//- Internal Histograms
93//---------------------------------------------------------------------------------
94TProfile* NBTeMC_pure;
98TProfile* NBTeMC_NBTMC;
100TProfile* NBTeMC_NBT;
102TProfile* NBT_InBTE;
104TProfile* NBTeMC_InBTE;
106TProfile* pure_InBTE;
108TProfile* purall_InBTE;
110//---------------------------------------------------------------------------------
111
112
113//---------------------------------------------------------------------------------
114//- FUNCTIONS
115//---------------------------------------------------------------------------------
124// void FillGlobalInBTArray(); // deprecated
126void GetEvent_ParasetDefinitionTree(Int_t nr);
131// -------------------------------
132void ReconstructShowers(Int_t nr);
133void ReconstructShowers_CT(); // ALTP=0 // This is now the same as CA alg....
134void ReconstructShowers_CL(); // ALTP=1 // TESTING
135void ReconstructShowers_CA(); // ALTP=2
136void ReconstructShowers_OI(); // ALTP=4
137void ReconstructShowers_NN(); // ALTP=5
138void ReconstructShowers_OI2(); // DEPRECATED !!!!
139void ReconstructShowers_SA(); // ONLY MC ALGORITHM
140void ReconstructShowers_TC(); // ALTP=6
141void ReconstructShowers_RC(); // ALTP=7
142void ReconstructShowers_BW(); // ALTP=8 BackWard Algorithm
143void ReconstructShowers_AG(); // ALTP=9 Advanced Gamm Algorithm
144void ReconstructShowers_GS(); // ALTP=10 Gamma Search Algorithm (equal to the one in libShowRec)
146void ReconstructShowers_OPENMP_TEST(EdbSegP* InBT, TObjArray array);
147void ReconstructShowers_N3(); // ALTP=11
148// -------------------------------
153// -------------------------------
154Bool_t FindPrecedingBTs(EdbSegP* s1, EdbSegP* s2, EdbPVRec *gAli, TObjArray* showersegarray); //searches all BTs from showersegarray only
155Bool_t FindPrecedingBTsSingleThetaAngle(EdbSegP* s1, EdbSegP* s2, EdbPVRec *gAli, TObjArray* showersegarray); //searches all BTs from showersegarray only
156Bool_t FindPrecedingBTsSingleThetaAngleTCDEBUG(EdbSegP* s1, EdbSegP* s2, EdbPVRec *gAli, TObjArray* showersegarray); //searches all BTs from showersegarray only
157Bool_t FindPrecedingBTs_local_gAli(EdbSegP* s1, EdbSegP* s2, EdbPVRec *gAli, TObjArray* showersegarray); //searches all BTs from gAli
158Bool_t FindFollowingBTs(EdbSegP* s1, EdbSegP* s2, EdbPVRec *gAli, TObjArray* showersegarray);
159Bool_t GetConeOrTubeDistanceToInBT(EdbSegP* sa, EdbSegP* s, Double_t ConeAngle, Double_t CylinderRadius);
160Bool_t GetConeOrTubeDistanceToBTOfShowerArray(EdbSegP* sa, EdbSegP* InBT, TObjArray* showersegarray, Double_t CylinderRadius, Double_t ConeAngle);
161Double_t GetdeltaTheta(EdbSegP* s1,EdbSegP* s2);
164Double_t GetdeltaRNoPropagation(EdbSegP* s,EdbSegP* stest);
167inline Double_t GetdT(EdbSegP* s1,EdbSegP* s2) {
168 return GetdeltaTheta(s1,s2);
169}
170inline Double_t GetdR(EdbSegP* s1,EdbSegP* s2) {
172}
173inline Double_t GetdMinDist(EdbSegP* s1,EdbSegP* s2) {
174 return GetMinimumDist(s1,s2);
175}
176Double_t GetDistToAxis(EdbSegP* segAxis,EdbSegP* segTest);
177
178Bool_t IsSameSegment(EdbSegP* seg1,EdbSegP* seg2);
179// -------------------------------
180Double_t CalcIP(EdbSegP* s, EdbVertex* v);
181Double_t CalcIP(EdbSegP *s, double x, double y, double z);
182// -------------------------------
183Bool_t AddBTToArrayWithCeck(EdbSegP* tryAttachedSegment, TObjArray* GLOBAL_ShowerSegArray);
184// -------------------------------
185Bool_t CalcConeOrTubeDistanceToInBT(EdbSegP* sa, EdbSegP* InBT, Double_t CylinderRadius, Double_t ConeAngle);
186EdbSegP* BuildShowerAxis(TObjArray* ShowerSegArray);
187void FillShowerAxis();
188Bool_t IsShowerSortedZ(TObjArray* showerarray);
189void SortShowerZ(TObjArray* showerarray);
191void BuildParametrizationsMCInfo_PGun(TString MCInfoFilename);
192// -------------------------------
193EdbVertex* CalcVertex(TObjArray *segments);
194// -------------------------------
195void CalcTrackDensity(EdbPattern* pat_interim,Float_t pat_interim_halfsize,Int_t& npat_int,Int_t& npat_total,Int_t& npatN);
196void CalcEffPurOfShower(TObjArray* arr, Int_t &NBT, Int_t &NBTMC, Int_t &NBTallMC, Int_t &NBTeMC, Double_t &purall, Double_t &pure);
197void CalcEffPurOfShower2(TObjArray* arr, Int_t &NBT, Int_t &NBTMC, Int_t &NBTallMC, Int_t &NBTeMC, Double_t &purall, Double_t &pure,Int_t n1, Int_t n2, Int_t n3);
198void CalcEfficencyNumbers(EdbPattern* pat_interim, Int_t MCCheck, Int_t& NBT_Neff,Int_t& NBTMC_Neff,Int_t& NBTMCe_Neff);
200// -------------------------------
202void TransferShowerObjectArrayIntoEntryOfTreebranchShowerTree(TTree* treebranchtree, TObjArray* segarray);
203void MakeTracksTree(TTree* treebranch);
204//---------------------------------------------------------------------------------
205
206
207
208
209// CL ALG ---------------------------------------------------------------------------------
210// Histograms which are needed...
220TSpectrum2 *spectrum[50];
221TSpectrum2 *spectrum2dim;
223// Functions which are needed...
225Int_t Reco_CL_AssignZValueToGroup(Double_t z, Double_t z0, Int_t NGroupedPLATES, Int_t PLATESPerGroup);
226// CL ALG ---------------------------------------------------------------------------------
227
228
229
230//---------------------------------------------------------------------------------
231//- VARIABLES: shower_ "treebranch" reconstruction
232//---------------------------------------------------------------------------------
236Float_t shower_xb[5000];
237Float_t shower_yb[5000];
238Float_t shower_zb[5000];
239Float_t shower_txb[5000];
240Float_t shower_tyb[5000];
241Float_t shower_deltarb[5000];
242Float_t shower_deltathetab[5000];
243Float_t shower_deltaxb[5000];
244Float_t shower_deltayb[5000];
245Int_t shower_nfilmb[5000];
246Int_t shower_ngrainb[5000];
247Float_t shower_chi2btkb[5000];
248Int_t shower_ntrace1simub[5000]; // MCEvt
249Int_t shower_ntrace2simub[5000]; // s->W()
250Float_t shower_ntrace3simub[5000]; // s->P()
251Int_t shower_ntrace4simub[5000]; // s->Flag()
252Float_t shower_tagprimary[5000];
253Int_t shower_idb[5000];
254Int_t shower_plateb[5000];
258Float_t shower_trackdensb; //Track Density around the shower area, in BT/mm2
264// -- new: in case you want to merge different shower.root files, they can be distingued:
266// -- new: hole plates and consequitve hole plates:
269//---------------------------------------------------------------------------------
270
271// GS ALG ---------------------------------------------------------------------------------
287TTree* t_GSNN;
288TFile* f_GSNN;
289// GS ALG ---------------------------------------------------------------------------------
290
291
292//---------------------------------------------------------------------------------
293// BG cleaning implement function
294void DoBGTargetCleaning();
295// Function for closing files, destructing elements and cleaning up orphaned stuff:
296void Finalize();
297// Set Parameters from command line Inputs
299//---------------------------------------------------------------------------------
300// Help functions - mostly printing functions
301void PrintHelp();
302void PrintPresetList();
304void PrintShowerObjectArray(TObjArray* segarray);
Int_t ParaSetNr
Definition: CreateParaset_BW_Alg.C:23
brick z0
Definition: RecDispMC.C:106
Double_t GetdT(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.h:164
TProfile * NBT_InBTE
Definition: ShowRec.h:96
TH1F * h_GSNN_var04
Definition: ShowRec.h:415
TProfile * pure_InBTE
Definition: ShowRec.h:100
Float_t shower_axis_tyb
Definition: ShowRec.h:400
Double_t GetdeltaThetaSingleAngles(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.cpp:7258
Int_t shower_filetype
Definition: ShowRec.h:402
Int_t cmd_PADI
Definition: ShowRec.h:8
Float_t GLOBAL_VtxArrayY[99999]
Definition: ShowRec.h:56
TH2F * Hist_pure_InBTE
Definition: ShowRec.h:101
TH2F * spectrum_interim
Definition: ShowRec.h:358
Int_t GLOBAL_INBTSHOWERNR
Definition: ShowRec.h:80
TH1F * h_GSNN_var03
Definition: ShowRec.h:414
Int_t shower_nfilmb[5000]
Definition: ShowRec.h:382
Double_t GLOBAL_trckdens
Definition: ShowRec.h:39
Int_t shower_ngrainb[5000]
Definition: ShowRec.h:383
Int_t GLOBAL_EvtBT_ZArray[99999]
Definition: ShowRec.h:51
void MakeTracksTree(TTree *treebranch)
Definition: ShowRec.cpp:8236
TH2F * Hist_NBTeMC_NBTMC
Definition: ShowRec.h:93
void CalcEffPurOfShower(TObjArray *arr, Int_t &NBT, Int_t &NBTMC, Int_t &NBTallMC, Int_t &NBTeMC, Double_t &purall, Double_t &pure)
Definition: ShowRec.cpp:7597
void ReconstructShowers_NN()
Definition: ShowRec.cpp:3244
EdbPVRec * GLOBAL_gAli
Definition: ShowRec.h:73
TH3F * Hist3DimRecoEvent_gAli
Definition: ShowRec.h:354
Bool_t FindPrecedingBTs_local_gAli(EdbSegP *s1, EdbSegP *s2, EdbPVRec *gAli, TObjArray *showersegarray)
Definition: ShowRec.cpp:6679
void ReconstructShowers_OI()
void ReconstructShowers_CL() /// Still Missing in the Implementation !!!
Definition: ShowRec.cpp:2838
Bool_t FindPrecedingBTsSingleThetaAngle(EdbSegP *s1, EdbSegP *s2, EdbPVRec *gAli, TObjArray *showersegarray)
Definition: ShowRec.cpp:6825
EdbPVRec * TransformEdbPVRec_SA(EdbPVRec *gAli, EdbSegP *InitiatorBT)
Definition: ShowRec.cpp:6506
void ReadDefaultValues_CommandLine()
Definition: ShowRec.cpp:413
Int_t cmd_OUTPUTLEVEL
Definition: ShowRec.h:33
void FillOutPutStructures()
Definition: ShowRec.cpp:7682
TFile * FILE_ShowRecEff
Definition: ShowRec.h:61
Int_t GLOBAL_PARASETNR
Definition: ShowRec.h:79
TH3F * Hist3DimOnlyBG
Definition: ShowRec.h:353
TH2F * Hist2DimBGAndSimOneEventAllPlates
Definition: ShowRec.h:349
Int_t GLOBAL_EvtBT_FlagArray[99999]
Definition: ShowRec.h:51
TSpectrum2 * spectrum[50]
Definition: ShowRec.h:356
Float_t value_GSNN_var01
Definition: ShowRec.h:419
void CalcEffPurOfShower2(TObjArray *arr, Int_t &NBT, Int_t &NBTMC, Int_t &NBTallMC, Int_t &NBTeMC, Double_t &purall, Double_t &pure, Int_t n1, Int_t n2, Int_t n3)
Definition: ShowRec.cpp:7631
void ReconstructShowers_OPENMP_TEST(EdbSegP *InBT, TObjArray array)
DEBUG OPENMP TEST!!!!!!!
Definition: ShowRec.cpp:2439
TH2F * Hist2DimOnlyBGOneGroupedPlate[50]
Definition: ShowRec.h:350
TObjArray * GLOBAL_ShowerSegArray
Definition: ShowRec.h:76
TFile * FILE_ParaSetDefinitions
Definition: ShowRec.h:64
Float_t shower_axis_zb
Definition: ShowRec.h:398
TFile * FILE_ShowTracks
Definition: ShowRec.h:71
void CheckInputParameters()
Definition: ShowRec.cpp:8376
Bool_t IsShowerSortedZ(TObjArray *showerarray)
Definition: ShowRec.cpp:8801
Int_t cmd_BTPA
Definition: ShowRec.h:9
Float_t GLOBAL_VtxArrayX[99999]
Definition: ShowRec.h:55
TFile * f_GSNN
Definition: ShowRec.h:427
Int_t cmd_ALTP
Definition: ShowRec.h:11
Float_t value_GSNN_var02
Definition: ShowRec.h:420
EdbVertex * CalcVertex(TObjArray *segments)
Definition: ShowRec.cpp:9043
void Reco_CL_BuildGlobalHistogramsOnHeap()
Definition: ShowRec.cpp:1872
Bool_t IsSameSegment(EdbSegP *seg1, EdbSegP *seg2)
Definition: ShowRec.cpp:8857
TTree * CreateTreeBranchShowerTree(Int_t ParaSetNr)
Definition: ShowRec.cpp:7864
Int_t cmd_CLEAN
Definition: ShowRec.h:26
void GetEvent_ParasetDefinitionTree(Int_t nr)
Definition: ShowRec.cpp:1440
TObjArray * GLOBAL_VtxArray
Definition: ShowRec.h:54
Double_t GLOBAL_purall
Definition: ShowRec.h:37
void RewriteSegmentPIDs(EdbPVRec *gAli)
Definition: ShowRec.cpp:6119
Float_t shower_yb[5000]
Definition: ShowRec.h:374
TH2F * Hist_NBT_InBTE
Definition: ShowRec.h:97
Int_t shower_showerID
Definition: ShowRec.h:370
Double_t GetdeltaRNoPropagation(EdbSegP *s, EdbSegP *stest)
Definition: ShowRec.cpp:7229
Int_t cmd_PAEND
Definition: ShowRec.h:13
void ReconstructShowers_SA()
Definition: ShowRec.cpp:3050
Int_t cmd_BGTP
Definition: ShowRec.h:10
Float_t value_GSNN_varInput
Definition: ShowRec.h:425
Int_t GLOBAL_InBT_MC
Definition: ShowRec.h:43
Double_t GetMinimumDist(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.cpp:8581
Int_t shower_numberofholesconseq
Definition: ShowRec.h:404
TH2F * Hist2DimOnlyBGAllPlates
Definition: ShowRec.h:347
Float_t shower_ntrace3simub[5000]
Definition: ShowRec.h:387
TFile * FILE_ShowRecHistos
Definition: ShowRec.h:63
Double_t GetdMinDist(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.h:170
Int_t GLOBAL_NBTMC
Definition: ShowRec.h:36
Double_t GLOBAL_EvtBT_EArray[99999]
Definition: ShowRec.h:52
Float_t shower_deltaxb[5000]
Definition: ShowRec.h:380
TProfile * NBTeMC_InBTE
Definition: ShowRec.h:98
Int_t GLOBAL_NBT
Definition: ShowRec.h:36
Bool_t AddBTToArrayWithCeck(EdbSegP *tryAttachedSegment, TObjArray *GLOBAL_ShowerSegArray)
Definition: ShowRec.cpp:5939
Double_t GetdeltaRWithPropagation(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.cpp:7211
ofstream STREAM_ShowRecEff
Definition: ShowRec.h:59
Int_t cmd_PASTART
Definition: ShowRec.h:12
Bool_t CalcConeOrTubeDistanceToInBT(EdbSegP *sa, EdbSegP *InBT, Double_t CylinderRadius, Double_t ConeAngle)
Definition: ShowRec.cpp:7144
TH3F * Hist3DimRecoEvent_gAli_Dummy
Definition: ShowRec.h:355
TH2F * Hist_purall_InBTE
Definition: ShowRec.h:103
void CalcTrackDensity(EdbPattern *pat_interim, Float_t pat_interim_halfsize, Int_t &npat_int, Int_t &npat_total, Int_t &npatN)
Definition: ShowRec.cpp:8749
TH1F * h_GSNN_var05
Definition: ShowRec.h:416
Int_t cmd_gEDBDEBUGLEVEL
Definition: ShowRec.h:32
TString STRING_ShowShowerName
Definition: ShowRec.h:67
Int_t shower_sizeb20
Definition: ShowRec.h:371
Int_t gEDBDEBUGLEVEL
Definition: ShowRec.h:4
Float_t shower_purb
Definition: ShowRec.h:394
Float_t shower_tyb[5000]
Definition: ShowRec.h:377
void SortShowerZ(TObjArray *showerarray)
Definition: ShowRec.cpp:8816
Int_t cmd_vtx
Definition: ShowRec.h:25
Int_t shower_numberofholes
Definition: ShowRec.h:405
Float_t shower_deltathetab[5000]
Definition: ShowRec.h:379
TString STREAM_ShowRecEffName
Definition: ShowRec.h:66
Float_t local_halfpatternsize
Definition: ShowRec.h:146
Int_t cmd_LT
Definition: ShowRec.h:19
void ReconstructShowers_AG()
Definition: ShowRec.cpp:5145
TH2F * Hist2DimOnlySimOneEventAllPlates
Definition: ShowRec.h:348
void TransferShowerObjectArrayIntoEntryOfTreebranchShowerTree(TTree *treebranchtree, TObjArray *segarray)
Definition: ShowRec.cpp:7940
TH1F * h_GSNN_var02
Definition: ShowRec.h:413
void ReconstructShowers_GS()
Definition: ShowRec.cpp:5371
Int_t cmd_CUTTP
Definition: ShowRec.h:14
Int_t cmd_FP
Definition: ShowRec.h:15
TH2F * Hist_NBTeMC_InBTE
Definition: ShowRec.h:99
void SetDefaultValues_CommandLine()
Definition: ShowRec.cpp:380
char * cmd_lnkdef_name
Definition: ShowRec.h:31
Int_t shower_numberofilms
Definition: ShowRec.h:393
Bool_t FindPrecedingBTs(EdbSegP *s1, EdbSegP *s2, EdbPVRec *gAli, TObjArray *showersegarray)
Definition: ShowRec.cpp:6764
Int_t shower_ntrace2simub[5000]
Definition: ShowRec.h:386
Float_t value_GSNN_var06
Definition: ShowRec.h:424
Double_t CalcIP(EdbSegP *s, EdbVertex *v)
Definition: ShowRec.cpp:8872
Float_t shower_energy_shot_particle
Definition: ShowRec.h:372
Int_t GLOBAL_EvtBT_MCArray[99999]
Definition: ShowRec.h:51
Int_t cmd_MCFL
Definition: ShowRec.h:21
TTree * TREE_ShowRecEff
Definition: ShowRec.h:62
Float_t GLOBAL_VtxArrayZ[99999]
Definition: ShowRec.h:57
Bool_t GetConeOrTubeDistanceToInBT(EdbSegP *sa, EdbSegP *s, Double_t ConeAngle, Double_t CylinderRadius)
Definition: ShowRec.cpp:6990
Float_t shower_trackdensb
Definition: ShowRec.h:395
TH1F * h_GSNN_var06
Definition: ShowRec.h:417
Int_t shower_idb[5000]
Definition: ShowRec.h:390
TProfile * purall_InBTE
Definition: ShowRec.h:102
Double_t GLOBAL_effall
Definition: ShowRec.h:38
TH2F * Hist_NBTeMC_pure
Definition: ShowRec.h:89
TProfile * NBTeMC_NBTMC
Definition: ShowRec.h:92
Int_t shower_number_eventb
Definition: ShowRec.h:370
TH2F * Hist2DimOnlySimOneEventOneGroupedPlate[50]
Definition: ShowRec.h:351
TString STRING_ShowTracksName
Definition: ShowRec.h:70
Double_t GetdeltaTheta(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.cpp:7239
void ReconstructShowers_CL()
Definition: ShowRec.cpp:1892
Double_t GLOBAL_effe
Definition: ShowRec.h:38
Int_t GLOBAL_InBT_Flag
Definition: ShowRec.h:43
Int_t GLOBAL_NBTeMC
Definition: ShowRec.h:36
Int_t Open_ParasetDefinitionFile()
Definition: ShowRec.cpp:619
Double_t GLOBAL_EvtBT_E
Definition: ShowRec.h:50
Int_t Reco_CL_AssignZValueToGroup(Double_t z, Double_t z0, Int_t NGroupedPLATES, Int_t PLATESPerGroup)
Definition: ShowRec.cpp:1860
TH2F * Hist_NBTeMC_NBT
Definition: ShowRec.h:95
Bool_t FindPrecedingBTsSingleThetaAngleTCDEBUG(EdbSegP *s1, EdbSegP *s2, EdbPVRec *gAli, TObjArray *showersegarray)
Definition: ShowRec.cpp:6903
void PrintShowerObjectArray(TObjArray *segarray)
Definition: ShowRec.cpp:6967
Float_t shower_axis_txb
Definition: ShowRec.h:399
EdbPVRec * TransformEdbPVRec_BackWard(EdbPVRec *gAli, EdbSegP *InitiatorBT)
Definition: ShowRec.cpp:6413
Bool_t FindFollowingBTs(EdbSegP *s1, EdbSegP *s2, EdbPVRec *gAli, TObjArray *showersegarray)
Definition: ShowRec.cpp:6598
TFile * FILE_ShowShower
Definition: ShowRec.h:69
Double_t GetSpatialDist(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.cpp:7276
Int_t shower_sizeb15
Definition: ShowRec.h:371
TH2F * Hist_NBTallMC_purall
Definition: ShowRec.h:91
Double_t GLOBAL_InBT_TanTheta
Definition: ShowRec.h:44
Double_t GetdR(EdbSegP *s1, EdbSegP *s2)
Definition: ShowRec.h:167
Int_t cmd_FILETP
Definition: ShowRec.h:27
void Read_ParasetDefinitionTree()
Definition: ShowRec.cpp:636
void ReconstructShowers_OI2()
Definition: ShowRec.cpp:3234
ofstream STREAM_ShowShower
Definition: ShowRec.h:60
Float_t value_GSNN_var03
Definition: ShowRec.h:421
void ReconstructShowers_RC()
Definition: ShowRec.cpp:4491
Int_t cmd_MCMIX
Definition: ShowRec.h:24
Float_t shower_deltasigmathetab[58]
Definition: ShowRec.h:392
Double_t GLOBAL_InBT_E
Definition: ShowRec.h:44
void ReconstructShowers_CA()
Definition: ShowRec.cpp:2649
Double_t CUT_PARAMETER[10]
Definition: ShowRec.h:78
Int_t GLOBAL_EvtBT_MC
Definition: ShowRec.h:49
void ReconstructShowers_BW()
Definition: ShowRec.cpp:4763
void ReconstructShowers_TC()
Definition: ShowRec.cpp:4034
EdbPVRec * TransformEdbPVRec(EdbPVRec *gAli, EdbSegP *InitiatorBT)
DEBUG OPENMP TEST!!!!!!!
Definition: ShowRec.cpp:6299
Int_t cmd_ALI
Definition: ShowRec.h:23
Float_t shower_tagprimary[5000]
Definition: ShowRec.h:389
Int_t cmd_MP
Definition: ShowRec.h:17
Int_t GLOBAL_InBTArrayEntries
Definition: ShowRec.h:75
Int_t cmd_NP
Definition: ShowRec.h:18
Int_t shower_isizeb
Definition: ShowRec.h:370
Float_t shower_deltayb[5000]
Definition: ShowRec.h:381
TProfile * NBTeMC_NBT
Definition: ShowRec.h:94
EdbPVRec * ReadEdbPVRecObjectFromCurrentDirectory()
Definition: ShowRec.cpp:539
Bool_t GetConeOrTubeDistanceToBTOfShowerArray(EdbSegP *sa, EdbSegP *InBT, TObjArray *showersegarray, Double_t CylinderRadius, Double_t ConeAngle)
Definition: ShowRec.cpp:7072
Int_t shower_sizeb30
Definition: ShowRec.h:371
Float_t value_GSNN_var00
Definition: ShowRec.h:418
TH1F * h_GSNN_var01
Definition: ShowRec.h:412
Int_t shower_ntrace4simub[5000]
Definition: ShowRec.h:388
TH1F * h_GSNN_var00
Definition: ShowRec.h:411
void ReconstructShowers(Int_t nr)
Definition: ShowRec.cpp:1693
void BuildParametrizationsMCInfo_PGun(TString MCInfoFilename)
Definition: ShowRec.cpp:8904
Float_t value_GSNN_var05
Definition: ShowRec.h:423
TProfile * NBTallMC_purall
Definition: ShowRec.h:90
TSpectrum2 * spectrum2dim
Definition: ShowRec.h:357
Int_t cmd_LP
Definition: ShowRec.h:16
TProfile * NBTeMC_pure
Definition: ShowRec.h:88
TTree * t_GSNN
Definition: ShowRec.h:426
TTree * TREE_ParaSetDefinitions
Definition: ShowRec.h:65
Int_t shower_sizeb
Definition: ShowRec.h:370
void Fill2GlobalInBTArray()
Definition: ShowRec.cpp:8986
Float_t shower_chi2btkb[5000]
Definition: ShowRec.h:384
void ReconstructShowers_OPENMP()
Definition: ShowRec.cpp:2398
Int_t GLOBAL_NBTallMC
Definition: ShowRec.h:36
Double_t GLOBAL_EvtBT_TanThetaArray[99999]
Definition: ShowRec.h:52
Float_t shower_zb[5000]
Definition: ShowRec.h:375
EdbSegP * BuildShowerAxis(TObjArray *ShowerSegArray)
Definition: ShowRec.cpp:8629
Bool_t GLOBAL_IsBrickTreePGunInfo
Definition: ShowRec.h:82
Double_t GLOBAL_EvtBT_TanTheta
Definition: ShowRec.h:50
Float_t value_GSNN_var04
Definition: ShowRec.h:422
void CalcEfficencyNumbers(EdbPattern *pat_interim, Int_t MCCheck, Int_t &NBT_Neff, Int_t &NBTMC_Neff, Int_t &NBTMCe_Neff)
Definition: ShowRec.cpp:8771
TH2F * Hist2DimBGAndSimOneEventOneGroupedPlate[50]
Definition: ShowRec.h:352
Int_t cmd_STOPLEVEL
Definition: ShowRec.h:34
Float_t shower_deltarb[5000]
Definition: ShowRec.h:378
void ReconstructShowers_CT()
Definition: ShowRec.cpp:2462
TTree * TREE_ShowShower
Definition: ShowRec.h:68
Float_t shower_xb[5000]
Definition: ShowRec.h:373
void RewriteSegmentPIDs_SGPID_To_BGPID(EdbPVRec *gAli)
Definition: ShowRec.cpp:6139
Int_t GLOBAL_EvtBT_Flag
Definition: ShowRec.h:49
Int_t cmd_EXTHETA
Definition: ShowRec.h:29
void RewriteSegmentPIDs_BGPID_To_SGPID(EdbPVRec *gAli)
Definition: ShowRec.cpp:6149
Double_t GLOBAL_pure
Definition: ShowRec.h:37
Float_t shower_txb[5000]
Definition: ShowRec.h:376
Float_t shower_axis_yb
Definition: ShowRec.h:397
Int_t cmd_MC
Definition: ShowRec.h:20
Int_t shower_plateb[5000]
Definition: ShowRec.h:391
Float_t shower_axis_xb
Definition: ShowRec.h:396
Int_t shower_ntrace1simub[5000]
Definition: ShowRec.h:385
void FillShowerAxis()
Definition: ShowRec.cpp:8794
Int_t cmd_GBMC
Definition: ShowRec.h:28
TObjArray * GLOBAL_InBTArray
Definition: ShowRec.h:74
void CreateOutPutStructures()
Definition: ShowRec.cpp:448
Definition: EdbPVRec.h:148
Definition: EdbPattern.h:273
Definition: EdbSegP.h:21
Definition: EdbVertex.h:69
Int_t cmd_ALN3DUMP
Definition: ShowRec.h:35
void Write_Alg_GS_Histograms()
Definition: ShowRec.cpp:7267
Double_t GetDistToAxis(EdbSegP *segAxis, EdbSegP *segTest)
Definition: ShowRecCalculatingFunctions.cpp:185
void PrintValues_CommandLine()
Definition: ShowRecHelper.cpp:21
Int_t cmd_HPLZ
Definition: ShowRec.h:26
void Finalize()
Definition: ShowRec.cpp:498
Int_t cmd_ALN3TRAIN
Definition: ShowRec.h:34
void SetPresetParameters(Int_t cmd_PRESET)
Definition: ShowRec.cpp:7337
void DoBGTargetCleaning()
Definition: ShowRec.cpp:7288
void PrintPresetList()
Definition: ShowRecHelper.cpp:11
Int_t cmd_HELP
Definition: ShowRec.h:8
void PrintHelp()
Definition: ShowRecHelper.cpp:3
void FillGlobalInBTArrayNEW()
Definition: ShowRec_InBTFilling.cpp:3
Int_t cmd_PRESET
Definition: ShowRec.h:10
void ReconstructShowers_N3()
DEBUG OPENMP TEST!!!!!!!// DEPRECATED !!!!
Definition: ShowRec_Alg_N3.cpp:2
void CheckInputParametersNEW()
Definition: ShowRecHelper.cpp:138
s
Definition: check_shower.C:55
EdbPVRec * gAli
Definition: check_vertex.C:14
EdbSegP * s1
Definition: tlg2couples.C:29
EdbSegP * s2
Definition: tlg2couples.C:30