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.1 by konec, Mon Oct 1 19:21:02 2012 UTC vs.
Revision 1.2 by konec, Tue Oct 2 13:21:26 2012 UTC

# Line 73 | Line 73 | void L1RpcTreeAnalysis::analyze(const ed
73    std::vector<uint32_t> *detsHitsCompatibleWithMuon = 0;
74    std::vector<uint32_t> *detsSIMU = 0;
75    std::vector<uint32_t> *nDigisCompDets = 0;
76 +  std::vector<uint32_t> *clSizeCompDets = 0;
77  
78    EventObj * event = 0;
79    MuonObj * muon = 0;
# Line 83 | Line 84 | void L1RpcTreeAnalysis::analyze(const ed
84    TBranch *bdetsHitsCompatibleWithMuon = 0;
85    TBranch *bdetsSIMU =0;
86    TBranch *bnDigisCompDets =0;
87 +  TBranch *bclSizeCompDets =0;
88  
89    L1ObjColl* l1RpcColl = 0;
90    L1ObjColl* l1OtherColl = 0;
# Line 97 | Line 99 | void L1RpcTreeAnalysis::analyze(const ed
99    chain.SetBranchAddress("detsHitsCompatibleWithMuon",&detsHitsCompatibleWithMuon,&bdetsHitsCompatibleWithMuon);
100    chain.SetBranchAddress("detsSIMU",&detsSIMU,&bdetsSIMU);
101    chain.SetBranchAddress("nDigisCompDets",&nDigisCompDets, &bnDigisCompDets);
102 +  chain.SetBranchAddress("clSizeCompDets",&clSizeCompDets, &bclSizeCompDets);
103  
104    chain.SetBranchAddress("l1RpcColl",&l1RpcColl);
105    chain.SetBranchAddress("l1OtherColl",&l1OtherColl);
# Line 138 | Line 141 | void L1RpcTreeAnalysis::analyze(const ed
141     theAnaDet.run( muon, *detsHitsCompatibleWithMuon,  *detsCrossedByMuon, *detsCrossedByMuonDeepInside);
142     theAnaEmu.run ( event, muon, l1RpcCollEmu, l1RpcColl);
143     theAnaSynch.run( event, muon, ConverterRPCRawSynchroSynchroCountsObj::toRawSynchro( *counts));
144 <   theAnaClu.run( muon, l1RpcColl, *detsHitsCompatibleWithMuon, *nDigisCompDets);
144 >   theAnaClu.run( event, muon, l1RpcColl, *detsHitsCompatibleWithMuon, *nDigisCompDets, *clSizeCompDets);
145  
146   //   theAnaEmu.debug =theAnaDet.debug;
147   //    std::cout <<"----------"<<std::endl;
# Line 153 | Line 156 | void L1RpcTreeAnalysis::endJob()
156    std::cout <<"ENDJOB, summaries:"<<std::endl;
157    TGraph* hGraph_DetEff =theAnaDet.resume();
158    TGraph* hGraph_RunEff =theAnaRpcMisc.resume();
159 +  TGraph* hGraph_RunClu = theAnaClu.resume();
160  
161    theAnaSynch.endJob();
162  
# Line 161 | Line 165 | void L1RpcTreeAnalysis::endJob()
165    theHistos.Write();
166    hGraph_DetEff->Write("hGraph_DetEff");
167    hGraph_RunEff->Write("hGraph_RunEff");
168 +  hGraph_RunClu->Write("hGraph_RunClu");
169    f.Close();
170    std::cout <<"END"<<std::endl;
171   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines