#include <GlobalRecHitsAnalyzer.h>
Public Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Protected Member Functions | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from edm::stream::EDAnalyzerBase | |
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) |
Private Member Functions | |
template<typename type > | |
int | compute (const DTGeometry *dtGeom, const std::map< DTWireId, std::vector< PSimHit > > &simHitsPerWire, const std::map< DTWireId, std::vector< type > > &recHitsPerWire, int step) |
void | fillECal (const edm::Event &, const edm::EventSetup &) |
void | fillHCal (const edm::Event &, const edm::EventSetup &) |
void | fillMuon (const edm::Event &, const edm::EventSetup &) |
void | fillTrk (const edm::Event &, const edm::EventSetup &) |
template<typename type > | |
const type * | findBestRecHit (const DTLayer *layer, DTWireId wireId, const std::vector< type > &recHits, const float simHitDist) |
std::map< DTWireId, std::vector< DTRecHit1DPair > > | map1DRecHitsPerWire (const DTRecHitCollection *dt1DRecHitPairs) |
void | plotResolution (const PSimHit &simHit, const CSCRecHit2D &recHit, const CSCLayer *layer, int chamberType) |
std::pair< LocalPoint, LocalVector > | projectHit (const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane) |
float | recHitDistFromWire (const DTRecHit1DPair &hitPair, const DTLayer *layer) |
float | recHitDistFromWire (const DTRecHit1D &recHit, const DTLayer *layer) |
float | simHitDistFromWire (const DTLayer *layer, DTWireId wireId, const PSimHit &hit) |
Additional Inherited Members | |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr < dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 142 of file GlobalRecHitsAnalyzer.h.
typedef std::map<uint32_t,float,std::less<uint32_t> > GlobalRecHitsAnalyzer::MapType |
Definition at line 147 of file GlobalRecHitsAnalyzer.h.
|
explicit |
Definition at line 16 of file GlobalRecHitsAnalyzer.cc.
References conf_, EBHits_Token_, ECalEBSrc_, ECalEBSrc_Token_, ECalEESrc_, ECalEESrc_Token_, ECalESSrc_, ECalESSrc_Token_, ECalUncalEBSrc_, ECalUncalEBSrc_Token_, ECalUncalEESrc_, ECalUncalEESrc_Token_, EEHits_Token_, ESHits_Token_, fName, frequency, getAllProvenances, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HCalSrc_, HCalSrc_Token_, hitsProducer, HLT_25ns14e33_v1_cff::InputTag, edm::InputTag::instance(), edm::InputTag::label(), MuCSCHits_Token_, MuCSCSrc_, MuCSCSrc_Token_, MuDTSimSrc_, MuDTSimSrc_Token_, MuDTSrc_, MuDTSrc_Token_, MuRPCSimSrc_, MuRPCSimSrc_Token_, MuRPCSrc_, MuRPCSrc_Token_, printProvenanceInfo, SiPxlSrc_, SiPxlSrc_Token_, SiStripSrc_, SiStripSrc_Token_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
virtual |
Definition at line 121 of file GlobalRecHitsAnalyzer.cc.
|
virtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 291 of file GlobalRecHitsAnalyzer.cc.
References count, edm::EventID::event(), fillECal(), fillHCal(), fillMuon(), fillTrk(), frequency, edm::Event::getAllProvenance(), getAllProvenances, i, edm::EventBase::id(), nevt, printProvenanceInfo, edm::EventID::run(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
|
overrideprotectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 123 of file GlobalRecHitsAnalyzer.cc.
References DQMStore::IBooker::book1D(), i, j, mehCSCn, mehCSCResRDPhi, mehDtMuonn, mehDtMuonRes, mehEcaln, mehEcalRes, mehHcaln, mehHcalRes, mehRPCn, mehRPCResX, mehSiPixeln, mehSiPixelResX, mehSiPixelResY, mehSiStripn, mehSiStripResX, mehSiStripResY, MonitorElement::setAxisTitle(), and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 1613 of file GlobalRecHitsAnalyzer.cc.
References MonitorElement::Fill(), findBestRecHit(), DTHitQualityUtils::findMuSimHit(), DTGeometry::layer(), python.multivaluedict::map(), mehDtMuonRes, recHitDistFromWire(), and simHitDistFromWire().
Referenced by fillMuon().
|
private |
Definition at line 365 of file GlobalRecHitsAnalyzer.cc.
References HLT_50ns_5e33_v1_cff::barrelHits, edm::SortedCollection< T, SORT >::begin(), EBHits_Token_, ECalEBSrc_Token_, ECalEESrc_Token_, ECalESSrc_Token_, ECalUncalEBSrc_Token_, ECalUncalEESrc_Token_, EEHits_Token_, edm::SortedCollection< T, SORT >::end(), HLT_50ns_5e33_v1_cff::endcapHits, ESHits_Token_, MonitorElement::Fill(), edm::SortedCollection< T, SORT >::find(), edm::Event::getByToken(), edm::HandleBase::isValid(), LogDebug, mehEcaln, mehEcalRes, edm::Handle< T >::product(), DetId::rawId(), AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by analyze().
|
private |
Definition at line 598 of file GlobalRecHitsAnalyzer.cc.
References MonitorElement::Fill(), geometry, edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getManyByType(), CaloCellGeometry::getPosition(), HCalSrc_Token_, ihf, edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), LogDebug, mehHcaln, mehHcalRes, PV3DBase< T, PVType, FrameType >::phi(), PI, edm::Handle< T >::product(), DetId::rawId(), sdHcalBrl, sdHcalEC, sdHcalFwd, sdHcalOut, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
Referenced by analyze().
|
private |
Definition at line 1280 of file GlobalRecHitsAnalyzer.cc.
References CSCLayer::chamber(), CSCChamberSpecs::chamberType(), compute(), CSCDetId, MonitorElement::Fill(), edm::EventSetup::get(), edm::Event::getByToken(), i, CSCGeometry::idToDetUnit(), RPCRoll::isForward(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), getDQMSummary::iter, LogDebug, map1DRecHitsPerWire(), DTHitQualityUtils::mapSimHitsPerWire(), mehCSCn, mehDtMuonn, mehRPCn, mehRPCResX, MuCSCHits_Token_, MuCSCSrc_Token_, MuDTSimSrc_Token_, MuDTSrc_Token_, MuRPCSimSrc_Token_, MuRPCSrc_Token_, plotResolution(), edm::Handle< T >::product(), edm::ESHandle< class >::product(), alignCSCRings::r, RPCDetId, trackerHits::simHits, CSCChamber::specs(), AlCaHLTBitMon_QueryRunRegistry::string, theMap, verbosity, and PV3DBase< T, PVType, FrameType >::x().
Referenced by analyze().
|
private |
Definition at line 890 of file GlobalRecHitsAnalyzer.cc.
References TrackerHitAssociator::associateHit(), edmNew::DetSet< T >::begin(), conf_, cond::rpcobgas::detid, edmNew::DetSet< T >::end(), MonitorElement::Fill(), TrackingRecHit::geographicalId(), relativeConstraints::geom, edm::EventSetup::get(), edm::Event::getByToken(), i, TrackerGeometry::idToDet(), edm::ESHandleBase::isValid(), edm::HandleBase::isValid(), BaseTrackerRecHit::localPosition(), LogDebug, contentValuesFiles::m, matched, mehSiPixeln, mehSiPixelResX, mehSiPixelResY, mehSiStripn, mehSiStripResX, mehSiStripResY, position, edm::ESHandle< class >::product(), projectHit(), TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), TrackerTopology::pxfSide(), sdPxlBrl, sdPxlFwd, sdSiTEC, sdSiTIB, sdSiTID, sdSiTOB, SiPxlSrc_Token_, SiStripSrc_Token_, mathSSE::sqrt(), GluedGeomDet::stereoDet(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), TrackerTopology::tecWheel(), TrackerTopology::tibLayer(), TrackerTopology::tidWheel(), TrackerTopology::tobLayer(), patCandidatesForDimuonsSequences_cff::tracker, verbosity, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by analyze().
|
private |
Definition at line 1575 of file GlobalRecHitsAnalyzer.cc.
References recHitDistFromWire().
Referenced by compute().
|
private |
Definition at line 1546 of file GlobalRecHitsAnalyzer.cc.
References run_regression::ret.
Referenced by fillMuon().
|
private |
Definition at line 1671 of file GlobalRecHitsAnalyzer.cc.
References MonitorElement::Fill(), PSimHit::localPosition(), CSCRecHit2D::localPosition(), mehCSCResRDPhi, PV3DBase< T, PVType, FrameType >::phi(), and GeomDet::toGlobal().
Referenced by fillMuon().
|
private |
Definition at line 1515 of file GlobalRecHitsAnalyzer.cc.
References funct::cos(), dir, PSimHit::localDirection(), PSimHit::localPosition(), pileupReCalc_HLTpaths::scale, funct::sin(), StripGeomDetUnit::specificTopology(), StripTopology::strip(), StripTopology::stripAngle(), GeomDet::surface(), Surface::toGlobal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillTrk().
|
private |
Definition at line 1597 of file GlobalRecHitsAnalyzer.cc.
References DTEnums::Left, DTRecHit1DPair::localPosition(), DTEnums::Right, and PV3DBase< T, PVType, FrameType >::x().
Referenced by compute(), and findBestRecHit().
|
private |
Definition at line 1606 of file GlobalRecHitsAnalyzer.cc.
References DTRecHit1D::localPosition(), DTLayer::specificTopology(), DTWireId::wire(), DTRecHit1D::wireId(), DTTopology::wirePosition(), and PV3DBase< T, PVType, FrameType >::x().
|
private |
Definition at line 1559 of file GlobalRecHitsAnalyzer.cc.
References PSimHit::entryPoint(), PSimHit::exitPoint(), DTLayer::specificTopology(), DTWireId::wire(), DTTopology::wirePosition(), PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by compute().
|
private |
Definition at line 224 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 301 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 197 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 187 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 192 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 189 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 193 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 191 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 194 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 188 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 195 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 190 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 196 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 198 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 199 of file GlobalRecHitsAnalyzer.h.
Referenced by fillECal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 173 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 175 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 177 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 206 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 207 of file GlobalRecHitsAnalyzer.h.
Referenced by fillHCal(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 179 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 176 of file GlobalRecHitsAnalyzer.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::_sort_list(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::foundIn(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::fullFilename(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor::properties(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::readConnections(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor::updateProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::usedBy().
|
private |
Definition at line 219 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk().
|
private |
Definition at line 239 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 242 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and plotResolution().
|
private |
Definition at line 238 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 241 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and compute().
|
private |
Definition at line 184 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillECal().
|
private |
Definition at line 185 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillECal().
|
private |
Definition at line 203 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillHCal().
|
private |
Definition at line 204 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillHCal().
|
private |
Definition at line 240 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 243 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillMuon().
|
private |
Definition at line 228 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 229 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 230 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 212 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 213 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 214 of file GlobalRecHitsAnalyzer.h.
Referenced by bookHistograms(), and fillTrk().
|
private |
Definition at line 285 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 283 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 284 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 246 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 248 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 245 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 247 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 296 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 298 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 295 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 297 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 178 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 232 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 233 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 216 of file GlobalRecHitsAnalyzer.h.
Referenced by GlobalRecHitsAnalyzer().
|
private |
Definition at line 217 of file GlobalRecHitsAnalyzer.h.
Referenced by fillTrk(), and GlobalRecHitsAnalyzer().
|
private |
Definition at line 287 of file GlobalRecHitsAnalyzer.h.
Referenced by fillMuon().
|
private |
Definition at line 174 of file GlobalRecHitsAnalyzer.h.
Referenced by analyze(), fillECal(), fillHCal(), fillMuon(), fillTrk(), and GlobalRecHitsAnalyzer().