1 |
#ifndef triggerStudy_cxx
|
2 |
#define triggerStudy_cxx
|
3 |
#include "triggerStudy.h"
|
4 |
#include "triggerStudy.cfg"
|
5 |
#include "histo.h"
|
6 |
|
7 |
//using namespace tools;
|
8 |
|
9 |
|
10 |
//================================================================================= mainProgram
|
11 |
void triggerStudy::mainProgram(){
|
12 |
tools::enterFcn("mainProgram",1);
|
13 |
Loop();
|
14 |
tools::exitFcn("mainProgram",1);
|
15 |
}
|
16 |
|
17 |
|
18 |
//================================================================================= Loop
|
19 |
void triggerStudy::Loop(){
|
20 |
tools::enterFcn("Loop",1,1);
|
21 |
timer.Start("Loop");
|
22 |
vector<UInt_t> loopEvents;
|
23 |
|
24 |
for(Long64_t jentry=startEvent; jentry<nentries + startEvent; ++jentry){
|
25 |
tools::progress(jentry);
|
26 |
inputTree->GetEntry(jentry);
|
27 |
//initVariables(jentry);
|
28 |
|
29 |
//makeHistograms("_before");
|
30 |
//makeHistograms("_after");
|
31 |
}
|
32 |
timer.Stop("Loop");
|
33 |
tools::exitFcn("Loop",1,1);
|
34 |
}
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
//================================================================================= initVariables
|
41 |
void triggerStudy::initVariables(){
|
42 |
tools::enterFcn("initVariables",2);
|
43 |
|
44 |
//cout<<"dataset = " << dataset << endl;
|
45 |
// Candidates .clear();
|
46 |
|
47 |
tools::exitFcn("initVariables",2);
|
48 |
}
|
49 |
|
50 |
|
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|
56 |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 |
#endif
|
62 |
|
63 |
|
64 |
|
65 |
|
66 |
|
67 |
|
68 |
|
69 |
|
70 |
|
71 |
|
72 |
|
73 |
|
74 |
|
75 |
|
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 |
|
83 |
|
84 |
|
85 |
|
86 |
|
87 |
|
88 |
|
89 |
|
90 |
|
91 |
|
92 |
|
93 |
|