354 std::string MsgLoggerCat =
"GlobalDigisHistogrammer_analyze";
364 edm::LogInfo(MsgLoggerCat) <<
"Processing run " << nrun <<
", event " <<
nevt <<
" (" <<
count <<
" events total)";
377 std::vector<const edm::StableProvenance *> AllProv;
378 iEvent.getAllStableProvenance(AllProv);
381 edm::LogInfo(MsgLoggerCat) <<
"Number of Provenances = " << AllProv.size();
384 TString eventout(
"\nProvenance info:\n");
386 for (
unsigned int i = 0;
i < AllProv.size(); ++
i) {
387 eventout +=
"\n ******************************";
388 eventout +=
"\n Module : ";
390 eventout += AllProv[
i]->moduleLabel();
391 eventout +=
"\n ProductID : ";
393 eventout += AllProv[
i]->productID().id();
394 eventout +=
"\n ClassName : ";
396 eventout += AllProv[
i]->className();
397 eventout +=
"\n InstanceName : ";
399 eventout += AllProv[
i]->productInstanceName();
400 eventout +=
"\n BranchName : ";
402 eventout += AllProv[
i]->branchName();
404 eventout +=
"\n ******************************\n";
411 if (!srcGlobalDigis.
isValid()) {
412 edm::LogWarning(MsgLoggerCat) <<
"Unable to find PGlobalDigis in event!";
463 std::vector<PGlobalDigi::ECalDigi> EECalDigis = srcGlobalDigis->
getEECalDigis();
465 for (
unsigned int i = 0;
i < EECalDigis.size(); ++
i) {
469 if (EECalDigis[
i].SHE != 0.) {
475 std::vector<PGlobalDigi::ECalDigi> EBCalDigis = srcGlobalDigis->
getEBCalDigis();
477 for (
unsigned int i = 0;
i < EBCalDigis.size(); ++
i) {
481 if (EBCalDigis[
i].SHE != 0.) {
487 std::vector<PGlobalDigi::ESCalDigi> ESCalDigis = srcGlobalDigis->
getESCalDigis();
489 for (
unsigned int i = 0;
i < ESCalDigis.size(); ++
i) {
496 std::vector<PGlobalDigi::HCalDigi> HBCalDigis = srcGlobalDigis->
getHBCalDigis();
498 for (
unsigned int i = 0;
i < HBCalDigis.size(); ++
i) {
500 if (HBCalDigis[
i].SHE != 0.) {
506 std::vector<PGlobalDigi::HCalDigi> HECalDigis = srcGlobalDigis->
getHECalDigis();
508 for (
unsigned int i = 0;
i < HECalDigis.size(); ++
i) {
510 if (HECalDigis[
i].SHE != 0.) {
517 std::vector<PGlobalDigi::HCalDigi> HOCalDigis = srcGlobalDigis->
getHOCalDigis();
519 for (
unsigned int i = 0;
i < HOCalDigis.size(); ++
i) {
521 if (HOCalDigis[
i].SHE != 0.) {
528 std::vector<PGlobalDigi::HCalDigi> HFCalDigis = srcGlobalDigis->
getHFCalDigis();
530 for (
unsigned int i = 0;
i < HFCalDigis.size(); ++
i) {
532 if (HFCalDigis[
i].SHE != 0.) {
540 std::vector<PGlobalDigi::SiStripDigi> TIBL1Digis = srcGlobalDigis->
getTIBL1Digis();
542 for (
unsigned int i = 0;
i < TIBL1Digis.size(); ++
i) {
547 std::vector<PGlobalDigi::SiStripDigi> TIBL2Digis = srcGlobalDigis->
getTIBL2Digis();
549 for (
unsigned int i = 0;
i < TIBL2Digis.size(); ++
i) {
554 std::vector<PGlobalDigi::SiStripDigi> TIBL3Digis = srcGlobalDigis->
getTIBL3Digis();
556 for (
unsigned int i = 0;
i < TIBL3Digis.size(); ++
i) {
561 std::vector<PGlobalDigi::SiStripDigi> TIBL4Digis = srcGlobalDigis->
getTIBL4Digis();
563 for (
unsigned int i = 0;
i < TIBL4Digis.size(); ++
i) {
568 std::vector<PGlobalDigi::SiStripDigi> TOBL1Digis = srcGlobalDigis->
getTOBL1Digis();
570 for (
unsigned int i = 0;
i < TOBL1Digis.size(); ++
i) {
575 std::vector<PGlobalDigi::SiStripDigi> TOBL2Digis = srcGlobalDigis->
getTOBL2Digis();
577 for (
unsigned int i = 0;
i < TOBL2Digis.size(); ++
i) {
582 std::vector<PGlobalDigi::SiStripDigi> TOBL3Digis = srcGlobalDigis->
getTOBL3Digis();
584 for (
unsigned int i = 0;
i < TOBL3Digis.size(); ++
i) {
589 std::vector<PGlobalDigi::SiStripDigi> TOBL4Digis = srcGlobalDigis->
getTOBL4Digis();
591 for (
unsigned int i = 0;
i < TOBL4Digis.size(); ++
i) {
596 std::vector<PGlobalDigi::SiStripDigi> TIDW1Digis = srcGlobalDigis->
getTIDW1Digis();
598 for (
unsigned int i = 0;
i < TIDW1Digis.size(); ++
i) {
603 std::vector<PGlobalDigi::SiStripDigi> TIDW2Digis = srcGlobalDigis->
getTIDW2Digis();
605 for (
unsigned int i = 0;
i < TIDW2Digis.size(); ++
i) {
610 std::vector<PGlobalDigi::SiStripDigi> TIDW3Digis = srcGlobalDigis->
getTIDW3Digis();
612 for (
unsigned int i = 0;
i < TIDW3Digis.size(); ++
i) {
617 std::vector<PGlobalDigi::SiStripDigi> TECW1Digis = srcGlobalDigis->
getTECW1Digis();
619 for (
unsigned int i = 0;
i < TECW1Digis.size(); ++
i) {
624 std::vector<PGlobalDigi::SiStripDigi> TECW2Digis = srcGlobalDigis->
getTECW2Digis();
626 for (
unsigned int i = 0;
i < TECW2Digis.size(); ++
i) {
631 std::vector<PGlobalDigi::SiStripDigi> TECW3Digis = srcGlobalDigis->
getTECW3Digis();
633 for (
unsigned int i = 0;
i < TECW3Digis.size(); ++
i) {
638 std::vector<PGlobalDigi::SiStripDigi> TECW4Digis = srcGlobalDigis->
getTECW4Digis();
640 for (
unsigned int i = 0;
i < TECW4Digis.size(); ++
i) {
645 std::vector<PGlobalDigi::SiStripDigi> TECW5Digis = srcGlobalDigis->
getTECW5Digis();
647 for (
unsigned int i = 0;
i < TECW5Digis.size(); ++
i) {
652 std::vector<PGlobalDigi::SiStripDigi> TECW6Digis = srcGlobalDigis->
getTECW6Digis();
654 for (
unsigned int i = 0;
i < TECW6Digis.size(); ++
i) {
659 std::vector<PGlobalDigi::SiStripDigi> TECW7Digis = srcGlobalDigis->
getTECW7Digis();
661 for (
unsigned int i = 0;
i < TECW7Digis.size(); ++
i) {
666 std::vector<PGlobalDigi::SiStripDigi> TECW8Digis = srcGlobalDigis->
getTECW8Digis();
668 for (
unsigned int i = 0;
i < TECW8Digis.size(); ++
i) {
674 std::vector<PGlobalDigi::SiPixelDigi> BRL1Digis = srcGlobalDigis->
getBRL1Digis();
676 for (
unsigned int i = 0;
i < BRL1Digis.size(); ++
i) {
682 std::vector<PGlobalDigi::SiPixelDigi> BRL2Digis = srcGlobalDigis->
getBRL2Digis();
684 for (
unsigned int i = 0;
i < BRL2Digis.size(); ++
i) {
690 std::vector<PGlobalDigi::SiPixelDigi> BRL3Digis = srcGlobalDigis->
getBRL3Digis();
692 for (
unsigned int i = 0;
i < BRL3Digis.size(); ++
i) {
698 std::vector<PGlobalDigi::SiPixelDigi> FWD1pDigis = srcGlobalDigis->
getFWD1pDigis();
700 for (
unsigned int i = 0;
i < FWD1pDigis.size(); ++
i) {
706 std::vector<PGlobalDigi::SiPixelDigi> FWD1nDigis = srcGlobalDigis->
getFWD1nDigis();
708 for (
unsigned int i = 0;
i < FWD1nDigis.size(); ++
i) {
714 std::vector<PGlobalDigi::SiPixelDigi> FWD2pDigis = srcGlobalDigis->
getFWD2pDigis();
716 for (
unsigned int i = 0;
i < FWD2pDigis.size(); ++
i) {
722 std::vector<PGlobalDigi::SiPixelDigi> FWD2nDigis = srcGlobalDigis->
getFWD2nDigis();
724 for (
unsigned int i = 0;
i < FWD2nDigis.size(); ++
i) {
731 std::vector<PGlobalDigi::DTDigi> MB1Digis = srcGlobalDigis->
getMB1Digis();
733 for (
unsigned int i = 0;
i < MB1Digis.size(); ++
i) {
734 float layer = 4.0 * (MB1Digis[
i].SLAYER - 1.0) + MB1Digis[
i].LAYER;
740 std::vector<PGlobalDigi::DTDigi> MB2Digis = srcGlobalDigis->
getMB2Digis();
742 for (
unsigned int i = 0;
i < MB2Digis.size(); ++
i) {
743 float layer = 4.0 * (MB2Digis[
i].SLAYER - 1.0) + MB2Digis[
i].LAYER;
749 std::vector<PGlobalDigi::DTDigi> MB3Digis = srcGlobalDigis->
getMB3Digis();
751 for (
unsigned int i = 0;
i < MB3Digis.size(); ++
i) {
752 float layer = 4.0 * (MB3Digis[
i].SLAYER - 1.0) + MB3Digis[
i].LAYER;
758 std::vector<PGlobalDigi::DTDigi> MB4Digis = srcGlobalDigis->
getMB4Digis();
760 for (
unsigned int i = 0;
i < MB4Digis.size(); ++
i) {
761 float layer = 4.0 * (MB4Digis[
i].SLAYER - 1.0) + MB4Digis[
i].LAYER;
768 std::vector<PGlobalDigi::CSCstripDigi> CSCstripDigis = srcGlobalDigis->
getCSCstripDigis();
770 for (
unsigned int i = 0;
i < CSCstripDigis.size(); ++
i) {
775 std::vector<PGlobalDigi::CSCwireDigi> CSCwireDigis = srcGlobalDigis->
getCSCwireDigis();
777 for (
unsigned int i = 0;
i < CSCwireDigis.size(); ++
i) {
781 edm::LogInfo(MsgLoggerCat) <<
"Done gathering data from event.";
int getnFWD1pDigis() const
int getnBRL1Digis() const
SiStripDigiVector getTECW5Digis() const
MonitorElement * mehHcaln[4]
SiStripDigiVector getTECW7Digis() const
int getnTIDW2Digis() const
MonitorElement * mehDtMuonLayer[4]
DTDigiVector getMB3Digis() const
HCalDigiVector getHOCalDigis() const
SiStripDigiVector getTOBL3Digis() const
int getnTIDW1Digis() const
MonitorElement * mehCSCWireTime
int getnTIDW3Digis() const
MonitorElement * mehEcalMultvAEE[2]
SiStripDigiVector getTOBL2Digis() const
SiStripDigiVector getTIBL2Digis() const
int getnTECW3Digis() const
SiStripDigiVector getTIDW1Digis() const
int getnTOBL1Digis() const
SiStripDigiVector getTIBL1Digis() const
int getnHECalDigis() const
int getnFWD2nDigis() const
int getnESCalDigis() const
int getnHFCalDigis() const
SiPixelDigiVector getBRL1Digis() const
int getnTECW6Digis() const
unsigned long long EventNumber_t
int getnTIBL3Digis() const
MonitorElement * mehHcalAEESHE[4]
MonitorElement * mehSiPixelCol[7]
MonitorElement * mehHcalSHEvAEE[4]
int getnTOBL3Digis() const
int getnEECalDigis() const
MonitorElement * mehHcalSHE[4]
MonitorElement * mehCSCStripn
int getnTECW2Digis() const
MonitorElement * mehDtMuonTimevLayer[4]
SiStripDigiVector getTECW6Digis() const
int getnTOBL4Digis() const
int getnTECW5Digis() const
SiStripDigiVector getTECW4Digis() const
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
MonitorElement * mehSiStripADC[19]
int getnFWD1nDigis() const
SiStripDigiVector getTECW8Digis() const
int getnBRL2Digis() const
DTDigiVector getMB2Digis() const
int getnTIBL4Digis() const
int getnTECW1Digis() const
HCalDigiVector getHECalDigis() const
MonitorElement * mehEcalSHEvAEESHE[2]
SiPixelDigiVector getFWD1nDigis() const
int getnBRL3Digis() const
MonitorElement * mehEcalSHE[2]
MonitorElement * mehHcalAEE[4]
ECalDigiVector getEECalDigis() const
HCalDigiVector getHFCalDigis() const
MonitorElement * mehSiPixelRow[7]
MonitorElement * mehEcaln[3]
MonitorElement * mehCSCWiren
SiStripDigiVector getTIBL3Digis() const
SiPixelDigiVector getBRL3Digis() const
MonitorElement * mehSiPixelADC[7]
int getnCSCstripDigis() const
int getnTIBL1Digis() const
MonitorElement * mehSiPixeln[7]
int getnCSCwireDigis() const
SiStripDigiVector getTECW3Digis() const
SiStripDigiVector getTECW2Digis() const
DTDigiVector getMB1Digis() const
CSCstripDigiVector getCSCstripDigis() const
SiPixelDigiVector getBRL2Digis() const
int getnFWD2pDigis() const
int getnTECW4Digis() const
int getnTIBL2Digis() const
SiPixelDigiVector getFWD1pDigis() const
Log< level::Info, false > LogInfo
int getnTECW7Digis() const
MonitorElement * mehDtMuonn[4]
int getnHBCalDigis() const
HCalDigiVector getHBCalDigis() const
int getnEBCalDigis() const
CSCwireDigiVector getCSCwireDigis() const
ECalDigiVector getEBCalDigis() const
MonitorElement * mehDtMuonTime[4]
SiStripDigiVector getTOBL1Digis() const
MonitorElement * mehSiStripStrip[19]
int getnHOCalDigis() const
SiStripDigiVector getTIDW2Digis() const
SiPixelDigiVector getFWD2pDigis() const
MonitorElement * mehEScalADC[3]
SiStripDigiVector getTIDW3Digis() const
MonitorElement * mehEcalAEE[2]
MonitorElement * mehEcalMaxPos[2]
SiStripDigiVector getTIBL4Digis() const
edm::EDGetTokenT< PGlobalDigi > GlobalDigisSrc_Token_
MonitorElement * mehSiStripn[19]
Log< level::Warning, false > LogWarning
MonitorElement * mehCSCStripADC
int getnTOBL2Digis() const
SiStripDigiVector getTECW1Digis() const
DTDigiVector getMB4Digis() const
ESCalDigiVector getESCalDigis() const
SiStripDigiVector getTOBL4Digis() const
SiPixelDigiVector getFWD2nDigis() const
int getnTECW8Digis() const