#include <AlignmentMonitorGeneric.h>
Public Member Functions | |
AlignmentMonitorGeneric (const edm::ParameterSet &, edm::ConsumesCollector iC) | |
void | book () override |
Book or retrieve histograms; MUST be reimplemented. More... | |
void | event (const edm::Event &, const edm::EventSetup &, const ConstTrajTrackPairCollection &) override |
Called for each event (by "run()"): may be reimplemented. More... | |
Public Member Functions inherited from AlignmentMonitorBase | |
virtual void | afterAlignment () |
AlignmentMonitorBase (const edm::ParameterSet &cfg, const edm::ConsumesCollector &iC, std::string name) | |
Constructor. More... | |
AlignmentMonitorBase (const AlignmentMonitorBase &)=delete | |
void | beginOfJob (AlignableTracker *pTracker, AlignableMuon *pMuon, AlignmentParameterStore *pStore) |
Called at beginning of job: don't reimplement. More... | |
void | duringLoop (const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks) |
Called for each event: don't reimplement. More... | |
void | endOfJob () |
Called at end of processing: don't implement. More... | |
void | endOfLoop () |
Called at end of loop: don't reimplement. More... | |
const AlignmentMonitorBase & | operator= (const AlignmentMonitorBase &)=delete |
void | startingNewLoop () |
Called at beginning of loop: don't reimplement. More... | |
virtual | ~AlignmentMonitorBase () |
Destructor. More... | |
Private Types | |
typedef std::vector< TH1F * > | Hist1Ds |
Private Attributes | |
std::map< const Alignable *, Hist1Ds > | m_resHists |
Hist1Ds | m_trkHists |
Static Private Attributes | |
static const unsigned int | nBin_ = 50 |
Additional Inherited Members | |
Public Types inherited from AlignmentMonitorBase | |
typedef std::pair< const Trajectory *, const reco::Track * > | ConstTrajTrackPair |
typedef std::vector< ConstTrajTrackPair > | ConstTrajTrackPairCollection |
Protected Member Functions inherited from AlignmentMonitorBase | |
TH1F * | book1D (std::string dir, std::string name, std::string title, int nchX, double lowX, double highX) |
TH2F * | book2D (std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY) |
TProfile * | bookProfile (std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY=1, double lowY=0., double highY=0., const char *option="s") |
TFileDirectory * | directory (std::string dir) |
int | iteration () |
AlignableMuon * | pMuon () |
AlignableNavigator * | pNavigator () |
AlignmentParameterStore * | pStore () |
AlignableTracker * | pTracker () |
Protected Attributes inherited from AlignmentMonitorBase | |
const edm::InputTag | m_beamSpotTag |
Definition at line 28 of file AlignmentMonitorGeneric.h.
|
private |
Definition at line 29 of file AlignmentMonitorGeneric.h.
AlignmentMonitorGeneric::AlignmentMonitorGeneric | ( | const edm::ParameterSet & | cfg, |
edm::ConsumesCollector | iC | ||
) |
Definition at line 11 of file AlignmentMonitorGeneric.cc.
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 14 of file AlignmentMonitorGeneric.cc.
References Alignable::alignableObjectId(), AlignmentParameterStore::alignables(), AlignmentMonitorBase::book1D(), AlignableObjectId::commonObjectIdProvider(), compare::hists, B2GTnPMonitor_cfi::histTitle, mps_fire::i, l1ctLayer2EG_cff::id, Alignable::id(), M_PI, m_resHists, m_trkHists, dqmiodumpmetadata::n, Skims_PA_cff::name, nBin_, AlignmentMonitorBase::pMuon(), AlignmentMonitorBase::pStore(), AlignmentMonitorBase::pTracker(), AlCaHLTBitMon_QueryRunRegistry::string, and DetId::subdetId().
|
overridevirtual |
Called for each event (by "run()"): may be reimplemented.
Reimplemented from AlignmentMonitorBase.
Definition at line 68 of file AlignmentMonitorGeneric.cc.
References AlignableNavigator::alignableFromDetId(), TrajectoryMeasurement::backwardPredictedState(), ALCARECOTkAlJpsiMuMu_cff::charge, fftjetvertexadder_cfi::errX, fftjetvertexadder_cfi::errY, TrajectoryMeasurement::forwardPredictedState(), h, TrackerGeomDet::localAlignmentError(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), visualization-live-secondInstance_cfg::m, m_resHists, m_trkHists, Alignable::mother(), AlignmentMonitorBase::pNavigator(), LocalTrajectoryError::positionError(), TrajectoryMeasurement::recHit(), mathSSE::sqrt(), submitPVValidationJobs::t, HLT_2022v15_cff::track, tracks, LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by Types.EventID::cppID().
Definition at line 43 of file AlignmentMonitorGeneric.h.
|
private |
Definition at line 41 of file AlignmentMonitorGeneric.h.
|
staticprivate |
Definition at line 39 of file AlignmentMonitorGeneric.h.
Referenced by book().