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.4 by pellicci, Wed Jan 30 14:42:51 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.getByLabel("none",ltcdigis);
207  
208      for (std::vector<LTCDigi>::const_iterator ltc= ltcdigis->begin(); ltc!=
209           ltcdigis->end(); ++ltc) {
# Line 440 | Line 440 | void STAOfflineAnalyzer::analyzeSATrack(
440            nCh++;
441          }
442          int nLayPerCh=0, nSLPerCh=0;
443 <        for (int sl=1; sl<=3; ++sl) {
444 <          if (sl==2 && cc==4) continue;
445 <          DTSuperLayerId slid(chid, sl);
443 >        for (int i=1; i<=3; ++i) {
444 >          if (i==2 && cc==4) continue;
445 >          DTSuperLayerId slid(chid, i);
446            const DTSuperLayer* sl = dtGeom->superLayer(slid);
447            if (hitsPerSL[slid]==0) {
448              missingHit(dtGeom, segs2d, sl, innerTSOS);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines