#include <GlobalHitsProdHist.h>
Public Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual void | endRunProduce (edm::Run &, const edm::EventSetup &) override |
GlobalHitsProdHist (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
virtual | ~GlobalHitsProdHist () |
Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | fillECal (edm::Event &, const edm::EventSetup &) |
void | fillG4MC (edm::Event &) |
void | fillHCal (edm::Event &, const edm::EventSetup &) |
void | fillMuon (edm::Event &, const edm::EventSetup &) |
void | fillTrk (edm::Event &, const edm::EventSetup &) |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
typedef WorkerT< EDProducerBase > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::one::EDProducerBase | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Class to fill dqm monitor elements from existing EDM file
Definition at line 76 of file GlobalHitsProdHist.h.
|
explicit |
Definition at line 13 of file GlobalHitsProdHist.cc.
References ECalEBSrc_, ECalEESrc_, ECalESSrc_, fName, frequency, getAllProvenances, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hCaloEcal, hCaloEcalE, hCaloEcalEta, hCaloEcalPhi, hCaloEcalToF, hCaloHcal, hCaloHcalE, hCaloHcalEta, hCaloHcalPhi, hCaloHcalToF, hCaloPreSh, hCaloPreShE, hCaloPreShEta, hCaloPreShPhi, hCaloPreShToF, HCalSrc_, hGeantTrkE, hGeantTrkPt, hGeantVtxX, hGeantVtxY, hGeantVtxZ, histMap_, histName_, hMCG4Trk, hMCG4Vtx, hMCRGP, hMuon, hMuonCscToF, hMuonCscZ, hMuonDtR, hMuonDtToF, hMuonEta, hMuonPhi, hMuonRpcBR, hMuonRpcBToF, hMuonRpcFToF, hMuonRpcFZ, hTrackerPx, hTrackerPxBR, hTrackerPxBToF, hTrackerPxEta, hTrackerPxFToF, hTrackerPxFZ, hTrackerPxPhi, hTrackerSi, hTrackerSiBR, hTrackerSiBToF, hTrackerSiEta, hTrackerSiFToF, hTrackerSiFZ, hTrackerSiPhi, i, edm::InputTag::instance(), edm::InputTag::label(), MuonCscSrc_, MuonDtSrc_, MuonRpcSrc_, printProvenanceInfo, PxlBrlHighSrc_, PxlBrlLowSrc_, PxlFwdHighSrc_, PxlFwdLowSrc_, SiTECHighSrc_, SiTECLowSrc_, SiTIBHighSrc_, SiTIBLowSrc_, SiTIDHighSrc_, SiTIDLowSrc_, SiTOBHighSrc_, SiTOBLowSrc_, AlCaHLTBitMon_QueryRunRegistry::string, verbosity, and vtxunit.
|
virtual |
Definition at line 615 of file GlobalHitsProdHist.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 619 of file GlobalHitsProdHist.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 624 of file GlobalHitsProdHist.cc.
References count, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overridevirtual |
Definition at line 709 of file GlobalHitsProdHist.cc.
References histMap_, histName_, i, edm::Run::put(), AlCaHLTBitMon_QueryRunRegistry::string, verbosity, and warning.
|
private |
Definition at line 1577 of file GlobalHitsProdHist.cc.
References dEcal, DetId::det(), ECalEBSrc_, ECalEESrc_, ECalESSrc_, PV3DBase< T, PVType, FrameType >::eta(), edm::EventSetup::get(), edm::Event::getByLabel(), CaloGeometry::getGeometry(), CaloCellGeometry::getPosition(), hCaloEcal, hCaloEcalE, hCaloEcalEta, hCaloEcalPhi, hCaloEcalToF, hCaloPreSh, hCaloPreShE, hCaloPreShEta, hCaloPreShPhi, hCaloPreShToF, i, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), j, PV3DBase< T, PVType, FrameType >::phi(), sdEcalBrl, sdEcalFwd, sdEcalPS, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by produce().
|
private |
Definition at line 745 of file GlobalHitsProdHist.cc.
References HcalObjRepresent::Fill(), G4TrkSrc_, G4VtxSrc_, edm::Event::getByLabel(), edm::Event::getManyByType(), hGeantTrkE, hGeantTrkPt, hGeantVtxX, hGeantVtxY, hGeantVtxZ, hMCG4Trk, hMCG4Vtx, hMCRGP, i, edm::HandleBase::isValid(), nRawGenPart, edm::Provenance::product(), edm::HandleBase::provenance(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, csvLumiCalc::unit, verbosity, and vtxunit.
Referenced by produce().
|
private |
Definition at line 1758 of file GlobalHitsProdHist.cc.
References DetId::det(), dHcal, PV3DBase< T, PVType, FrameType >::eta(), edm::EventSetup::get(), edm::Event::getByLabel(), CaloGeometry::getGeometry(), CaloCellGeometry::getPosition(), hCaloHcal, hCaloHcalE, hCaloHcalEta, hCaloHcalPhi, hCaloHcalToF, HCalSrc_, i, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), j, PV3DBase< T, PVType, FrameType >::phi(), sdHcalBrl, sdHcalEC, sdHcalFwd, sdHcalOut, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by produce().
|
private |
Definition at line 1281 of file GlobalHitsProdHist.cc.
References DetId::det(), dMuon, eta(), edm::EventSetup::get(), edm::Event::getByLabel(), hMuon, hMuonCscToF, hMuonCscZ, hMuonDtR, hMuonDtToF, hMuonEta, hMuonPhi, hMuonRpcBR, hMuonRpcBToF, hMuonRpcFToF, hMuonRpcFZ, i, RPCGeometry::idToDetUnit(), CSCGeometry::idToDetUnit(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), j, DTGeometry::layer(), MuonCscSrc_, MuonDtSrc_, MuonRpcSrc_, nMuonHits, perp(), phi, RPCDetId::region(), sdMuonCSC, sdMuonDT, sdMuonRPC, sdMuonRPCRgnBrl, sdMuonRPCRgnFwdn, sdMuonRPCRgnFwdp, AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), verbosity, and detailsBasic3DVector::z.
Referenced by produce().
|
private |
Definition at line 880 of file GlobalHitsProdHist.cc.
References DetId::det(), dTrk, eta(), edm::EventSetup::get(), edm::Event::getByLabel(), hTrackerPx, hTrackerPxBR, hTrackerPxBToF, hTrackerPxEta, hTrackerPxFToF, hTrackerPxFZ, hTrackerPxPhi, hTrackerSi, hTrackerSiBR, hTrackerSiBToF, hTrackerSiEta, hTrackerSiFToF, hTrackerSiFZ, hTrackerSiPhi, i, TrackerGeometry::idToDetUnit(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), j, nPxlHits, nSiHits, perp(), phi, PxlBrlHighSrc_, PxlBrlLowSrc_, PxlFwdHighSrc_, PxlFwdLowSrc_, sdPxlBrl, sdPxlFwd, sdSiTEC, sdSiTIB, sdSiTID, sdSiTOB, SiTECHighSrc_, SiTECLowSrc_, SiTIBHighSrc_, SiTIBLowSrc_, SiTIDHighSrc_, SiTIDLowSrc_, SiTOBHighSrc_, SiTOBLowSrc_, AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), verbosity, and detailsBasic3DVector::z.
Referenced by produce().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 633 of file GlobalHitsProdHist.cc.
References count, edm::EventID::event(), fillECal(), fillG4MC(), fillHCal(), fillMuon(), fillTrk(), frequency, edm::Event::getAllProvenance(), getAllProvenances, i, edm::EventBase::id(), nevt, printProvenanceInfo, edm::EventID::run(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
private |
Definition at line 211 of file GlobalHitsProdHist.h.
|
private |
Definition at line 136 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 137 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 145 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 102 of file GlobalHitsProdHist.h.
Referenced by GlobalHitsProdHist().
|
private |
Definition at line 104 of file GlobalHitsProdHist.h.
Referenced by GlobalHitsProdHist(), and produce().
|
private |
Definition at line 127 of file GlobalHitsProdHist.h.
Referenced by fillG4MC().
|
private |
Definition at line 126 of file GlobalHitsProdHist.h.
Referenced by fillG4MC().
|
private |
Definition at line 106 of file GlobalHitsProdHist.h.
Referenced by GlobalHitsProdHist(), and produce().
|
private |
Definition at line 131 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 132 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 135 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 134 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 133 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 149 of file GlobalHitsProdHist.h.
Referenced by fillHCal(), and GlobalHitsProdHist().
|
private |
Definition at line 150 of file GlobalHitsProdHist.h.
Referenced by fillHCal(), and GlobalHitsProdHist().
|
private |
Definition at line 153 of file GlobalHitsProdHist.h.
Referenced by fillHCal(), and GlobalHitsProdHist().
|
private |
Definition at line 152 of file GlobalHitsProdHist.h.
Referenced by fillHCal(), and GlobalHitsProdHist().
|
private |
Definition at line 151 of file GlobalHitsProdHist.h.
Referenced by fillHCal(), and GlobalHitsProdHist().
|
private |
Definition at line 140 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 141 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 144 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 143 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 142 of file GlobalHitsProdHist.h.
Referenced by fillECal(), and GlobalHitsProdHist().
|
private |
Definition at line 154 of file GlobalHitsProdHist.h.
Referenced by fillHCal(), and GlobalHitsProdHist().
|
private |
Definition at line 123 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 122 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 118 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 119 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 120 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 113 of file GlobalHitsProdHist.h.
Referenced by endRunProduce(), and GlobalHitsProdHist().
|
private |
Definition at line 112 of file GlobalHitsProdHist.h.
Referenced by endRunProduce(), and GlobalHitsProdHist().
|
private |
Definition at line 121 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 117 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 116 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().
|
private |
Definition at line 190 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 200 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 201 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 197 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 196 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 192 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 191 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 207 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 206 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 204 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 205 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 159 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 163 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 162 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 161 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 164 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 165 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 160 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 173 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 177 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 176 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 175 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 178 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 179 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 174 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 202 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 198 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 208 of file GlobalHitsProdHist.h.
Referenced by fillMuon(), and GlobalHitsProdHist().
|
private |
Definition at line 193 of file GlobalHitsProdHist.h.
Referenced by fillMuon().
|
private |
Definition at line 158 of file GlobalHitsProdHist.h.
Referenced by fillTrk().
|
private |
Definition at line 124 of file GlobalHitsProdHist.h.
Referenced by fillG4MC().
|
private |
Definition at line 172 of file GlobalHitsProdHist.h.
Referenced by fillTrk().
|
private |
Definition at line 107 of file GlobalHitsProdHist.h.
Referenced by GlobalHitsProdHist(), and produce().
|
private |
Definition at line 167 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 166 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 169 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 168 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 187 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 186 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 181 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 180 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 185 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 184 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 183 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 182 of file GlobalHitsProdHist.h.
Referenced by fillTrk(), and GlobalHitsProdHist().
|
private |
Definition at line 103 of file GlobalHitsProdHist.h.
Referenced by endJob(), endRunProduce(), fillECal(), fillG4MC(), fillHCal(), fillMuon(), fillTrk(), GlobalHitsProdHist(), and produce().
|
private |
Definition at line 105 of file GlobalHitsProdHist.h.
Referenced by fillG4MC(), and GlobalHitsProdHist().