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::StableProvenance*> 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:";
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!";
560 uint32_t crystid = ebid.
rawId();
561 ebSimMap[crystid] += iHit.energy();
568 std::vector<double> ebAnalogSignal;
569 std::vector<double> ebADCCounts;
570 std::vector<double> ebADCGains;
576 for (
unsigned int digis=0; digis<EcalDigiEB->
size(); ++digis) {
581 int nrSamples = ebdf.
size();
587 double pedestalPreSample = 0.;
588 double pedestalPreSampleAnalog = 0.;
591 ebAnalogSignal[
sample] = 0.;
600 ebADCCounts[
sample] = (thisSample.
adc());
605 if (Emax < ebAnalogSignal[
sample]) {
606 Emax = ebAnalogSignal[
sample];
610 pedestalPreSample += ebADCCounts[
sample] ;
611 pedestalPreSampleAnalog +=
613 * ECalbarrelADCtoGeV_ ;
617 pedestalPreSample /= 3. ;
618 pedestalPreSampleAnalog /= 3. ;
621 double Erec = Emax - pedestalPreSampleAnalog
629 if (ebSimMap[ebid.
rawId()]!=0) {
631 ebSimMap[ebid.
rawId()]);
641 eventout +=
"\n Number of EBDigis collected:.............. ";
651 bool isEndCap =
true;
654 bool validDigiEE =
true;
657 <<
"Unable to find EcalDigiEE in event!";
661 if (EcalDigiEE->
size() == 0) isEndCap =
false;
668 bool validXFrame =
true;
669 if (!crossingFrame.
isValid()) {
671 <<
"Unable to find cal endcap crossingFrame in event!";
682 uint32_t crystid = eeid.
rawId();
683 eeSimMap[crystid] += iHit.energy();
690 std::vector<double> eeAnalogSignal;
691 std::vector<double> eeADCCounts;
692 std::vector<double> eeADCGains;
698 for (
unsigned int digis=0; digis<EcalDigiEE->
size(); ++digis){
703 int nrSamples = eedf.
size();
709 double pedestalPreSample = 0.;
710 double pedestalPreSampleAnalog = 0.;
713 eeAnalogSignal[
sample] = 0.;
723 eeADCCounts[
sample] = (thisSample.
adc());
728 if (Emax < eeAnalogSignal[
sample]) {
729 Emax = eeAnalogSignal[
sample];
733 pedestalPreSample += eeADCCounts[
sample] ;
734 pedestalPreSampleAnalog +=
736 * ECalbarrelADCtoGeV_ ;
740 pedestalPreSample /= 3. ;
741 pedestalPreSampleAnalog /= 3. ;
744 double Erec = Emax - pedestalPreSampleAnalog
752 if (eeSimMap[eeid.
rawId()]!=0){
754 eeSimMap[eeid.
rawId()]);
764 eventout +=
"\n Number of EEDigis collected:.............. ";
775 bool isPreshower =
true;
778 bool validDigiES =
true;
781 <<
"Unable to find EcalDigiES in event!";
789 if (EcalDigiES->
size() == 0) isPreshower =
false;
795 bool validXFrame =
true;
796 if (!crossingFrame.
isValid()) {
798 <<
"Unable to find cal preshower crossingFrame in event!";
810 uint32_t crystid = esid.
rawId();
811 esSimMap[crystid] += iHit.energy();
818 std::vector<double> esADCCounts;
822 for (
unsigned int digis=0; digis<EcalDigiES->
size(); ++digis) {
828 int nrSamples = esdf.
size();
838 esADCCounts[
sample] = (thisSample.
adc());
848 eventout +=
"\n Number of ESDigis collected:.............. ";
865 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillHCal";
869 eventout =
"\nGathering info:";
874 if (!HCalconditions.
isValid()) {
876 <<
"Unable to find HCalconditions in event!";
887 bool validhcalHits =
true;
890 <<
"Unable to find hcalHits in event!";
891 validhcalHits =
false;
900 for (std::vector<PCaloHit>::const_iterator simhits = simhitResult->begin();
901 simhits != simhitResult->end();
905 uint32_t cellid = detId.
rawId();
908 fHBEnergySimHits[cellid] += simhits->energy();
911 fHEEnergySimHits[cellid] += simhits->energy();
914 fHOEnergySimHits[cellid] += simhits->energy();
917 fHFEnergySimHits[cellid] += simhits->energy();
927 bool validHBHE =
true;
930 <<
"Unable to find HBHEDataFrame in event!";
939 for (ihbhe = hbhe->begin(); ihbhe != hbhe->end(); ++ihbhe) {
950 coder.
adc2fC(*ihbhe, tool);
956 float fDigiSum = 0.0;
959 int capid = (*ihbhe)[
ii].capid();
960 fDigiSum += (tool[
ii] - calibrations.
pedestal(capid));
966 if (fHFEnergySimHits[cell.rawId()]!=0){
979 float fDigiSum = 0.0;
981 int capid = (*ihbhe)[
ii].capid();
982 fDigiSum += (tool[
ii]-calibrations.
pedestal(capid));
988 if (fHFEnergySimHits[cell.rawId()]!=0){
1000 eventout +=
"\n Number of HBDigis collected:.............. ";
1006 eventout +=
"\n Number of HEDigis collected:.............. ";
1017 bool validHO =
true;
1020 <<
"Unable to find HODataFrame in event!";
1027 for (iho = ho->begin(); iho != ho->end(); ++iho) {
1038 coder.
adc2fC(*iho, tool);
1041 float fDigiSum = 0.0;
1044 int capid = (*iho)[
ii].capid();
1045 fDigiSum += (tool[
ii] - calibrations.
pedestal(capid));
1051 if (fHFEnergySimHits[cell.rawId()]!=0){
1062 eventout +=
"\n Number of HODigis collected:.............. ";
1073 bool validHF =
true;
1076 <<
"Unable to find HFDataFrame in event!";
1083 for (ihf = hf->begin(); ihf != hf->end(); ++ihf) {
1094 coder.
adc2fC(*ihf, tool);
1097 float fDigiSum = 0.0;
1100 int capid = (*ihf)[
ii].capid();
1101 fDigiSum += (tool[
ii] - calibrations.
pedestal(capid));
1107 if (fHFEnergySimHits[cell.rawId()]!=0){
1118 eventout +=
"\n Number of HFDigis collected:.............. ";
1139 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillTrk";
1143 eventout =
"\nGathering info:";
1148 bool validstripDigis =
true;
1151 <<
"Unable to find stripDigis in event!";
1152 validstripDigis =
false;
1155 if (validstripDigis) {
1156 int nStripBrl = 0, nStripFwd = 0;
1158 for (DSViter = stripDigis->begin(); DSViter != stripDigis->end();
1160 unsigned int id = DSViter->id;
1169 for (iter = begin; iter !=
end; ++iter) {
1193 for (iter = begin; iter !=
end; ++iter) {
1217 for (iter = begin; iter !=
end; ++iter) {
1237 for (iter = begin; iter !=
end; ++iter) {
1276 eventout +=
"\n Number of BrlStripDigis collected:........ ";
1277 eventout += nStripBrl;
1279 for(
int i = 0;
i < 8; ++
i) {
1284 eventout +=
"\n Number of FrwdStripDigis collected:....... ";
1285 eventout += nStripFwd;
1287 for(
int i = 8;
i < 19; ++
i) {
1295 bool validpixelDigis =
true;
1298 <<
"Unable to find pixelDigis in event!";
1299 validpixelDigis =
false;
1301 if (validpixelDigis) {
1302 int nPxlBrl = 0, nPxlFwd = 0;
1304 for (DPViter = pixelDigis->begin(); DPViter != pixelDigis->end();
1306 unsigned int id = DPViter->id;
1315 for (iter = begin; iter !=
end; ++iter) {
1338 for (iter = begin; iter !=
end; ++iter) {
1340 if (tTopo->
pxfDisk(
id) == 1) {
1341 if (tTopo->
pxfSide(
id) == 1) {
1346 if (tTopo->
pxfSide(
id) == 2) {
1352 if (tTopo->
pxfDisk(
id) == 2) {
1353 if (tTopo->
pxfSide(
id) == 1) {
1359 if (tTopo->
pxfSide(
id) == 2) {
1370 eventout +=
"\n Number of BrlPixelDigis collected:........ ";
1371 eventout += nPxlBrl;
1373 for(
int i = 0;
i < 3; ++
i) {
1378 eventout +=
"\n Number of FrwdPixelDigis collected:....... ";
1379 eventout += nPxlFwd;
1382 for(
int i = 3;
i < 7; ++
i) {
1396 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillMuon";
1400 eventout =
"\nGathering info:";
1405 bool validdtDigis =
true;
1408 <<
"Unable to find dtDigis in event!";
1409 validdtDigis =
false;
1412 int nDt0 = 0;
int nDt1 = 0;
int nDt2 = 0;
int nDt3 = 0;
1415 for (detUnitIt = dtDigis->begin(); detUnitIt != dtDigis->end();
1418 const DTLayerId&
id = (*detUnitIt).first;
1421 digiIt != range.second;
1426 DTWireId wireId(
id,(*digiIt).wire());
1427 if (wireId.station() == 1) {
1433 if (wireId.station() == 2) {
1439 if (wireId.station() == 3) {
1445 if (wireId.station() == 4) {
1460 eventout +=
"\n Number of DtMuonDigis collected:.......... ";
1468 bool validstrips =
true;
1471 <<
"Unable to find muon strips in event!";
1472 validstrips =
false;
1481 std::vector<CSCStripDigi>::const_iterator digiItr = (*j).second.first;
1482 std::vector<CSCStripDigi>::const_iterator
last = (*j).second.second;
1484 for ( ; digiItr !=
last; ++digiItr) {
1488 std::vector<int> adcCounts = digiItr->getADCCounts();
1496 if (adcCounts[5] > (pedestal + 100))
1503 eventout +=
"\n Number of CSCStripDigis collected:........ ";
1504 eventout += nStrips;
1512 bool validwires =
true;
1515 <<
"Unable to find muon wires in event!";
1525 std::vector<CSCWireDigi>::const_iterator digiItr = (*j).second.first;
1526 std::vector<CSCWireDigi>::const_iterator endDigi = (*j).second.second;
1528 for ( ; digiItr != endDigi; ++digiItr) {
1535 eventout +=
"\n Number of CSCWireDigis collected:......... ";
1547 <<
"Unable to find RPCGeometryRecord in event!";
1553 bool validrpcsim =
true;
1556 <<
"Unable to find rpcsimHit in event!";
1557 validrpcsim =
false;
1562 bool validrpcdigi =
true;
1565 <<
"Unable to find rpcDigis in event!";
1566 validrpcdigi =
false;
1570 validrpcdigi =
false;
1573 edm::PSimHitContainer::const_iterator rpcsimIt;
1574 std::map<RPCDetId, std::vector<double> > allsims;
1577 for (rpcsimIt = rpcsimHit->begin(); rpcsimIt != rpcsimHit->end();
1580 int ptype = rpcsimIt->particleType();
1582 if (ptype == 13 || ptype == -13) {
1583 std::vector<double> buff;
1584 if (allsims.find(Rsid) != allsims.end() ){
1585 buff= allsims[Rsid];
1587 buff.push_back(rpcsimIt->localPosition().x());
1598 for (rpcdetUnitIt = rpcDigis->begin(); rpcdetUnitIt != rpcDigis->end();
1601 const RPCDetId Rsid = (*rpcdetUnitIt).first;
1603 dynamic_cast<const RPCRoll*
>( rpcGeom->
roll(Rsid));
1606 std::vector<double> sims;
1607 if (allsims.find(Rsid) != allsims.end() ){
1608 sims = allsims[Rsid];
1613 rpcdigiIt != range.second;
1620 if (sims.size() == 1 && ndigi == 1){
1621 double dis = roll->
centreOfStrip(range.first->strip()).
x()-sims[0];
1623 if (Rsid.
region() == 0 ){
1624 if (Rsid.
ring() == -2)
1626 else if (Rsid.
ring() == -1)
1628 else if (Rsid.
ring() == 0)
1630 else if (Rsid.
ring() == 1)
1632 else if (Rsid.
ring() == 2)
1639 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
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_
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
MonitorElement * mehDtMuonTime[4]
static const int sdPxlBrl
double ECalendcapADCtoGeV_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
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 reserve(size_t isize)
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_
static const int sdHcalFwd
float gain12Over6() const
const HcalQIECoder * getHcalCoder(const HcalGenericDetId &fId) const
std::vector< DTDigi >::const_iterator const_iterator
static const int sdHcalBrl
MonitorElement * mehSiPixelCol[7]
const HcalQIEShape * getHcalShape(const HcalGenericDetId &fId) const
MonitorElement * mehHcaln[4]
edm::EDGetTokenT< edm::SortedCollection< HBHEDataFrame > > HBHEDigi_Token_
MonitorElement * mehHcalAEESHE[4]
MonitorElement * mehEcalSHEvAEESHE[2]
MonitorElement * mehHcalSHE[4]
virtual void analyze(const edm::Event &, const edm::EventSetup &) override
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
MonitorElement * mehEcalMultvAEE[2]
MonitorElement * mehSiPixeln[7]
MonitorElement * mehSiStripStrip[19]
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > SiPxlSrc_Token_
collection_type::const_iterator const_iterator
const HcalCalibrations & getHcalCalibrations(const HcalGenericDetId &fId) const
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 &)
T const * product() const
edm::InputTag MuCSCWireSrc_
edm::EDGetTokenT< DTDigiCollection > MuDTSrc_Token_
static const int sdHcalEC
static const int MAXSAMPLES
MonitorElement * mehSiPixelADC[7]
const RPCRoll * roll(RPCDetId id) const
Return a roll given its id.
unsigned int tobLayer(const DetId &id) const
edm::InputTag SiStripSrc_
int adc() const
get the ADC sample (12 bits)
MonitorElement * mehDtMuonn[4]
void getAllStableProvenance(std::vector< StableProvenance const * > &provenances) const
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.