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

Comparing UserCode/L1RpcTriggerAnalysis/plugins/L1RpcTreeMaker.cc (file contents):
Revision 1.1 by konec, Mon Oct 1 19:21:03 2012 UTC vs.
Revision 1.3 by konec, Mon Oct 8 07:09:24 2012 UTC

# Line 56 | Line 56 | void L1RpcTreeMaker::beginJob()
56    theTree->Branch("detsHitsCompatibleWithMuon",&detsHitsCompatibleWithMuon);
57    theTree->Branch("detsSIMU",&detsSIMU);
58    theTree->Branch("nDigisCompDets",&nDigisCompDets);
59 +  theTree->Branch("clSizeCompDets",&clSizeCompDets);
60  
61    theTree->Branch("l1RpcColl","L1ObjColl",&l1RpcColl,32000,99);
62    theTree->Branch("l1RpcCollEmu","L1ObjColl",&l1RpcCollEmu,32000,99);
# Line 117 | Line 118 | void L1RpcTreeMaker::analyze(const edm::
118    detsHitsCompatibleWithMuon = std::vector<uint32_t>();
119    detsSIMU = std::vector<uint32_t>();
120    nDigisCompDets = std::vector<uint32_t>();
121 +  clSizeCompDets = std::vector<uint32_t>();
122    l1RpcColl = new L1ObjColl;
123    l1OtherColl = new L1ObjColl;
124    l1RpcCollEmu = new L1ObjColl;
# Line 145 | Line 147 | void L1RpcTreeMaker::analyze(const edm::
147      detsCrossedByMuonDeepInside = theDetHitCollector.compatibleDets( theMuon, ev, es, true);
148      if (theConfig.getParameter<bool>("checkDestSIMU")) detsSIMU = theDetHitCollector.compatibleSIMU( theMuon, ev, es);
149      nDigisCompDets = theDetHitCollector.nDigisCompDets(detsHitsCompatibleWithMuon, ev, es);
150 +    clSizeCompDets = theDetHitCollector.clSizeCompDets(detsHitsCompatibleWithMuon, ev, es);
151 +
152 +    for (uint32_t i=0; i< nDigisCompDets.size(); i++) {
153 +      if (clSizeCompDets[i] > nDigisCompDets[i]) std::cout <<" PROBLEM, event: "<<theCounter<<" cl:"<<clSizeCompDets[i]<<" nDigis:"<<nDigisCompDets[i]<<std::endl;
154 +    }
155    }
156  
157    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines