#include <AlignmentMonitorGeneric.h>
Public Member Functions | |
AlignmentMonitorGeneric (const edm::ParameterSet &) | |
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, std::string name) | |
Constructor. More... | |
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... | |
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 31 of file AlignmentMonitorGeneric.h.
AlignmentMonitorGeneric::AlignmentMonitorGeneric | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 11 of file AlignmentMonitorGeneric.cc.
|
overridevirtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 16 of file AlignmentMonitorGeneric.cc.
References Alignable::alignableObjectId(), AlignmentParameterStore::alignables(), AlignmentMonitorBase::book1D(), AlignableObjectId::commonObjectIdProvider(), compare::hists, mps_fire::i, triggerObjects_cff::id, Alignable::id(), M_PI, m_resHists, m_trkHists, gen::n, dataset::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 73 of file AlignmentMonitorGeneric.cc.
References AlignableNavigator::alignableFromDetId(), TrajectoryMeasurement::backwardPredictedState(), ALCARECOTkAlJpsiMuMu_cff::charge, reco::TrackBase::d0(), DEFINE_EDM_PLUGIN, TrackingRecHit::det(), reco::TrackBase::dz(), fftjetvertexadder_cfi::errX, fftjetvertexadder_cfi::errY, reco::TrackBase::eta(), TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), h, TrackingRecHit::isValid(), TrackerGeomDet::localAlignmentError(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), funct::m, m_resHists, m_trkHists, Alignable::mother(), reco::TrackBase::normalizedChi2(), reco::TrackBase::phi(), AlignmentMonitorBase::pNavigator(), LocalTrajectoryError::positionError(), reco::TrackBase::pt(), TrajectoryMeasurement::recHit(), mathSSE::sqrt(), lumiQTWidget::t, HiIsolationCommonParameters_cff::track, LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by Types.EventID::cppID().
Definition at line 52 of file AlignmentMonitorGeneric.h.
|
private |
Definition at line 50 of file AlignmentMonitorGeneric.h.
|
staticprivate |
Definition at line 48 of file AlignmentMonitorGeneric.h.
Referenced by book().