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.26 by akalinow, Fri Jun 28 08:31:12 2013 UTC vs.
Revision 1.27 by akalinow, Thu Jul 11 11:25:22 2013 UTC

# Line 162 | Line 162 | void L1RpcTreeAnalysis::analyze(const ed
162    //
163    Int_t nentries = (Int_t) chain.GetEntries();
164    std::cout <<" ENTRIES: " << nentries << std::endl;
165 +  //nentries = 10938;
166    //
167    // main loop
168    //
169    unsigned int lastRun = 0;
170 <  for (int ev=0; ev<nentries; ev++) {
170 >  for (int ev=0; ev<nentries; ev+=10) {
171      chain.GetEntry(ev);
172      if (theAnaMenu) theAnaMenu->updateMenu(bitsL1->names, bitsHLT->names);
173  
174 < //    if (ev < 44055) continue;
174 <    if ( (lastRun != (*event).run) || (ev%10000==0) ) {
175 < //    if (true) {
176 < //    if (! ((*event).run==204601 && (*event).id ==109463402)) { continue;
174 >    if ( (lastRun != (*event).run) || (ev%1000000==0) ) {
175        lastRun = (*event).run;
176        std::cout <<"RUN:"    << std::setw(7) << (*event).run
177                  <<" event:" << std::setw(8) << ev
# Line 181 | Line 179 | void L1RpcTreeAnalysis::analyze(const ed
179        std::cout<<std::endl;
180      }
181  
184 /*  
185   if (     event->id == 597978012
186        ||  event->id == 14791798  
187        ||  event->id == 436261807
188        ||  event->id == 873776280  
189        ||  event->id == 960307389
190        ||  event->id == 150097556
191        ||  event->id == 42062946
192        ||  event->id == 1064121551
193        ||  event->id == 1499489591
194        ||  event->id == 60161631
195        ||  event->id == 624624695
196        ||  event->id == 727298833
197        ||  event->id == 835600542
198        ||  event->id == 216373776
199        ||  event->id == 1107585611
200        ||  event->id == 197907027
201      ) theAnaMenu.debug = true; else theAnaMenu.debug = false;
202 */
203
182     // EVENT NUMBER, BX structure etc.
183     EventObjBXExtra eventBx(*event);
184     if ( theAnaEvent && !theAnaEvent->filter(&eventBx) && theConfig.getParameter<bool>("filterByAnaEvent") ) continue;
# Line 235 | Line 213 | void L1RpcTreeAnalysis::analyze(const ed
213     if (theAnaOtfEff) theAnaOtfEff->run(event,simu,l1otf);  
214     L1ObjColl myL1ObjColl = *l1ObjColl;
215     myL1ObjColl.push_back(l1otf, false, 0.);
216 <   if (theAnaEff)      theAnaEff->run(refTrack, &myL1ObjColl);
216 >   if (theAnaEff)      theAnaEff->run(refTrack, &myL1ObjColl, hitSpec);
217    }
218   }
219  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines