15 printProvenanceInfo(
false), hitsProducer(
""), theCSCStripPedestalSum(0),
16 theCSCStripPedestalCount(0),
count(0)
18 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_GlobalDigisAnalyzer";
27 m_Prov.getUntrackedParameter<
bool>(
"GetAllProvenances");
29 m_Prov.getUntrackedParameter<
bool>(
"PrintProvenanceInfo");
59 const std::string barrelHitsName(hitsProducer+
"EcalHitsEB");
60 const std::string endcapHitsName(hitsProducer+
"EcalHitsEE");
61 const std::string preshowerHitsName(hitsProducer+
"EcalHitsES");
74 <<
"\n===============================\n"
75 <<
"Initialized as EDAnalyzer with parameter values:\n"
76 <<
" Name = " <<
fName <<
"\n"
77 <<
" Verbosity = " << verbosity <<
"\n"
78 <<
" Frequency = " << frequency <<
"\n"
79 <<
" GetProv = " << getAllProvenances <<
"\n"
80 <<
" PrintProv = " << printProvenanceInfo <<
"\n"
81 <<
" ECalEBSrc = " << ECalEBSrc_.label()
82 <<
":" << ECalEBSrc_.instance() <<
"\n"
83 <<
" ECalEESrc = " << ECalEESrc_.
label()
84 <<
":" << ECalEESrc_.
instance() <<
"\n"
85 <<
" ECalESSrc = " << ECalESSrc_.
label()
86 <<
":" << ECalESSrc_.
instance() <<
"\n"
87 <<
" HCalSrc = " << HCalSrc_.
label()
88 <<
":" << HCalSrc_.
instance() <<
"\n"
89 <<
" HCalDigi = " << HCalDigi_.
label()
90 <<
":" << HCalDigi_.
instance() <<
"\n"
91 <<
" SiStripSrc = " << SiStripSrc_.
label()
92 <<
":" << SiStripSrc_.
instance() <<
"\n"
93 <<
" SiPixelSrc = " << SiPxlSrc_.
label()
94 <<
":" << SiPxlSrc_.
instance() <<
"\n"
95 <<
" MuDTSrc = " << MuDTSrc_.
label()
96 <<
":" << MuDTSrc_.
instance() <<
"\n"
97 <<
" MuCSCStripSrc = " << MuCSCStripSrc_.
label()
98 <<
":" << MuCSCStripSrc_.
instance() <<
"\n"
99 <<
" MuCSCWireSrc = " << MuCSCWireSrc_.
label()
100 <<
":" << MuCSCWireSrc_.
instance() <<
"\n"
101 <<
" MuRPCSrc = " << MuRPCSrc_.
label()
102 <<
":" << MuRPCSrc_.
instance() <<
"\n"
103 <<
"===============================\n";
118 if (verbosity >= 0) {
120 <<
"Modified Calorimeter gain constants: g0 = " <<
ECalgainConv_[0]
130 std::string SiStripString[19] = {
"TECW1",
"TECW2",
"TECW3",
"TECW4",
131 "TECW5",
"TECW6",
"TECW7",
"TECW8",
132 "TIBL1",
"TIBL2",
"TIBL3",
"TIBL4",
133 "TIDW1",
"TIDW2",
"TIDW3",
"TOBL1",
134 "TOBL2",
"TOBL3",
"TOBL4"};
135 for(
int i = 0;
i<19; ++
i) {
142 for(
int amend = 0; amend < 19; ++amend) {
143 hcharname =
"hSiStripn_"+SiStripString[amend];
144 hchartitle= SiStripString[amend]+
" Digis";
149 hcharname =
"hSiStripADC_"+SiStripString[amend];
150 hchartitle= SiStripString[amend]+
" ADC";
155 hcharname =
"hSiStripStripADC_"+SiStripString[amend];
156 hchartitle= SiStripString[amend]+
" Strip";
163 std::string HCalString[4] = {
"HB",
"HE",
"HO",
"HF"};
164 float calnUpper[4] = {30000.,30000.,30000.,20000.};
165 float calnLower[4]={0.,0.,0.,0.};
166 float SHEUpper[4]={1.,1.,1.,1.};
167 float SHEvAEEUpper[4] = {5000, 5000, 5000, 5000};
168 float SHEvAEELower[4] = {-5000, -5000, -5000, -5000};
169 int SHEvAEEnBins[4] = {200,200,200,200};
170 double ProfileUpper[4] = {1.,1.,1.,1.};
172 for(
int i =0;
i<4; ++
i) {
181 for(
int amend = 0; amend < 4; ++amend) {
182 hcharname =
"hHcaln_"+HCalString[amend];
183 hchartitle= HCalString[amend]+
" digis";
184 mehHcaln[amend] = iBooker.
book1D(hcharname,hchartitle, 10000, calnLower[amend],
189 hcharname =
"hHcalAEE_"+HCalString[amend];
190 hchartitle= HCalString[amend]+
"Cal AEE";
195 hcharname =
"hHcalSHE_"+HCalString[amend];
196 hchartitle= HCalString[amend]+
"Cal SHE";
202 hcharname =
"hHcalAEESHE_"+HCalString[amend];
203 hchartitle= HCalString[amend]+
"Cal AEE/SHE";
206 SHEvAEEUpper[amend]);
210 hcharname =
"hHcalSHEvAEE_"+HCalString[amend];
211 hchartitle= HCalString[amend]+
"Cal SHE vs. AEE";
214 (
float)ProfileUpper[amend],
"");
223 for(
int i =0;
i<2; ++
i) {
233 for(
int amend = 0; amend < 2; ++amend) {
234 hcharname =
"hEcaln_"+ECalString[amend];
235 hchartitle= ECalString[amend]+
" digis";
236 mehEcaln[amend] = iBooker.
book1D(hcharname,hchartitle, 3000, 0., 40000.);
240 hcharname =
"hEcalAEE_"+ECalString[amend];
241 hchartitle= ECalString[amend]+
"Cal AEE";
246 hcharname =
"hEcalSHE_"+ECalString[amend];
247 hchartitle= ECalString[amend]+
"Cal SHE";
252 hcharname =
"hEcalMaxPos_"+ECalString[amend];
253 hchartitle= ECalString[amend]+
"Cal MaxPos";
258 hcharname =
"hEcalSHEvAEESHE_"+ECalString[amend];
259 hchartitle= ECalString[amend]+
"Cal SHE vs. AEE/SHE";
265 hcharname =
"hEcalMultvAEE_"+ECalString[amend];
266 hchartitle= ECalString[amend]+
"Cal Multi vs. AEE";
268 4000, 0., 40000.,
"");
274 hcharname =
"hEcaln_ES";
275 hchartitle=
"ESCAL digis";
281 for(
int i =0;
i<3; ++
i) {
283 hcharname =
"hEcalADC"+ADCNumber[
i]+
"_ES";
284 hchartitle=
"ESCAL ADC"+ADCNumber[
i];
291 std::string SiPixelString[7] = {
"BRL1",
"BRL2",
"BRL3",
"FWD1n",
"FWD1p",
293 for(
int j =0;
j<7; ++
j) {
301 for(
int amend = 0; amend < 7; ++amend) {
302 hcharname =
"hSiPixeln_"+SiPixelString[amend];
303 hchartitle= SiPixelString[amend]+
" Digis";
304 if(amend<3)
mehSiPixeln[amend] = iBooker.
book1D(hcharname,hchartitle,500,0.,1000.);
309 hcharname =
"hSiPixelADC_"+SiPixelString[amend];
310 hchartitle= SiPixelString[amend]+
" ADC";
315 hcharname =
"hSiPixelRow_"+SiPixelString[amend];
316 hchartitle= SiPixelString[amend]+
" Row";
321 hcharname =
"hSiPixelColumn_"+SiPixelString[amend];
322 hchartitle= SiPixelString[amend]+
" Column";
332 std::string MuonString[4] = {
"MB1",
"MB2",
"MB3",
"MB4"};
334 for(
int i =0;
i < 4; ++
i) {
341 for(
int j = 0;
j < 4; ++
j) {
342 hcharname =
"hDtMuonn_"+MuonString[
j];
343 hchartitle= MuonString[
j]+
" digis";
348 hcharname =
"hDtLayer_"+MuonString[
j];
349 hchartitle= MuonString[
j]+
" Layer";
354 hcharname =
"hDtMuonTime_"+MuonString[
j];
355 hchartitle= MuonString[
j]+
" Time";
360 hcharname =
"hDtMuonTimevLayer_"+MuonString[
j];
361 hchartitle= MuonString[
j]+
" Time vs. Layer";
370 hcharname =
"hCSCStripn";
371 hchartitle =
"CSC Strip digis";
377 hcharname =
"hCSCStripADC";
378 hchartitle =
"CSC Strip ADC";
384 hcharname =
"hCSCWiren";
385 hchartitle =
"CSC Wire digis";
391 hcharname =
"hCSCWireTime";
392 hchartitle =
"CSC Wire Time";
399 hcharname =
"hRPCMuonn";
400 hchartitle =
"RPC digis";
405 std::string MuonRPCString[5] = {
"Wmin2",
"Wmin1",
"W0",
"Wpu1",
"Wpu2"};
406 for(
int i =0;
i < 5; ++
i) {
410 for(
int j = 0;
j < 5; ++
j) {
411 hcharname =
"hRPCRes_"+MuonRPCString[
j];
412 hchartitle= MuonRPCString[
j]+
" Digi - Sim";
422 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_analyze";
438 <<
"Modified Calorimeter ADCtoGeV constants: barrel = "
450 <<
"Processing run " << nrun <<
", event " << nevt
451 <<
" (" <<
count <<
" events total)";
455 <<
"Processing run " << nrun <<
", event " << nevt
456 <<
" (" <<
count <<
" events total)";
463 std::vector<const edm::Provenance*> AllProv;
468 <<
"Number of Provenances = " << AllProv.size();
471 TString eventout(
"\nProvenance info:\n");
473 for (
unsigned int i = 0;
i < AllProv.size(); ++
i) {
474 eventout +=
"\n ******************************";
475 eventout +=
"\n Module : ";
476 eventout += AllProv[
i]->moduleLabel();
477 eventout +=
"\n ProductID : ";
478 eventout += AllProv[
i]->productID().id();
479 eventout +=
"\n ClassName : ";
480 eventout += AllProv[
i]->className();
481 eventout +=
"\n InstanceName : ";
482 eventout += AllProv[
i]->productInstanceName();
483 eventout +=
"\n BranchName : ";
484 eventout += AllProv[
i]->branchName();
486 eventout +=
"\n ******************************\n";
505 <<
"Done gathering data from event.";
509 <<
"Saving event contents:";
517 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillECal";
521 eventout =
"\nGathering info:";
529 bool isBarrel =
true;
532 bool validDigiEB =
true;
535 <<
"Unable to find EcalDigiEB in event!";
539 if ( EcalDigiEB->size() == 0) isBarrel =
false;
546 bool validXFrame =
true;
547 if (!crossingFrame.
isValid()) {
549 <<
"Unable to find cal barrel crossingFrame in event!";
553 std::auto_ptr<MixCollection<PCaloHit> >
558 = barrelHits->begin();
559 hitItr != barrelHits->end();
564 uint32_t crystid = ebid.
rawId();
565 ebSimMap[crystid] += hitItr->energy();
572 std::vector<double> ebAnalogSignal;
573 std::vector<double> ebADCCounts;
574 std::vector<double> ebADCGains;
580 for (
unsigned int digis=0; digis<EcalDigiEB->size(); ++digis) {
585 int nrSamples = ebdf.
size();
591 double pedestalPreSample = 0.;
592 double pedestalPreSampleAnalog = 0.;
595 ebAnalogSignal[
sample] = 0.;
604 ebADCCounts[
sample] = (thisSample.
adc());
609 if (Emax < ebAnalogSignal[
sample]) {
610 Emax = ebAnalogSignal[
sample];
614 pedestalPreSample += ebADCCounts[
sample] ;
615 pedestalPreSampleAnalog +=
617 * ECalbarrelADCtoGeV_ ;
621 pedestalPreSample /= 3. ;
622 pedestalPreSampleAnalog /= 3. ;
625 double Erec = Emax - pedestalPreSampleAnalog
633 if (ebSimMap[ebid.
rawId()]!=0) {
635 ebSimMap[ebid.
rawId()]);
645 eventout +=
"\n Number of EBDigis collected:.............. ";
655 bool isEndCap =
true;
658 bool validDigiEE =
true;
661 <<
"Unable to find EcalDigiEE in event!";
665 if (EcalDigiEE->size() == 0) isEndCap =
false;
672 bool validXFrame =
true;
673 if (!crossingFrame.
isValid()) {
675 <<
"Unable to find cal endcap crossingFrame in event!";
679 std::auto_ptr<MixCollection<PCaloHit> >
684 = endcapHits->begin();
685 hitItr != endcapHits->end();
690 uint32_t crystid = eeid.
rawId();
691 eeSimMap[crystid] += hitItr->energy();
698 std::vector<double> eeAnalogSignal;
699 std::vector<double> eeADCCounts;
700 std::vector<double> eeADCGains;
706 for (
unsigned int digis=0; digis<EcalDigiEE->size(); ++digis){
711 int nrSamples = eedf.
size();
717 double pedestalPreSample = 0.;
718 double pedestalPreSampleAnalog = 0.;
721 eeAnalogSignal[
sample] = 0.;
731 eeADCCounts[
sample] = (thisSample.
adc());
736 if (Emax < eeAnalogSignal[
sample]) {
737 Emax = eeAnalogSignal[
sample];
741 pedestalPreSample += eeADCCounts[
sample] ;
742 pedestalPreSampleAnalog +=
744 * ECalbarrelADCtoGeV_ ;
748 pedestalPreSample /= 3. ;
749 pedestalPreSampleAnalog /= 3. ;
752 double Erec = Emax - pedestalPreSampleAnalog
760 if (eeSimMap[eeid.
rawId()]!=0){
762 eeSimMap[eeid.
rawId()]);
772 eventout +=
"\n Number of EEDigis collected:.............. ";
783 bool isPreshower =
true;
786 bool validDigiES =
true;
789 <<
"Unable to find EcalDigiES in event!";
797 if (EcalDigiES->size() == 0) isPreshower =
false;
803 bool validXFrame =
true;
804 if (!crossingFrame.
isValid()) {
806 <<
"Unable to find cal preshower crossingFrame in event!";
810 std::auto_ptr<MixCollection<PCaloHit> >
816 = preshowerHits->begin();
817 hitItr != preshowerHits->end();
822 uint32_t crystid = esid.
rawId();
823 esSimMap[crystid] += hitItr->energy();
830 std::vector<double> esADCCounts;
834 for (
unsigned int digis=0; digis<EcalDigiES->size(); ++digis) {
840 int nrSamples = esdf.
size();
850 esADCCounts[
sample] = (thisSample.
adc());
860 eventout +=
"\n Number of ESDigis collected:.............. ";
877 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillHCal";
881 eventout =
"\nGathering info:";
886 if (!HCalconditions.
isValid()) {
888 <<
"Unable to find HCalconditions in event!";
899 bool validhcalHits =
true;
902 <<
"Unable to find hcalHits in event!";
903 validhcalHits =
false;
912 for (std::vector<PCaloHit>::const_iterator simhits = simhitResult->begin();
913 simhits != simhitResult->end();
917 uint32_t cellid = detId.
rawId();
920 fHBEnergySimHits[cellid] += simhits->energy();
923 fHEEnergySimHits[cellid] += simhits->energy();
926 fHOEnergySimHits[cellid] += simhits->energy();
929 fHFEnergySimHits[cellid] += simhits->energy();
939 bool validHBHE =
true;
942 <<
"Unable to find HBHEDataFrame in event!";
951 for (ihbhe = hbhe->begin(); ihbhe != hbhe->end(); ++ihbhe) {
958 HCalconditions->getHcalCalibrations(cell);
959 const HcalQIECoder *channelCoder = HCalconditions->getHcalCoder(cell);
960 const HcalQIEShape *shape = HCalconditions->getHcalShape(channelCoder);
962 coder.
adc2fC(*ihbhe, tool);
968 float fDigiSum = 0.0;
971 int capid = (*ihbhe)[
ii].capid();
972 fDigiSum += (tool[
ii] - calibrations.
pedestal(capid));
978 if (fHFEnergySimHits[cell.rawId()]!=0){
991 float fDigiSum = 0.0;
993 int capid = (*ihbhe)[
ii].capid();
994 fDigiSum += (tool[
ii]-calibrations.
pedestal(capid));
1000 if (fHFEnergySimHits[cell.rawId()]!=0){
1012 eventout +=
"\n Number of HBDigis collected:.............. ";
1018 eventout +=
"\n Number of HEDigis collected:.............. ";
1029 bool validHO =
true;
1032 <<
"Unable to find HODataFrame in event!";
1039 for (iho = ho->begin(); iho != ho->end(); ++iho) {
1046 HCalconditions->getHcalCalibrations(cell);
1047 const HcalQIECoder *channelCoder = HCalconditions->getHcalCoder(cell);
1048 const HcalQIEShape *shape = HCalconditions->getHcalShape(channelCoder);
1050 coder.
adc2fC(*iho, tool);
1053 float fDigiSum = 0.0;
1056 int capid = (*iho)[
ii].capid();
1057 fDigiSum += (tool[
ii] - calibrations.
pedestal(capid));
1063 if (fHFEnergySimHits[cell.rawId()]!=0){
1074 eventout +=
"\n Number of HODigis collected:.............. ";
1085 bool validHF =
true;
1088 <<
"Unable to find HFDataFrame in event!";
1095 for (ihf = hf->begin(); ihf != hf->end(); ++
ihf) {
1102 HCalconditions->getHcalCalibrations(cell);
1103 const HcalQIECoder *channelCoder = HCalconditions->getHcalCoder(cell);
1104 const HcalQIEShape *shape = HCalconditions->getHcalShape(channelCoder);
1106 coder.
adc2fC(*ihf, tool);
1109 float fDigiSum = 0.0;
1112 int capid = (*ihf)[
ii].capid();
1113 fDigiSum += (tool[
ii] - calibrations.
pedestal(capid));
1119 if (fHFEnergySimHits[cell.rawId()]!=0){
1130 eventout +=
"\n Number of HFDigis collected:.............. ";
1151 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillTrk";
1155 eventout =
"\nGathering info:";
1160 bool validstripDigis =
true;
1163 <<
"Unable to find stripDigis in event!";
1164 validstripDigis =
false;
1167 if (validstripDigis) {
1168 int nStripBrl = 0, nStripFwd = 0;
1170 for (DSViter = stripDigis->begin(); DSViter != stripDigis->end();
1172 unsigned int id = DSViter->id;
1181 for (iter = begin; iter !=
end; ++
iter) {
1205 for (iter = begin; iter !=
end; ++
iter) {
1229 for (iter = begin; iter !=
end; ++
iter) {
1249 for (iter = begin; iter !=
end; ++
iter) {
1288 eventout +=
"\n Number of BrlStripDigis collected:........ ";
1289 eventout += nStripBrl;
1291 for(
int i = 0;
i < 8; ++
i) {
1296 eventout +=
"\n Number of FrwdStripDigis collected:....... ";
1297 eventout += nStripFwd;
1299 for(
int i = 8;
i < 19; ++
i) {
1307 bool validpixelDigis =
true;
1310 <<
"Unable to find pixelDigis in event!";
1311 validpixelDigis =
false;
1313 if (validpixelDigis) {
1314 int nPxlBrl = 0, nPxlFwd = 0;
1316 for (DPViter = pixelDigis->begin(); DPViter != pixelDigis->end();
1318 unsigned int id = DPViter->id;
1327 for (iter = begin; iter !=
end; ++
iter) {
1350 for (iter = begin; iter !=
end; ++
iter) {
1352 if (tTopo->
pxfDisk(
id) == 1) {
1353 if (tTopo->
pxfSide(
id) == 1) {
1358 if (tTopo->
pxfSide(
id) == 2) {
1364 if (tTopo->
pxfDisk(
id) == 2) {
1365 if (tTopo->
pxfSide(
id) == 1) {
1371 if (tTopo->
pxfSide(
id) == 2) {
1382 eventout +=
"\n Number of BrlPixelDigis collected:........ ";
1383 eventout += nPxlBrl;
1385 for(
int i = 0;
i < 3; ++
i) {
1390 eventout +=
"\n Number of FrwdPixelDigis collected:....... ";
1391 eventout += nPxlFwd;
1394 for(
int i = 3;
i < 7; ++
i) {
1408 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillMuon";
1412 eventout =
"\nGathering info:";
1417 bool validdtDigis =
true;
1420 <<
"Unable to find dtDigis in event!";
1421 validdtDigis =
false;
1424 int nDt0 = 0;
int nDt1 = 0;
int nDt2 = 0;
int nDt3 = 0;
1427 for (detUnitIt = dtDigis->begin(); detUnitIt != dtDigis->end();
1430 const DTLayerId&
id = (*detUnitIt).first;
1433 digiIt != range.second;
1438 DTWireId wireId(
id,(*digiIt).wire());
1439 if (wireId.station() == 1) {
1445 if (wireId.station() == 2) {
1451 if (wireId.station() == 3) {
1457 if (wireId.station() == 4) {
1472 eventout +=
"\n Number of DtMuonDigis collected:.......... ";
1480 bool validstrips =
true;
1483 <<
"Unable to find muon strips in event!";
1484 validstrips =
false;
1493 std::vector<CSCStripDigi>::const_iterator digiItr = (*j).second.first;
1494 std::vector<CSCStripDigi>::const_iterator
last = (*j).second.second;
1496 for ( ; digiItr !=
last; ++digiItr) {
1500 std::vector<int> adcCounts = digiItr->getADCCounts();
1508 if (adcCounts[5] > (pedestal + 100))
1515 eventout +=
"\n Number of CSCStripDigis collected:........ ";
1516 eventout += nStrips;
1524 bool validwires =
true;
1527 <<
"Unable to find muon wires in event!";
1537 std::vector<CSCWireDigi>::const_iterator digiItr = (*j).second.first;
1538 std::vector<CSCWireDigi>::const_iterator endDigi = (*j).second.second;
1540 for ( ; digiItr != endDigi; ++digiItr) {
1547 eventout +=
"\n Number of CSCWireDigis collected:......... ";
1559 <<
"Unable to find RPCGeometryRecord in event!";
1565 bool validrpcsim =
true;
1568 <<
"Unable to find rpcsimHit in event!";
1569 validrpcsim =
false;
1574 bool validrpcdigi =
true;
1577 <<
"Unable to find rpcDigis in event!";
1578 validrpcdigi =
false;
1582 validrpcdigi =
false;
1585 edm::PSimHitContainer::const_iterator rpcsimIt;
1586 std::map<RPCDetId, std::vector<double> > allsims;
1589 for (rpcsimIt = rpcsimHit->begin(); rpcsimIt != rpcsimHit->end();
1592 int ptype = rpcsimIt->particleType();
1594 if (ptype == 13 || ptype == -13) {
1595 std::vector<double> buff;
1596 if (allsims.find(Rsid) != allsims.end() ){
1597 buff= allsims[Rsid];
1599 buff.push_back(rpcsimIt->localPosition().x());
1610 for (rpcdetUnitIt = rpcDigis->begin(); rpcdetUnitIt != rpcDigis->end();
1613 const RPCDetId Rsid = (*rpcdetUnitIt).first;
1615 dynamic_cast<const RPCRoll*
>( rpcGeom->roll(Rsid));
1618 std::vector<double> sims;
1619 if (allsims.find(Rsid) != allsims.end() ){
1620 sims = allsims[Rsid];
1625 rpcdigiIt != range.second;
1632 if (sims.size() == 1 && ndigi == 1){
1633 double dis = roll->
centreOfStrip(range.first->strip()).
x()-sims[0];
1635 if (Rsid.
region() == 0 ){
1636 if (Rsid.
ring() == -2)
1638 else if (Rsid.
ring() == -1)
1640 else if (Rsid.
ring() == 0)
1642 else if (Rsid.
ring() == 1)
1644 else if (Rsid.
ring() == 2)
1651 eventout +=
"\n Number of RPCDigis collected:.............. ";
GlobalDigisAnalyzer(const edm::ParameterSet &)
T getParameter(std::string const &) const
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
void getAllProvenance(std::vector< Provenance const * > &provenances) const
LocalPoint centreOfStrip(int strip) const
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EBHits_Token_
std::vector< PCaloHit > PCaloHitContainer
MonitorElement * mehEScalADC[3]
double ECalbarrelADCtoGeV_
MonitorElement * mehDtMuonLayer[4]
unsigned int tibLayer(const DetId &id) const
static const int sdHcalOut
float theCSCStripPedestalSum
MonitorElement * bookProfile(Args &&...args)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * mehEcaln[2]
unsigned int pxfDisk(const DetId &id) const
edm::EDGetTokenT< edm::PCaloHitContainer > HCalSrc_Token_
void fillECal(const edm::Event &, const edm::EventSetup &)
MonitorElement * mehEScaln
std::vector< T >::const_iterator const_iterator
unsigned long long EventNumber_t
MonitorElement * mehSiPixelRow[7]
MonitorElement * mehRPCRes[5]
unsigned int tidWheel(const DetId &id) const
edm::EDGetTokenT< CSCStripDigiCollection > MuCSCStripSrc_Token_
double pedestal(int fCapId) const
get pedestal for capid=0..3
int theCSCStripPedestalCount
MonitorElement * mehSiStripADC[19]
MonitorElement * mehDtMuonTimevLayer[4]
MonitorElement * mehSiStripn[19]
int gainId() const
get the gainId (2 bits)
MonitorElement * mehCSCWireTime
edm::EDGetTokenT< EEDigiCollection > ECalEESrc_Token_
uint32_t rawId() const
get the raw id
MonitorElement * mehEcalMaxPos[2]
edm::EDGetTokenT< CrossingFrame< PCaloHit > > ESHits_Token_
edm::EDGetTokenT< edm::PSimHitContainer > RPCSimHit_Token_
MonitorElement * mehDtMuonTime[4]
static const int sdPxlBrl
double ECalendcapADCtoGeV_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
virtual void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const
edm::InputTag MuCSCStripSrc_
static const int MAXSAMPLES
edm::EDGetTokenT< edm::SortedCollection< HFDataFrame > > HFDigi_Token_
MonitorElement * mehHcalAEE[4]
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * book1D(Args &&...args)
std::map< uint32_t, float, std::less< uint32_t > > MapType
edm::EDGetTokenT< CSCWireDigiCollection > MuCSCWireSrc_Token_
std::map< int, double, std::less< int > > ECalgainConv_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
edm::EDGetTokenT< edm::SortedCollection< HODataFrame > > HODigi_Token_
iterator end()
Return the off-the-end iterator.
void fillHCal(const edm::Event &, const edm::EventSetup &)
MonitorElement * mehRPCMuonn
MonitorElement * mehEcalSHE[2]
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > SiStripSrc_Token_
unsigned int pxbLayer(const DetId &id) const
void fillMuon(const edm::Event &, const edm::EventSetup &)
MonitorElement * mehEcalAEE[2]
edm::EDGetTokenT< EBDigiCollection > ECalEBSrc_Token_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * mehHcalSHEvAEE[4]
virtual ~GlobalDigisAnalyzer()
T const * product() const
MonitorElement * mehCSCStripn
int size() const
get the size
edm::EDGetTokenT< ESDigiCollection > ECalESSrc_Token_
MonitorElement * mehCSCStripADC
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EEHits_Token_
T const * product() const
static const int sdHcalFwd
float gain12Over6() const
std::vector< DTDigi >::const_iterator const_iterator
static const int sdHcalBrl
MonitorElement * mehSiPixelCol[7]
MonitorElement * mehHcaln[4]
edm::EDGetTokenT< edm::SortedCollection< HBHEDataFrame > > HBHEDigi_Token_
MonitorElement * mehHcalAEESHE[4]
MonitorElement * mehEcalSHEvAEESHE[2]
MonitorElement * mehHcalSHE[4]
unsigned int pxfSide(const DetId &id) const
MonitorElement * mehCSCWiren
edm::EDGetTokenT< RPCDigiCollection > MuRPCSrc_Token_
std::pair< const_iterator, const_iterator > Range
int adc() const
get the ADC sample (singed 16 bits)
iterator begin()
Return an iterator to the first DetSet.
static const int sdPxlFwd
volatile std::atomic< bool > shutdown_flag false
MonitorElement * mehEcalMultvAEE[2]
MonitorElement * mehSiPixeln[7]
MonitorElement * mehSiStripStrip[19]
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > SiPxlSrc_Token_
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
unsigned int tecWheel(const DetId &id) const
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void fillTrk(const edm::Event &, const edm::EventSetup &)
edm::InputTag MuCSCWireSrc_
edm::EDGetTokenT< DTDigiCollection > MuDTSrc_Token_
static const int sdHcalEC
static const int MAXSAMPLES
MonitorElement * mehSiPixelADC[7]
unsigned int tobLayer(const DetId &id) const
edm::InputTag SiStripSrc_
int adc() const
get the ADC sample (12 bits)
MonitorElement * mehDtMuonn[4]
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
virtual void analyze(const edm::Event &, const edm::EventSetup &)