19 getAllProvenances(
false),
20 printProvenanceInfo(
false),
22 theCSCStripPedestalSum(0),
23 theCSCStripPedestalCount(0),
25 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_GlobalDigisAnalyzer";
85 edm::LogInfo(MsgLoggerCat) <<
"\n===============================\n" 86 <<
"Initialized as EDAnalyzer with parameter values:\n" 87 <<
" Name = " <<
fName <<
"\n" 105 <<
"===============================\n";
150 for (
int i = 0;
i < 19; ++
i) {
157 for (
int amend = 0; amend < 19; ++amend) {
158 hcharname =
"hSiStripn_" + SiStripString[amend];
159 hchartitle = SiStripString[amend] +
" Digis";
164 hcharname =
"hSiStripADC_" + SiStripString[amend];
165 hchartitle = SiStripString[amend] +
" ADC";
170 hcharname =
"hSiStripStripADC_" + SiStripString[amend];
171 hchartitle = SiStripString[amend] +
" Strip";
178 std::string HCalString[4] = {
"HB",
"HE",
"HO",
"HF"};
179 float calnUpper[4] = {30000., 30000., 30000., 20000.};
180 float calnLower[4] = {0., 0., 0., 0.};
181 float SHEUpper[4] = {1., 1., 1., 1.};
182 float SHEvAEEUpper[4] = {5000, 5000, 5000, 5000};
183 float SHEvAEELower[4] = {-5000, -5000, -5000, -5000};
184 int SHEvAEEnBins[4] = {200, 200, 200, 200};
185 double ProfileUpper[4] = {1., 1., 1., 1.};
187 for (
int i = 0;
i < 4; ++
i) {
196 for (
int amend = 0; amend < 4; ++amend) {
197 hcharname =
"hHcaln_" + HCalString[amend];
198 hchartitle = HCalString[amend] +
" digis";
199 mehHcaln[amend] = iBooker.
book1D(hcharname, hchartitle, 10000, calnLower[amend], calnUpper[amend]);
203 hcharname =
"hHcalAEE_" + HCalString[amend];
204 hchartitle = HCalString[amend] +
"Cal AEE";
209 hcharname =
"hHcalSHE_" + HCalString[amend];
210 hchartitle = HCalString[amend] +
"Cal SHE";
211 mehHcalSHE[amend] = iBooker.
book1D(hcharname, hchartitle, 1000, 0.0, SHEUpper[amend]);
215 hcharname =
"hHcalAEESHE_" + HCalString[amend];
216 hchartitle = HCalString[amend] +
"Cal AEE/SHE";
218 iBooker.
book1D(hcharname, hchartitle, SHEvAEEnBins[amend], SHEvAEELower[amend], SHEvAEEUpper[amend]);
222 hcharname =
"hHcalSHEvAEE_" + HCalString[amend];
223 hchartitle = HCalString[amend] +
"Cal SHE vs. AEE";
225 iBooker.
bookProfile(hcharname, hchartitle, 60, -10., 50., 100, 0., (
float)ProfileUpper[amend],
"");
233 for (
int i = 0;
i < 2; ++
i) {
243 for (
int amend = 0; amend < 2; ++amend) {
244 hcharname =
"hEcaln_" + ECalString[amend];
245 hchartitle = ECalString[amend] +
" digis";
246 mehEcaln[amend] = iBooker.
book1D(hcharname, hchartitle, 3000, 0., 40000.);
250 hcharname =
"hEcalAEE_" + ECalString[amend];
251 hchartitle = ECalString[amend] +
"Cal AEE";
256 hcharname =
"hEcalSHE_" + ECalString[amend];
257 hchartitle = ECalString[amend] +
"Cal SHE";
262 hcharname =
"hEcalMaxPos_" + ECalString[amend];
263 hchartitle = ECalString[amend] +
"Cal MaxPos";
268 hcharname =
"hEcalSHEvAEESHE_" + ECalString[amend];
269 hchartitle = ECalString[amend] +
"Cal SHE vs. AEE/SHE";
274 hcharname =
"hEcalMultvAEE_" + ECalString[amend];
275 hchartitle = ECalString[amend] +
"Cal Multi vs. AEE";
282 hcharname =
"hEcaln_ES";
283 hchartitle =
"ESCAL digis";
289 for (
int i = 0;
i < 3; ++
i) {
291 hcharname =
"hEcalADC" + ADCNumber[
i] +
"_ES";
292 hchartitle =
"ESCAL ADC" + ADCNumber[
i];
299 std::string SiPixelString[7] = {
"BRL1",
"BRL2",
"BRL3",
"FWD1n",
"FWD1p",
"FWD2n",
"FWD2p"};
300 for (
int j = 0;
j < 7; ++
j) {
308 for (
int amend = 0; amend < 7; ++amend) {
309 hcharname =
"hSiPixeln_" + SiPixelString[amend];
310 hchartitle = SiPixelString[amend] +
" Digis";
318 hcharname =
"hSiPixelADC_" + SiPixelString[amend];
319 hchartitle = SiPixelString[amend] +
" ADC";
324 hcharname =
"hSiPixelRow_" + SiPixelString[amend];
325 hchartitle = SiPixelString[amend] +
" Row";
330 hcharname =
"hSiPixelColumn_" + SiPixelString[amend];
331 hchartitle = SiPixelString[amend] +
" Column";
341 std::string MuonString[4] = {
"MB1",
"MB2",
"MB3",
"MB4"};
343 for (
int i = 0;
i < 4; ++
i) {
350 for (
int j = 0;
j < 4; ++
j) {
351 hcharname =
"hDtMuonn_" + MuonString[
j];
352 hchartitle = MuonString[
j] +
" digis";
357 hcharname =
"hDtLayer_" + MuonString[
j];
358 hchartitle = MuonString[
j] +
" Layer";
363 hcharname =
"hDtMuonTime_" + MuonString[
j];
364 hchartitle = MuonString[
j] +
" Time";
369 hcharname =
"hDtMuonTimevLayer_" + MuonString[
j];
370 hchartitle = MuonString[
j] +
" Time vs. Layer";
378 hcharname =
"hCSCStripn";
379 hchartitle =
"CSC Strip digis";
385 hcharname =
"hCSCStripADC";
386 hchartitle =
"CSC Strip ADC";
392 hcharname =
"hCSCWiren";
393 hchartitle =
"CSC Wire digis";
399 hcharname =
"hCSCWireTime";
400 hchartitle =
"CSC Wire Time";
407 hcharname =
"hRPCMuonn";
408 hchartitle =
"RPC digis";
413 std::string MuonRPCString[5] = {
"Wmin2",
"Wmin1",
"W0",
"Wpu1",
"Wpu2"};
414 for (
int i = 0;
i < 5; ++
i) {
418 for (
int j = 0;
j < 5; ++
j) {
419 hcharname =
"hRPCRes_" + MuonRPCString[
j];
420 hchartitle = MuonRPCString[
j] +
" Digi - Sim";
428 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_analyze";
448 edm::LogInfo(MsgLoggerCat) <<
"Processing run " << nrun <<
", event " <<
nevt <<
" (" <<
count <<
" events total)";
458 std::vector<const edm::StableProvenance *> AllProv;
459 iEvent.getAllStableProvenance(AllProv);
462 edm::LogInfo(MsgLoggerCat) <<
"Number of Provenances = " << AllProv.size();
465 TString eventout(
"\nProvenance info:\n");
467 for (
unsigned int i = 0;
i < AllProv.size(); ++
i) {
468 eventout +=
"\n ******************************";
469 eventout +=
"\n Module : ";
470 eventout += AllProv[
i]->moduleLabel();
471 eventout +=
"\n ProductID : ";
472 eventout += AllProv[
i]->productID().id();
473 eventout +=
"\n ClassName : ";
474 eventout += AllProv[
i]->className();
475 eventout +=
"\n InstanceName : ";
476 eventout += AllProv[
i]->productInstanceName();
477 eventout +=
"\n BranchName : ";
478 eventout += AllProv[
i]->branchName();
480 eventout +=
"\n ******************************\n";
498 edm::LogInfo(MsgLoggerCat) <<
"Done gathering data from event.";
507 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillECal";
511 eventout =
"\nGathering info:";
522 bool validDigiEB =
true;
524 LogDebug(MsgLoggerCat) <<
"Unable to find EcalDigiEB in event!";
528 if (EcalDigiEB->
empty())
535 bool validXFrame =
true;
536 if (!crossingFrame.
isValid()) {
537 LogDebug(MsgLoggerCat) <<
"Unable to find cal barrel crossingFrame in event!";
547 uint32_t crystid = ebid.
rawId();
548 ebSimMap[crystid] += iHit.energy();
555 std::vector<double> ebAnalogSignal;
556 std::vector<double> ebADCCounts;
557 std::vector<double> ebADCGains;
563 for (
unsigned int digis = 0; digis < EcalDigiEB->
size(); ++digis) {
567 int nrSamples = ebdf.
size();
573 double pedestalPreSampleAnalog = 0.;
576 ebAnalogSignal[
sample] = 0.;
584 ebADCCounts[
sample] = (thisSample.
adc());
587 if (Emax < ebAnalogSignal[
sample]) {
588 Emax = ebAnalogSignal[
sample];
592 pedestalPreSampleAnalog +=
596 pedestalPreSampleAnalog /= 3.;
606 if (ebSimMap[ebid.
rawId()] != 0) {
618 eventout +=
"\n Number of EBDigis collected:.............. ";
628 bool isEndCap =
true;
631 bool validDigiEE =
true;
633 LogDebug(MsgLoggerCat) <<
"Unable to find EcalDigiEE in event!";
637 if (EcalDigiEE->
empty())
644 bool validXFrame =
true;
645 if (!crossingFrame.
isValid()) {
646 LogDebug(MsgLoggerCat) <<
"Unable to find cal endcap crossingFrame in event!";
656 uint32_t crystid = eeid.
rawId();
657 eeSimMap[crystid] += iHit.energy();
664 std::vector<double> eeAnalogSignal;
665 std::vector<double> eeADCCounts;
666 std::vector<double> eeADCGains;
672 for (
unsigned int digis = 0; digis < EcalDigiEE->
size(); ++digis) {
676 int nrSamples = eedf.
size();
682 double pedestalPreSampleAnalog = 0.;
685 eeAnalogSignal[
sample] = 0.;
694 eeADCCounts[
sample] = (thisSample.
adc());
697 if (Emax < eeAnalogSignal[
sample]) {
698 Emax = eeAnalogSignal[
sample];
702 pedestalPreSampleAnalog +=
706 pedestalPreSampleAnalog /= 3.;
716 if (eeSimMap[eeid.
rawId()] != 0) {
727 eventout +=
"\n Number of EEDigis collected:.............. ";
738 bool isPreshower =
true;
741 bool validDigiES =
true;
743 LogDebug(MsgLoggerCat) <<
"Unable to find EcalDigiES in event!";
751 if (EcalDigiES->
empty())
757 bool validXFrame =
true;
758 if (!crossingFrame.
isValid()) {
759 LogDebug(MsgLoggerCat) <<
"Unable to find cal preshower crossingFrame in event!";
770 uint32_t crystid = esid.
rawId();
771 esSimMap[crystid] += iHit.energy();
778 std::vector<double> esADCCounts;
782 for (
unsigned int digis = 0; digis < EcalDigiES->
size(); ++digis) {
786 int nrSamples = esdf.
size();
795 esADCCounts[
sample] = (thisSample.
adc());
804 eventout +=
"\n Number of ESDigis collected:.............. ";
818 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillHCal";
822 eventout =
"\nGathering info:";
826 if (!HCalconditions.isValid()) {
827 edm::LogWarning(MsgLoggerCat) <<
"Unable to find HCalconditions in event!";
838 bool validhcalHits =
true;
840 LogDebug(MsgLoggerCat) <<
"Unable to find hcalHits in event!";
841 validhcalHits =
false;
850 for (std::vector<PCaloHit>::const_iterator
simhits = simhitResult->begin();
simhits != simhitResult->end();
853 uint32_t cellid = detId.
rawId();
856 fHBEnergySimHits[cellid] +=
simhits->energy();
859 fHEEnergySimHits[cellid] +=
simhits->energy();
862 fHOEnergySimHits[cellid] +=
simhits->energy();
865 fHFEnergySimHits[cellid] +=
simhits->energy();
875 bool validHBHE =
true;
876 if (!
hbhe.isValid()) {
877 LogDebug(MsgLoggerCat) <<
"Unable to find HBHEDataFrame in event!";
886 for (ihbhe =
hbhe->begin(); ihbhe !=
hbhe->end(); ++ihbhe) {
892 const HcalQIECoder *channelCoder = HCalconditions->getHcalCoder(cell);
893 const HcalQIEShape *shape = HCalconditions->getHcalShape(channelCoder);
895 coder.
adc2fC(*ihbhe, tool);
900 float fDigiSum = 0.0;
903 int capid = (*ihbhe)[
ii].capid();
910 if (fHFEnergySimHits[cell.rawId()] != 0) {
923 float fDigiSum = 0.0;
925 int capid = (*ihbhe)[
ii].capid();
932 if (fHFEnergySimHits[cell.rawId()] != 0) {
945 eventout +=
"\n Number of HBDigis collected:.............. ";
951 eventout +=
"\n Number of HEDigis collected:.............. ";
964 LogDebug(MsgLoggerCat) <<
"Unable to find HODataFrame in event!";
971 for (iho =
ho->begin(); iho !=
ho->end(); ++iho) {
977 const HcalQIECoder *channelCoder = HCalconditions->getHcalCoder(cell);
978 const HcalQIEShape *shape = HCalconditions->getHcalShape(channelCoder);
983 float fDigiSum = 0.0;
986 int capid = (*iho)[
ii].capid();
993 if (fHFEnergySimHits[cell.rawId()] != 0) {
1005 eventout +=
"\n Number of HODigis collected:.............. ";
1016 bool validHF =
true;
1017 if (!
hf.isValid()) {
1018 LogDebug(MsgLoggerCat) <<
"Unable to find HFDataFrame in event!";
1025 for (ihf =
hf->begin(); ihf !=
hf->end(); ++ihf) {
1031 const HcalQIECoder *channelCoder = HCalconditions->getHcalCoder(cell);
1032 const HcalQIEShape *shape = HCalconditions->getHcalShape(channelCoder);
1034 coder.
adc2fC(*ihf, tool);
1037 float fDigiSum = 0.0;
1040 int capid = (*ihf)[
ii].capid();
1047 if (fHFEnergySimHits[cell.rawId()] != 0) {
1059 eventout +=
"\n Number of HFDigis collected:.............. ";
1074 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillTrk";
1077 eventout =
"\nGathering info:";
1082 bool validstripDigis =
true;
1084 LogDebug(MsgLoggerCat) <<
"Unable to find stripDigis in event!";
1085 validstripDigis =
false;
1088 if (validstripDigis) {
1089 int nStripBrl = 0, nStripFwd = 0;
1091 for (DSViter = stripDigis->begin(); DSViter != stripDigis->end(); ++DSViter) {
1092 unsigned int id = DSViter->id;
1100 for (iter = begin; iter !=
end; ++iter) {
1123 for (iter = begin; iter !=
end; ++iter) {
1146 for (iter = begin; iter !=
end; ++iter) {
1165 for (iter = begin; iter !=
end; ++iter) {
1204 eventout +=
"\n Number of BrlStripDigis collected:........ ";
1205 eventout += nStripBrl;
1207 for (
int i = 0;
i < 8; ++
i) {
1212 eventout +=
"\n Number of FrwdStripDigis collected:....... ";
1213 eventout += nStripFwd;
1215 for (
int i = 8;
i < 19; ++
i) {
1223 bool validpixelDigis =
true;
1225 LogDebug(MsgLoggerCat) <<
"Unable to find pixelDigis in event!";
1226 validpixelDigis =
false;
1228 if (validpixelDigis) {
1229 int nPxlBrl = 0, nPxlFwd = 0;
1231 for (DPViter = pixelDigis->begin(); DPViter != pixelDigis->end(); ++DPViter) {
1232 unsigned int id = DPViter->id;
1240 for (iter = begin; iter !=
end; ++iter) {
1262 for (iter = begin; iter !=
end; ++iter) {
1264 if (tTopo->
pxfDisk(
id) == 1) {
1265 if (tTopo->
pxfSide(
id) == 1) {
1270 if (tTopo->
pxfSide(
id) == 2) {
1276 if (tTopo->
pxfDisk(
id) == 2) {
1277 if (tTopo->
pxfSide(
id) == 1) {
1282 if (tTopo->
pxfSide(
id) == 2) {
1293 eventout +=
"\n Number of BrlPixelDigis collected:........ ";
1294 eventout += nPxlBrl;
1296 for (
int i = 0;
i < 3; ++
i) {
1301 eventout +=
"\n Number of FrwdPixelDigis collected:....... ";
1302 eventout += nPxlFwd;
1305 for (
int i = 3;
i < 7; ++
i) {
1317 std::string MsgLoggerCat =
"GlobalDigisAnalyzer_fillMuon";
1321 eventout =
"\nGathering info:";
1326 bool validdtDigis =
true;
1328 LogDebug(MsgLoggerCat) <<
"Unable to find dtDigis in event!";
1329 validdtDigis =
false;
1338 for (detUnitIt = dtDigis->begin(); detUnitIt != dtDigis->end(); ++detUnitIt) {
1339 const DTLayerId &
id = (*detUnitIt).first;
1344 DTWireId wireId(
id, (*digiIt).wire());
1345 if (wireId.station() == 1) {
1351 if (wireId.station() == 2) {
1357 if (wireId.station() == 3) {
1363 if (wireId.station() == 4) {
1377 eventout +=
"\n Number of DtMuonDigis collected:.......... ";
1385 bool validstrips =
true;
1387 LogDebug(MsgLoggerCat) <<
"Unable to find muon strips in event!";
1388 validstrips =
false;
1394 std::vector<CSCStripDigi>::const_iterator digiItr = (*j).second.first;
1395 std::vector<CSCStripDigi>::const_iterator
last = (*j).second.second;
1397 for (; digiItr !=
last; ++digiItr) {
1401 std::vector<int> adcCounts = digiItr->getADCCounts();
1409 if (adcCounts[5] > (
pedestal + 100))
1416 eventout +=
"\n Number of CSCStripDigis collected:........ ";
1425 bool validwires =
true;
1426 if (!
wires.isValid()) {
1427 LogDebug(MsgLoggerCat) <<
"Unable to find muon wires in event!";
1434 std::vector<CSCWireDigi>::const_iterator digiItr = (*j).second.first;
1435 std::vector<CSCWireDigi>::const_iterator endDigi = (*j).second.second;
1437 for (; digiItr != endDigi; ++digiItr) {
1444 eventout +=
"\n Number of CSCWireDigis collected:......... ";
1453 if (!rpcGeom.isValid()) {
1454 edm::LogWarning(MsgLoggerCat) <<
"Unable to find RPCGeometryRecord in event!";
1460 bool validrpcsim =
true;
1462 LogDebug(MsgLoggerCat) <<
"Unable to find rpcsimHit in event!";
1463 validrpcsim =
false;
1468 bool validrpcdigi =
true;
1470 LogDebug(MsgLoggerCat) <<
"Unable to find rpcDigis in event!";
1471 validrpcdigi =
false;
1475 validrpcdigi =
false;
1478 edm::PSimHitContainer::const_iterator rpcsimIt;
1479 std::map<RPCDetId, std::vector<double>> allsims;
1482 for (rpcsimIt = rpcsimHit->begin(); rpcsimIt != rpcsimHit->end(); rpcsimIt++) {
1484 int ptype = rpcsimIt->particleType();
1487 std::vector<double> buff;
1488 if (allsims.find(Rsid) != allsims.end()) {
1489 buff = allsims[Rsid];
1491 buff.push_back(rpcsimIt->localPosition().x());
1492 allsims[Rsid] = buff;
1502 for (rpcdetUnitIt = rpcDigis->begin(); rpcdetUnitIt != rpcDigis->end(); ++rpcdetUnitIt) {
1503 const RPCDetId Rsid = (*rpcdetUnitIt).first;
1504 const RPCRoll *roll =
dynamic_cast<const RPCRoll *
>(rpcGeom->roll(Rsid));
1507 std::vector<double> sims;
1508 if (allsims.find(Rsid) != allsims.end()) {
1509 sims = allsims[Rsid];
1518 if (sims.size() == 1 && ndigi == 1) {
1521 if (Rsid.
region() == 0) {
1522 if (Rsid.
ring() == -2)
1524 else if (Rsid.
ring() == -1)
1526 else if (Rsid.
ring() == 0)
1528 else if (Rsid.
ring() == 1)
1530 else if (Rsid.
ring() == 2)
1537 eventout +=
"\n Number of RPCDigis collected:.............. ";
GlobalDigisAnalyzer(const edm::ParameterSet &)
edm::ESGetToken< HcalDbService, HcalDbRecord > hcaldbToken_
T getParameter(std::string const &) const
unsigned int tobLayer(const DetId &id) const
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EBHits_Token_
unsigned int pxbLayer(const DetId &id) const
std::vector< PCaloHit > PCaloHitContainer
MonitorElement * mehEScalADC[3]
int size() const
get the size
double ECalbarrelADCtoGeV_
MonitorElement * mehDtMuonLayer[4]
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken_
static const int sdHcalOut
virtual void setCurrentFolder(std::string const &fullpath)
float theCSCStripPedestalSum
MonitorElement * mehEcaln[2]
edm::EDGetTokenT< edm::PCaloHitContainer > HCalSrc_Token_
void fillECal(const edm::Event &, const edm::EventSetup &)
unsigned int tidWheel(const DetId &id) const
unsigned int tecWheel(const DetId &id) const
MonitorElement * mehEScaln
T const * product() const
std::vector< T >::const_iterator const_iterator
unsigned long long EventNumber_t
MonitorElement * mehSiPixelRow[7]
MonitorElement * mehRPCRes[5]
edm::EDGetTokenT< CSCStripDigiCollection > MuCSCStripSrc_Token_
int theCSCStripPedestalCount
MonitorElement * mehSiStripADC[19]
MonitorElement * mehDtMuonTimevLayer[4]
MonitorElement * mehSiStripn[19]
MonitorElement * mehCSCWireTime
nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
edm::EDGetTokenT< EEDigiCollection > ECalEESrc_Token_
T getUntrackedParameter(std::string const &, T const &) const
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
int adc() const
get the ADC sample (singed 16 bits)
MonitorElement * mehEcalMaxPos[2]
edm::EDGetTokenT< CrossingFrame< PCaloHit > > ESHits_Token_
void adc2fC(const HBHEDataFrame &df, CaloSamples &lf) const override
edm::EDGetTokenT< edm::PSimHitContainer > RPCSimHit_Token_
MonitorElement * mehDtMuonTime[4]
static const int sdPxlBrl
MonitorElement * bookProfile(TString const &name, TString const &title, int nchX, double lowX, double highX, int, double lowY, double highY, char const *option="s", FUNC onbooking=NOOP())
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
unsigned int pxfDisk(const DetId &id) const
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
edm::EDGetTokenT< CSCWireDigiCollection > MuCSCWireSrc_Token_
std::map< int, double, std::less< int > > ECalgainConv_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
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_
std::map< uint32_t, float, std::less< uint32_t > > MapType
void reserve(size_t isize)
Log< level::Info, false > LogInfo
float gain12Over6() const
void fillMuon(const edm::Event &, const edm::EventSetup &)
MonitorElement * mehEcalAEE[2]
unsigned int pxfSide(const DetId &id) const
edm::EDGetTokenT< EBDigiCollection > ECalEBSrc_Token_
MonitorElement * mehHcalSHEvAEE[4]
MonitorElement * mehCSCStripn
edm::EDGetTokenT< ESDigiCollection > ECalESSrc_Token_
constexpr uint32_t rawId() const
get the raw id
MonitorElement * mehCSCStripADC
edm::EDGetTokenT< CrossingFrame< PCaloHit > > EEHits_Token_
std::pair< const_iterator, const_iterator > Range
~GlobalDigisAnalyzer() override
static const int sdHcalFwd
std::vector< DigiType >::const_iterator const_iterator
static const int sdHcalBrl
MonitorElement * mehSiPixelCol[7]
int region() const
Region id: 0 for Barrel, +/-1 For +/- Endcap.
MonitorElement * mehHcaln[4]
edm::EDGetTokenT< edm::SortedCollection< HBHEDataFrame > > HBHEDigi_Token_
MonitorElement * mehHcalAEESHE[4]
MonitorElement * mehEcalSHEvAEESHE[2]
MonitorElement * mehHcalSHE[4]
int adc() const
get the ADC sample (12 bits)
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mehCSCWiren
strips
#turn off noise in all subdetectors simHcalUnsuppressedDigis.doNoise = False mix.digitizers.hcal.doNoise = False simEcalUnsuppressedDigis.doNoise = False mix.digitizers.ecal.doNoise = False simEcalUnsuppressedDigis.doESNoise = False simSiPixelDigis.AddNoise = False mix.digitizers.pixel.AddNoise = False simSiStripDigis.Noise = False mix.digitizers.strip.AddNoise = False
edm::EDGetTokenT< RPCDigiCollection > MuRPCSrc_Token_
iterator begin()
Return an iterator to the first DetSet.
unsigned int tibLayer(const DetId &id) const
static const int sdPxlFwd
static constexpr int MAXSAMPLES
Log< level::Warning, false > LogWarning
edm::ESGetToken< RPCGeometry, MuonGeometryRecord > rpcGeomToken_
MonitorElement * mehEcalMultvAEE[2]
MonitorElement * mehSiPixeln[7]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * mehSiStripStrip[19]
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > SiPxlSrc_Token_
collection_type::const_iterator const_iterator
collection_type::const_iterator const_iterator
void fillTrk(const edm::Event &, const edm::EventSetup &)
edm::InputTag MuCSCWireSrc_
edm::EDGetTokenT< DTDigiCollection > MuDTSrc_Token_
static const int sdHcalEC
MonitorElement * mehSiPixelADC[7]
int gainId() const
get the gainId (2 bits)
edm::InputTag SiStripSrc_
MonitorElement * mehDtMuonn[4]
LocalPoint centreOfStrip(int strip) const
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > ecalADCtoGevToken_