ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1RpcTriggerAnalysis/plugins/L1RpcTreeAnalysis.cc
(Generate patch)

Comparing UserCode/L1RpcTriggerAnalysis/plugins/L1RpcTreeAnalysis.cc (file contents):
Revision 1.2 by konec, Tue Oct 2 13:21:26 2012 UTC vs.
Revision 1.4 by konec, Mon Oct 22 06:28:46 2012 UTC

# Line 36 | Line 36 | void L1RpcTreeAnalysis::beginJob()
36    theAnaEmu.init(theHistos);
37    theAnaSynch.init(theHistos);
38    theAnaClu.init(theHistos);
39 +  theAnaTimingL1.init(theHistos);
40  
41   }
42  
# Line 142 | Line 143 | void L1RpcTreeAnalysis::analyze(const ed
143     theAnaEmu.run ( event, muon, l1RpcCollEmu, l1RpcColl);
144     theAnaSynch.run( event, muon, ConverterRPCRawSynchroSynchroCountsObj::toRawSynchro( *counts));
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;
# Line 154 | Line 156 | void L1RpcTreeAnalysis::analyze(const ed
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  
# Line 164 | Line 167 | void L1RpcTreeAnalysis::endJob()
167    TFile f(histoFile.c_str(),"RECREATE");
168    theHistos.Write();
169    hGraph_DetEff->Write("hGraph_DetEff");
167  hGraph_RunEff->Write("hGraph_RunEff");
170    hGraph_RunClu->Write("hGraph_RunClu");
171    f.Close();
172    std::cout <<"END"<<std::endl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines