ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/src/STAOfflineAnalyzer.cc
(Generate patch)

Comparing UserCode/DTDPGAnalysis/src/STAOfflineAnalyzer.cc (file contents):
Revision 1.3 by battilan, Wed Dec 15 11:52:26 2010 UTC vs.
Revision 1.5 by marycruz, Thu Jul 4 17:17:08 2013 UTC

# Line 203 | Line 203 | void STAOfflineAnalyzer::analyze(const E
203  
204    if (!mc) {
205      Handle<LTCDigiCollection> ltcdigis;
206 <    event.getByType(ltcdigis);
206 >    //event.getByType(ltcdigis);  // Doesn't work after 62X
207 >    event.getByLabel("none",ltcdigis);
208  
209      for (std::vector<LTCDigi>::const_iterator ltc= ltcdigis->begin(); ltc!=
210           ltcdigis->end(); ++ltc) {
# Line 440 | Line 441 | void STAOfflineAnalyzer::analyzeSATrack(
441            nCh++;
442          }
443          int nLayPerCh=0, nSLPerCh=0;
444 <        for (int sl=1; sl<=3; ++sl) {
445 <          if (sl==2 && cc==4) continue;
446 <          DTSuperLayerId slid(chid, sl);
444 >        for (int isl=1; isl<=3; ++isl) {
445 >          if (isl==2 && cc==4) continue;
446 >          DTSuperLayerId slid(chid, isl);
447            const DTSuperLayer* sl = dtGeom->superLayer(slid);
448            if (hitsPerSL[slid]==0) {
449              missingHit(dtGeom, segs2d, sl, innerTSOS);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines