#include <DQM/SiStripMonitorMuonHLT/src/SiStripMonitorMuonHLT.cc>
Classes | |
struct | LayerMEs |
Public Member Functions | |
SiStripMonitorMuonHLT (const edm::ParameterSet &ps) | |
~SiStripMonitorMuonHLT () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
void | analyzeOnTrackClusters (const reco::Track *l3tk, const TrackerGeometry &theTracker, bool isL3MuTrack=true) |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &es) |
void | createMEs (const edm::EventSetup &es) |
virtual void | endJob () |
void | GeometryFromTrackGeom (std::vector< DetId > Dets, const TrackerGeometry &theTracker, const edm::EventSetup &iSetup, std::map< std::string, std::vector< float > > &m_PhiStripMod_Eta, std::map< std::string, std::vector< float > > &m_PhiStripMod_Nb) |
float | GetEtaWeight (std::string label, GlobalPoint gp) |
float | GetPhiWeight (std::string label, GlobalPoint gp) |
void | Normalizer (std::vector< DetId > Dets, const TrackerGeometry &theTracker) |
void | PrintNormalization (std::vector< std::string > v_LabelHisto) |
Private Attributes | |
edm::InputTag | clusterCollectionTag_ |
int | counterEvt_ |
DQMStore * | dbe_ |
int | HistoNumber |
edm::InputTag | l3collectionTag_ |
std::map< std::string, LayerMEs > | LayerMEMap |
std::map< std::string, std::vector< float > > | m_BinEta |
std::map< std::string, std::vector< float > > | m_BinPhi |
std::map< std::string, std::vector< float > > | m_ModNormEta |
std::map< std::string, std::vector< float > > | m_ModNormPhi |
std::string | monitorName_ |
bool | normalize_ |
int | nTrig_ |
counter More... | |
std::string | outputFile_ |
edm::ParameterSet | parameters_ |
int | prescaleEvt_ |
mutriggered events More... | |
bool | printNormalize_ |
bool | runOnClusters_ |
bool | runOnMuonCandidates_ |
bool | runOnTracks_ |
TkDetMap * | tkdetmap_ |
TkHistoMap * | tkmapAllClusters |
TkHistoMap * | tkmapL3MuTrackClusters |
TkHistoMap * | tkmapOnTrackClusters |
edm::InputTag | TrackCollectionTag_ |
bool | verbose_ |
every n events More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 75 of file SiStripMonitorMuonHLT.h.
|
explicit |
Definition at line 25 of file SiStripMonitorMuonHLT.cc.
References clusterCollectionTag_, dbe_, edm::ParameterSet::getUntrackedParameter(), HistoNumber, edm::Service< T >::isAvailable(), l3collectionTag_, monitorName_, normalize_, NULL, cppFunctionSkipper::operator, outputFile_, parameters_, prescaleEvt_, printNormalize_, runOnClusters_, runOnMuonCandidates_, runOnTracks_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, tkdetmap_, TrackCollectionTag_, and verbose_.
SiStripMonitorMuonHLT::~SiStripMonitorMuonHLT | ( | ) |
Definition at line 80 of file SiStripMonitorMuonHLT.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 117 of file SiStripMonitorMuonHLT.cc.
References TkHistoMap::add(), analyzeOnTrackClusters(), clusterCollectionTag_, counterEvt_, dbe_, PV3DBase< T, PVType, FrameType >::eta(), edm::HandleBase::failedToGet(), TkDetMap::FindLayer(), edm::EventSetup::get(), edm::Event::getByLabel(), GetEtaWeight(), TkDetMap::getLayerName(), GetPhiWeight(), TrackerGeometry::idToDet(), edm::HandleBase::isValid(), l3collectionTag_, diffTwoXMLs::label, LayerMEMap, LogDebug, normalize_, PV3DBase< T, PVType, FrameType >::phi(), prescaleEvt_, edm::ESHandle< class >::product(), runOnClusters_, runOnMuonCandidates_, runOnTracks_, StripGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), tkdetmap_, tkmapAllClusters, Surface::toGlobal(), and TrackCollectionTag_.
|
private |
Definition at line 216 of file SiStripMonitorMuonHLT.cc.
References TkHistoMap::add(), PV3DBase< T, PVType, FrameType >::eta(), TkDetMap::FindLayer(), TrackingRecHit::geographicalId(), edm::Ref< C, T, F >::get(), GetEtaWeight(), TkDetMap::getLayerName(), GetPhiWeight(), TrackerGeometry::idToDet(), diffTwoXMLs::label, LayerMEMap, StripTopology::localPosition(), normalize_, PV3DBase< T, PVType, FrameType >::phi(), reco::Track::recHit(), reco::Track::recHitsSize(), StripGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDet::surface(), tkdetmap_, tkmapL3MuTrackClusters, tkmapOnTrackClusters, Surface::toGlobal(), and DetId::Tracker.
Referenced by analyze().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1288 of file SiStripMonitorMuonHLT.cc.
References createMEs(), dbe_, monitorName_, prescaleEvt_, runOnClusters_, runOnMuonCandidates_, runOnTracks_, tkmapAllClusters, tkmapL3MuTrackClusters, and tkmapOnTrackClusters.
|
private |
Creation of folder structure and ME decleration
Definition at line 442 of file SiStripMonitorMuonHLT.cc.
References begin, DQMStore::book1D(), DQMStore::book2D(), dbe_, TrackerGeometry::detUnitIds(), end, SiStripMonitorMuonHLT::LayerMEs::EtaDistribAllClustersMap, SiStripMonitorMuonHLT::LayerMEs::EtaDistribL3MuTrackClustersMap, SiStripMonitorMuonHLT::LayerMEs::EtaDistribOnTrackClustersMap, SiStripMonitorMuonHLT::LayerMEs::EtaPhiAllClustersMap, SiStripMonitorMuonHLT::LayerMEs::EtaPhiL3MuTrackClustersMap, SiStripMonitorMuonHLT::LayerMEs::EtaPhiOnTrackClustersMap, newFWLiteAna::fullName, GeometryFromTrackGeom(), edm::EventSetup::get(), TkDetMap::getLayerName(), SiStripFolderOrganizer::getSubDetLayerFolderName(), TkDetMap::getSubDetLayerSide(), HistoNumber, i, LayerMEMap, m_BinEta, m_BinPhi, M_PI, monitorName_, Normalizer(), AlCaHLTBitMon_ParallelJobs::p, SiStripMonitorMuonHLT::LayerMEs::PhiDistribAllClustersMap, SiStripMonitorMuonHLT::LayerMEs::PhiDistribL3MuTrackClustersMap, SiStripMonitorMuonHLT::LayerMEs::PhiDistribOnTrackClustersMap, edm::ESHandle< class >::product(), runOnClusters_, runOnMuonCandidates_, runOnTracks_, DQMStore::setCurrentFolder(), edm::shift, python.multivaluedict::sort(), AlCaHLTBitMon_QueryRunRegistry::string, indexGen::title, and tkdetmap_.
Referenced by beginRun().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1308 of file SiStripMonitorMuonHLT.cc.
References counterEvt_.
|
private |
Definition at line 642 of file SiStripMonitorMuonHLT.cc.
References prof2calltree::count, cond::rpcobgas::detid, PV3DBase< T, PVType, FrameType >::eta(), TkDetMap::FindLayer(), edm::EventSetup::get(), TkDetMap::getLayerName(), i, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), m_BinPhi, PV3DBase< T, PVType, FrameType >::phi(), edm::ESHandle< class >::product(), StripGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDetUnit::subDetector(), GeomDet::surface(), GeomDetEnumerators::TEC, TrackerTopology::tecIsBackPetal(), TrackerTopology::tecIsFrontPetal(), TrackerTopology::tecIsStereo(), TrackerTopology::tecIsZMinusSide(), TrackerTopology::tecModule(), TrackerTopology::tecPetalNumber(), TrackerTopology::tecRing(), GeomDetEnumerators::TIB, TrackerTopology::tibIsInternalString(), TrackerTopology::tibIsStereo(), TrackerTopology::tibIsZMinusSide(), TrackerTopology::tibModule(), TrackerTopology::tibString(), GeomDetEnumerators::TID, tkdetmap_, GeomDetEnumerators::TOB, TrackerTopology::tobIsStereo(), TrackerTopology::tobIsZMinusSide(), TrackerTopology::tobModule(), TrackerTopology::tobRod(), and Surface::toGlobal().
Referenced by createMEs().
|
private |
Definition at line 93 of file SiStripMonitorMuonHLT.cc.
References PV3DBase< T, PVType, FrameType >::eta(), i, diffTwoXMLs::label, m_BinEta, and m_ModNormEta.
Referenced by analyze(), and analyzeOnTrackClusters().
|
private |
Definition at line 104 of file SiStripMonitorMuonHLT.cc.
References i, diffTwoXMLs::label, m_BinPhi, m_ModNormPhi, and PV3DBase< T, PVType, FrameType >::phi().
Referenced by analyze(), and analyzeOnTrackClusters().
|
private |
Definition at line 832 of file SiStripMonitorMuonHLT.cc.
References prof2calltree::count, cond::rpcobgas::detid, PV3DBase< T, PVType, FrameType >::eta(), eta(), TkDetMap::FindLayer(), TkDetMap::getLayerName(), i, TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), TrapezoidalPlaneBounds::length(), m_BinEta, m_BinPhi, m_ModNormEta, m_ModNormPhi, M_PI, max(), min, convertSQLitetoXML_cfg::output, phi, PV3DBase< T, PVType, FrameType >::phi(), jptDQMConfig_cff::phiMax, jptDQMConfig_cff::phiMin, PrintNormalization(), printNormalize_, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, GeomDetUnit::subDetector(), GeomDet::surface(), GeomDetEnumerators::TEC, GeomDetEnumerators::TIB, GeomDetEnumerators::TID, tkdetmap_, GeomDetEnumerators::TOB, Surface::toGlobal(), create_public_lumi_plots::width, TrapezoidalPlaneBounds::widthAtHalfLength(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by createMEs().
|
private |
Definition at line 1243 of file SiStripMonitorMuonHLT.cc.
References i, m_BinEta, m_BinPhi, m_ModNormEta, m_ModNormPhi, AlCaHLTBitMon_ParallelJobs::p, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Normalizer().
|
private |
Definition at line 130 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 117 of file SiStripMonitorMuonHLT.h.
|
private |
Definition at line 114 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), beginRun(), createMEs(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 134 of file SiStripMonitorMuonHLT.h.
Referenced by createMEs(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 131 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 136 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), analyzeOnTrackClusters(), and createMEs().
|
private |
Definition at line 145 of file SiStripMonitorMuonHLT.h.
Referenced by createMEs(), GetEtaWeight(), Normalizer(), and PrintNormalization().
|
private |
Definition at line 144 of file SiStripMonitorMuonHLT.h.
Referenced by createMEs(), GeometryFromTrackGeom(), GetPhiWeight(), Normalizer(), and PrintNormalization().
|
private |
Definition at line 147 of file SiStripMonitorMuonHLT.h.
Referenced by GetEtaWeight(), Normalizer(), and PrintNormalization().
|
private |
Definition at line 146 of file SiStripMonitorMuonHLT.h.
Referenced by GetPhiWeight(), Normalizer(), and PrintNormalization().
|
private |
Definition at line 115 of file SiStripMonitorMuonHLT.h.
Referenced by beginRun(), createMEs(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 121 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), analyzeOnTrackClusters(), and SiStripMonitorMuonHLT().
|
private |
counter
Definition at line 118 of file SiStripMonitorMuonHLT.h.
|
private |
Definition at line 116 of file SiStripMonitorMuonHLT.h.
Referenced by SiStripMonitorMuonHLT().
|
private |
Definition at line 112 of file SiStripMonitorMuonHLT.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), and SiStripMonitorMuonHLT().
|
private |
mutriggered events
Definition at line 119 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), beginRun(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 122 of file SiStripMonitorMuonHLT.h.
Referenced by Normalizer(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 125 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), beginRun(), createMEs(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 126 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), beginRun(), createMEs(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 127 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), beginRun(), createMEs(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 135 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), analyzeOnTrackClusters(), createMEs(), GeometryFromTrackGeom(), Normalizer(), and SiStripMonitorMuonHLT().
|
private |
Definition at line 138 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 140 of file SiStripMonitorMuonHLT.h.
Referenced by analyzeOnTrackClusters(), and beginRun().
|
private |
Definition at line 139 of file SiStripMonitorMuonHLT.h.
Referenced by analyzeOnTrackClusters(), and beginRun().
|
private |
Definition at line 132 of file SiStripMonitorMuonHLT.h.
Referenced by analyze(), and SiStripMonitorMuonHLT().
|
private |
every n events
Definition at line 120 of file SiStripMonitorMuonHLT.h.
Referenced by SiStripMonitorMuonHLT().