#include <SiStripRecHitsValid.h>
Classes | |
struct | LayerMEs |
struct | RecHitProperties |
struct | StereoAndMatchedMEs |
struct | SubDetMEs |
struct | TotalMEs |
Protected Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob (const edm::EventSetup &es) |
void | bookHistograms (DQMStore::IBooker &ibooker, const edm::Run &run, const edm::EventSetup &es) |
void | endJob () |
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 | |
MonitorElement * | bookME1D (DQMStore::IBooker &ibooker, const char *ParameterSetLabel, const char *HistoName, const char *HistoTitle) |
void | createLayerMEs (DQMStore::IBooker &ibooker, std::string label) |
void | createMEs (DQMStore::IBooker &ibooker, const edm::EventSetup &es) |
void | createStereoAndMatchedMEs (DQMStore::IBooker &ibooker, std::string label) |
void | createSubDetMEs (DQMStore::IBooker &ibooker, std::string label) |
void | createTotalMEs (DQMStore::IBooker &ibooker) |
void | fillME (MonitorElement *ME, float value1) |
void | fillME (MonitorElement *ME, float value1, float value2) |
void | fillME (MonitorElement *ME, float value1, float value2, float value3) |
void | fillME (MonitorElement *ME, float value1, float value2, float value3, float value4) |
std::pair< LocalPoint, LocalVector > | projectHit (const PSimHit &hit, const StripGeomDetUnit *stripDet, const BoundPlane &plane) |
void | rechitanalysis (SiStripRecHit2D const rechit, const StripTopology &topol, TrackerHitAssociator &associate) |
void | rechitanalysis_matched (SiStripMatchedRecHit2D const rechit, const GluedGeomDet *gluedDet, TrackerHitAssociator &associate) |
Definition at line 48 of file SiStripRecHitsValid.h.
SiStripRecHitsValid::SiStripRecHitsValid | ( | const edm::ParameterSet & | conf | ) |
Definition at line 51 of file SiStripRecHitsValid.cc.
References conf_, edm::ParameterSet::getParameter(), matchedRecHitsToken_, outputFileName, outputMEsInRootFile, rphiRecHitsToken_, runStandalone, stereoRecHitsToken_, AlCaHLTBitMon_QueryRunRegistry::string, SubDetList_, switchAdcrphi, switchAdcStereo, switchChi2Matched, switchChi2rphi, switchChi2Stereo, switchNumMatched, switchNumrphi, switchNumStereo, switchNumTotMatched, switchNumTotrphi, switchNumTotStereo, switchPosxMatched, switchPosxrphi, switchPosxStereo, switchPosyMatched, switchPullLFrphi, switchPullLFStereo, switchPullMFrphi, switchPullMFStereo, switchResolxMatched, switchResolxrphi, switchResolxStereo, switchResolyMatched, switchResrphi, switchResStereo, switchResxMatched, switchResyMatched, switchWclusrphi, switchWclusStereo, and topFolderName_.
SiStripRecHitsValid::~SiStripRecHitsValid | ( | ) |
Definition at line 164 of file SiStripRecHitsValid.cc.
|
protectedvirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 190 of file SiStripRecHitsValid.cc.
References conf_, cond::rpcobgas::detid, edm::EventID::event(), fillME(), TrackingRecHit::geographicalId(), edm::EventSetup::get(), edm::Event::getByToken(), helper::getRange(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripHistoId::getSubdetid(), edm::EventBase::id(), TrackerGeometry::idToDet(), TrackerGeometry::idToDetUnit(), diffTwoXMLs::label, LayerMEsMap, matchedRecHitsToken_, SiStripRecHitsValid::TotalMEs::meNumTotMatched, SiStripRecHitsValid::TotalMEs::meNumTotrphi, SiStripRecHitsValid::TotalMEs::meNumTotStereo, edm::ESHandle< class >::product(), rechitanalysis(), rechitanalysis_matched(), rechitmatched, rechitpro, rechitrphi, rechitstereo, rphiRecHitsToken_, edm::EventID::run(), mathSSE::sqrt(), StereoAndMatchedMEsMap, stereoRecHitsToken_, AlCaHLTBitMon_QueryRunRegistry::string, SubDetList_, SubDetMEsMap, StripGeomDetUnit::topology(), totalMEs, patCandidatesForDimuonsSequences_cff::tracker, and create_public_lumi_plots::transform.
|
protected |
Definition at line 180 of file SiStripRecHitsValid.cc.
|
protectedvirtual |
Implements DQMEDAnalyzer.
Definition at line 168 of file SiStripRecHitsValid.cc.
References createMEs(), edm::EventSetup::get(), and m_cacheID_.
|
private |
Definition at line 912 of file SiStripRecHitsValid.cc.
References DQMStore::IBooker::book1D(), conf_, edm::ParameterSet::getParameter(), and Parameters.
Referenced by createLayerMEs(), createStereoAndMatchedMEs(), createSubDetMEs(), and createTotalMEs().
|
private |
Definition at line 722 of file SiStripRecHitsValid.cc.
References bookME1D(), SiStripHistoId::createHistoLayer(), diffTwoXMLs::label, LayerMEsMap, SiStripRecHitsValid::LayerMEs::meAdcrphi, SiStripRecHitsValid::LayerMEs::meChi2rphi, SiStripRecHitsValid::LayerMEs::mePosxrphi, SiStripRecHitsValid::LayerMEs::mePullLFrphi, SiStripRecHitsValid::LayerMEs::mePullMFrphi, SiStripRecHitsValid::LayerMEs::meResolxrphi, SiStripRecHitsValid::LayerMEs::meResrphi, SiStripRecHitsValid::LayerMEs::meWclusrphi, MonitorElement::setAxisTitle(), switchAdcrphi, switchChi2rphi, switchPosxrphi, switchPullLFrphi, switchPullMFrphi, switchResolxrphi, switchResrphi, and switchWclusrphi.
Referenced by createMEs().
|
private |
Definition at line 575 of file SiStripRecHitsValid.cc.
References funct::abs(), createLayerMEs(), createStereoAndMatchedMEs(), createSubDetMEs(), createTotalMEs(), cond::rpcobgas::detid, edm::EventSetup::get(), SiStripFolderOrganizer::GetSubDetAndLayer(), SiStripFolderOrganizer::getSubDetFolderAndTag(), SiStripHistoId::getSubdetid(), SiStripSubStructure::getTECDetectors(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTIDDetectors(), SiStripSubStructure::getTOBDetectors(), diffTwoXMLs::label, LayerDetMap, LayerMEsMap, edm::ESHandle< class >::product(), DQMStore::IBooker::setCurrentFolder(), SiStripFolderOrganizer::setLayerFolder(), SiStripFolderOrganizer::setSiStripFolder(), SiStripFolderOrganizer::setSiStripFolderName(), SiStripDetCabling_, SiStripDetId::stereo(), StereoAndMatchedDetMap, StereoAndMatchedMEsMap, AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, and topFolderName_.
Referenced by bookHistograms().
|
private |
Definition at line 781 of file SiStripRecHitsValid.cc.
References bookME1D(), SiStripHistoId::createHistoLayer(), diffTwoXMLs::label, SiStripRecHitsValid::StereoAndMatchedMEs::meAdcStereo, SiStripRecHitsValid::StereoAndMatchedMEs::meChi2Matched, SiStripRecHitsValid::StereoAndMatchedMEs::meChi2Stereo, SiStripRecHitsValid::StereoAndMatchedMEs::mePosxMatched, SiStripRecHitsValid::StereoAndMatchedMEs::mePosxStereo, SiStripRecHitsValid::StereoAndMatchedMEs::mePosyMatched, SiStripRecHitsValid::StereoAndMatchedMEs::mePullLFStereo, SiStripRecHitsValid::StereoAndMatchedMEs::mePullMFStereo, SiStripRecHitsValid::StereoAndMatchedMEs::meResolxMatched, SiStripRecHitsValid::StereoAndMatchedMEs::meResolxStereo, SiStripRecHitsValid::StereoAndMatchedMEs::meResolyMatched, SiStripRecHitsValid::StereoAndMatchedMEs::meResStereo, SiStripRecHitsValid::StereoAndMatchedMEs::meResxMatched, SiStripRecHitsValid::StereoAndMatchedMEs::meResyMatched, SiStripRecHitsValid::StereoAndMatchedMEs::meWclusStereo, MonitorElement::setAxisTitle(), StereoAndMatchedMEsMap, switchAdcStereo, switchChi2Matched, switchChi2Stereo, switchPosxMatched, switchPosxStereo, switchPosyMatched, switchPullLFStereo, switchPullMFStereo, switchResolxMatched, switchResolxStereo, switchResolyMatched, switchResStereo, switchResxMatched, switchResyMatched, and switchWclusStereo.
Referenced by createMEs().
|
private |
Definition at line 882 of file SiStripRecHitsValid.cc.
References bookME1D(), diffTwoXMLs::label, SiStripRecHitsValid::SubDetMEs::meNumMatched, SiStripRecHitsValid::SubDetMEs::meNumrphi, SiStripRecHitsValid::SubDetMEs::meNumStereo, MonitorElement::setAxisTitle(), AlCaHLTBitMon_QueryRunRegistry::string, SubDetMEsMap, switchNumMatched, switchNumrphi, and switchNumStereo.
Referenced by createMEs().
|
private |
Definition at line 698 of file SiStripRecHitsValid.cc.
References bookME1D(), SiStripRecHitsValid::TotalMEs::meNumTotMatched, SiStripRecHitsValid::TotalMEs::meNumTotrphi, SiStripRecHitsValid::TotalMEs::meNumTotStereo, MonitorElement::setAxisTitle(), switchNumTotMatched, switchNumTotrphi, switchNumTotStereo, and totalMEs.
Referenced by createMEs().
|
protected |
Definition at line 183 of file SiStripRecHitsValid.cc.
References dbe_, outputFileName, outputMEsInRootFile, runStandalone, and DQMStore::save().
|
inlineprivate |
Definition at line 187 of file SiStripRecHitsValid.h.
References MonitorElement::Fill().
Referenced by analyze().
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
private |
Definition at line 388 of file SiStripRecHitsValid.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 rechitanalysis_matched().
|
private |
Definition at line 418 of file SiStripRecHitsValid.cc.
References TrackerHitAssociator::associateHit(), SiStripRecHitsValid::RecHitProperties::chi2, SiStripRecHitsValid::RecHitProperties::cluchg, SiStripRecHitsValid::RecHitProperties::clusiz, SiStripRecHit2D::cluster(), relativeConstraints::error, PSimHit::localPosition(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), m, matched, Topology::measurementError(), Topology::measurementPosition(), position, SiStripRecHitsValid::RecHitProperties::pullMF, dttmaxenums::R, alignCSCRings::r, rechitpro, SiStripRecHitsValid::RecHitProperties::resolxx, SiStripRecHitsValid::RecHitProperties::resolxy, SiStripRecHitsValid::RecHitProperties::resolyy, SiStripRecHitsValid::RecHitProperties::resx, SiStripRecHitsValid::RecHitProperties::resy, mathSSE::sqrt(), MeasurementError::uu(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), SiStripRecHitsValid::RecHitProperties::x, LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), SiStripRecHitsValid::RecHitProperties::y, LocalError::yy(), PV3DBase< T, PVType, FrameType >::z(), and SiStripRecHitsValid::RecHitProperties::z.
Referenced by analyze().
|
private |
Definition at line 496 of file SiStripRecHitsValid.cc.
References TrackerHitAssociator::associateHit(), SiStripRecHitsValid::RecHitProperties::chi2, SiStripRecHitsValid::RecHitProperties::cluchg, SiStripRecHitsValid::RecHitProperties::clusiz, relativeConstraints::error, BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), m, matched, position, projectHit(), SiStripRecHitsValid::RecHitProperties::pullMF, dttmaxenums::R, alignCSCRings::r, rechitpro, SiStripRecHitsValid::RecHitProperties::resolxx, SiStripRecHitsValid::RecHitProperties::resolxy, SiStripRecHitsValid::RecHitProperties::resolyy, SiStripRecHitsValid::RecHitProperties::resx, SiStripRecHitsValid::RecHitProperties::resy, mathSSE::sqrt(), GluedGeomDet::stereoDet(), GeomDet::surface(), PV3DBase< T, PVType, FrameType >::x(), SiStripRecHitsValid::RecHitProperties::x, LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), SiStripRecHitsValid::RecHitProperties::y, LocalError::yy(), PV3DBase< T, PVType, FrameType >::z(), and SiStripRecHitsValid::RecHitProperties::z.
Referenced by analyze().
|
private |
Definition at line 192 of file SiStripRecHitsValid.h.
Referenced by analyze(), bookME1D(), and SiStripRecHitsValid().
|
private |
Definition at line 124 of file SiStripRecHitsValid.h.
Referenced by endJob().
|
private |
Definition at line 172 of file SiStripRecHitsValid.h.
Referenced by createMEs().
|
private |
Definition at line 169 of file SiStripRecHitsValid.h.
Referenced by analyze(), createLayerMEs(), and createMEs().
|
private |
Definition at line 193 of file SiStripRecHitsValid.h.
Referenced by bookHistograms().
|
private |
Definition at line 168 of file SiStripRecHitsValid.h.
Referenced by rechitanalysis(), and rechitanalysis_matched().
|
private |
Definition at line 208 of file SiStripRecHitsValid.h.
Referenced by analyze(), and SiStripRecHitsValid().
|
private |
Definition at line 127 of file SiStripRecHitsValid.h.
Referenced by endJob(), and SiStripRecHitsValid().
|
private |
Definition at line 125 of file SiStripRecHitsValid.h.
Referenced by endJob(), and SiStripRecHitsValid().
|
private |
Definition at line 194 of file SiStripRecHitsValid.h.
Referenced by bookME1D().
|
private |
Definition at line 201 of file SiStripRecHitsValid.h.
Referenced by analyze().
|
private |
Definition at line 202 of file SiStripRecHitsValid.h.
Referenced by analyze(), rechitanalysis(), and rechitanalysis_matched().
|
private |
Definition at line 199 of file SiStripRecHitsValid.h.
Referenced by analyze().
|
private |
Definition at line 200 of file SiStripRecHitsValid.h.
Referenced by analyze().
|
private |
Definition at line 209 of file SiStripRecHitsValid.h.
Referenced by analyze(), and SiStripRecHitsValid().
|
private |
Definition at line 126 of file SiStripRecHitsValid.h.
Referenced by endJob(), and SiStripRecHitsValid().
|
private |
Definition at line 175 of file SiStripRecHitsValid.h.
Referenced by createMEs().
|
private |
Definition at line 173 of file SiStripRecHitsValid.h.
Referenced by createMEs().
|
private |
Definition at line 170 of file SiStripRecHitsValid.h.
Referenced by analyze(), createMEs(), and createStereoAndMatchedMEs().
|
private |
Definition at line 210 of file SiStripRecHitsValid.h.
Referenced by analyze(), and SiStripRecHitsValid().
|
private |
Definition at line 166 of file SiStripRecHitsValid.h.
Referenced by analyze(), and SiStripRecHitsValid().
|
private |
Definition at line 171 of file SiStripRecHitsValid.h.
Referenced by analyze(), createMEs(), and createSubDetMEs().
|
private |
Definition at line 142 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 150 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 163 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 148 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 156 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 138 of file SiStripRecHitsValid.h.
Referenced by createSubDetMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 136 of file SiStripRecHitsValid.h.
Referenced by createSubDetMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 137 of file SiStripRecHitsValid.h.
Referenced by createSubDetMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 133 of file SiStripRecHitsValid.h.
Referenced by createTotalMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 131 of file SiStripRecHitsValid.h.
Referenced by createTotalMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 132 of file SiStripRecHitsValid.h.
Referenced by createTotalMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 157 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 143 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 151 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 158 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 146 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 154 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 147 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 155 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 159 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 144 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 152 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 160 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 145 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 153 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 161 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 162 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 141 of file SiStripRecHitsValid.h.
Referenced by createLayerMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 149 of file SiStripRecHitsValid.h.
Referenced by createStereoAndMatchedMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 165 of file SiStripRecHitsValid.h.
Referenced by createMEs(), and SiStripRecHitsValid().
|
private |
Definition at line 129 of file SiStripRecHitsValid.h.
Referenced by analyze(), and createTotalMEs().