#include <AlignmentMonitorGeneric.h>
Public Member Functions | |
virtual void | afterAlignment (const edm::EventSetup &) |
AlignmentMonitorGeneric (const edm::ParameterSet &) | |
virtual void | book () |
Book or retrieve histograms; MUST be reimplemented. More... | |
virtual void | event (const edm::Event &, const edm::EventSetup &, const ConstTrajTrackPairCollection &) |
Called for each event (by "run()"): may be reimplemented. More... | |
Public Member Functions inherited from AlignmentMonitorBase | |
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 (const edm::EventSetup &iSetup) |
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 10 of file AlignmentMonitorGeneric.cc.
|
inlinevirtual |
Called after updating AlignableTracker and AlignableMuon (by "endOfLoop()"): may be reimplemented
Reimplemented from AlignmentMonitorBase.
Definition at line 46 of file AlignmentMonitorGeneric.h.
|
virtual |
Book or retrieve histograms; MUST be reimplemented.
Implements AlignmentMonitorBase.
Definition at line 15 of file AlignmentMonitorGeneric.cc.
References Alignable::alignableObjectId(), AlignmentParameterStore::alignables(), AlignmentMonitorBase::book1D(), i, Alignable::id(), AlignableObjectId::idToString(), M_PI, m_resHists, m_trkHists, gen::n, mergeVDriftHistosByStation::name, nBin_, AlignmentMonitorBase::pStore(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
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(), reco::TrackBase::charge(), reco::TrackBase::d0(), reco::TrackBase::dz(), reco::TrackBase::eta(), TrajectoryMeasurement::forwardPredictedState(), TrackingRecHit::geographicalId(), h, TrackingRecHit::isValid(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), TrackingRecHit::localPosition(), TrackingRecHit::localPositionError(), contentValuesFiles::m, m_resHists, m_trkHists, Alignable::mother(), reco::TrackBase::normalizedChi2(), reco::TrackBase::phi(), AlignmentMonitorBase::pNavigator(), LocalTrajectoryError::positionError(), reco::TrackBase::pt(), TrajectoryMeasurement::recHit(), mathSSE::sqrt(), tree::t, LocalError::xx(), and LocalError::yy().
Referenced by Types.EventID::cppID(), core.AutoHandle.AutoHandle::Load(), and core.AutoHandle.AutoHandle::product().
Definition at line 56 of file AlignmentMonitorGeneric.h.
|
private |
Definition at line 54 of file AlignmentMonitorGeneric.h.
|
staticprivate |
Definition at line 52 of file AlignmentMonitorGeneric.h.
Referenced by book().