36 |
|
theAnaEmu.init(theHistos); |
37 |
|
theAnaSynch.init(theHistos); |
38 |
|
theAnaClu.init(theHistos); |
39 |
+ |
theAnaTimingL1.init(theHistos); |
40 |
|
|
41 |
|
} |
42 |
|
|
74 |
|
std::vector<uint32_t> *detsHitsCompatibleWithMuon = 0; |
75 |
|
std::vector<uint32_t> *detsSIMU = 0; |
76 |
|
std::vector<uint32_t> *nDigisCompDets = 0; |
77 |
+ |
std::vector<uint32_t> *clSizeCompDets = 0; |
78 |
|
|
79 |
|
EventObj * event = 0; |
80 |
|
MuonObj * muon = 0; |
85 |
|
TBranch *bdetsHitsCompatibleWithMuon = 0; |
86 |
|
TBranch *bdetsSIMU =0; |
87 |
|
TBranch *bnDigisCompDets =0; |
88 |
+ |
TBranch *bclSizeCompDets =0; |
89 |
|
|
90 |
|
L1ObjColl* l1RpcColl = 0; |
91 |
|
L1ObjColl* l1OtherColl = 0; |
100 |
|
chain.SetBranchAddress("detsHitsCompatibleWithMuon",&detsHitsCompatibleWithMuon,&bdetsHitsCompatibleWithMuon); |
101 |
|
chain.SetBranchAddress("detsSIMU",&detsSIMU,&bdetsSIMU); |
102 |
|
chain.SetBranchAddress("nDigisCompDets",&nDigisCompDets, &bnDigisCompDets); |
103 |
+ |
chain.SetBranchAddress("clSizeCompDets",&clSizeCompDets, &bclSizeCompDets); |
104 |
|
|
105 |
|
chain.SetBranchAddress("l1RpcColl",&l1RpcColl); |
106 |
|
chain.SetBranchAddress("l1OtherColl",&l1OtherColl); |
142 |
|
theAnaDet.run( muon, *detsHitsCompatibleWithMuon, *detsCrossedByMuon, *detsCrossedByMuonDeepInside); |
143 |
|
theAnaEmu.run ( event, muon, l1RpcCollEmu, l1RpcColl); |
144 |
|
theAnaSynch.run( event, muon, ConverterRPCRawSynchroSynchroCountsObj::toRawSynchro( *counts)); |
145 |
< |
theAnaClu.run( muon, l1RpcColl, *detsHitsCompatibleWithMuon, *nDigisCompDets); |
145 |
> |
theAnaClu.run( event, muon, l1RpcColl, *detsHitsCompatibleWithMuon, *nDigisCompDets, *clSizeCompDets); |
146 |
> |
theAnaTimingL1.run(event,muon,l1RpcColl,l1OtherColl); |
147 |
|
|
148 |
|
// theAnaEmu.debug =theAnaDet.debug; |
149 |
|
// std::cout <<"----------"<<std::endl; |
156 |
|
void L1RpcTreeAnalysis::endJob() |
157 |
|
{ |
158 |
|
std::cout <<"ENDJOB, summaries:"<<std::endl; |
159 |
< |
TGraph* hGraph_DetEff =theAnaDet.resume(); |
160 |
< |
TGraph* hGraph_RunEff =theAnaRpcMisc.resume(); |
159 |
> |
TGraph* hGraph_DetEff = theAnaDet.resume(); |
160 |
> |
theAnaRpcMisc.resume(theHistos); |
161 |
> |
TGraph* hGraph_RunClu = theAnaClu.resume(); |
162 |
> |
theAnaTimingL1.resume(theHistos); |
163 |
|
|
164 |
|
theAnaSynch.endJob(); |
165 |
|
|
167 |
|
TFile f(histoFile.c_str(),"RECREATE"); |
168 |
|
theHistos.Write(); |
169 |
|
hGraph_DetEff->Write("hGraph_DetEff"); |
170 |
< |
hGraph_RunEff->Write("hGraph_RunEff"); |
170 |
> |
hGraph_RunClu->Write("hGraph_RunClu"); |
171 |
|
f.Close(); |
172 |
|
std::cout <<"END"<<std::endl; |
173 |
|
} |