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); |
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; |
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 |
|
|