1 #ifndef CommonAlignmentMonitor_AlignmentMonitorBase_h 2 #define CommonAlignmentMonitor_AlignmentMonitorBase_h 72 virtual void book() = 0;
AlignableNavigator * pNavigator()
AlignmentParameterStore * pStore()
std::map< std::vector< std::string >, TFileDirectory * > m_baseDirMap
virtual void event(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks)
Called for each event (by "run()"): may be reimplemented.
TH2F * book2D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
std::map< std::vector< std::string >, TFileDirectory * > m_iterDirMap
AlignmentParameterStore * mp_store
AlignmentMonitorBase(const edm::ParameterSet &cfg, std::string name)
Constructor.
std::vector< std::unique_ptr< AlignmentMonitorBase > > AlignmentMonitors
AlignableTracker * pTracker()
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)
std::pair< const Trajectory *, const reco::Track * > ConstTrajTrackPair
virtual ~AlignmentMonitorBase()
Destructor.
void endOfJob()
Called at end of processing: don't implement.
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
const edm::InputTag m_beamSpotTag
TH1F * book1D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX)
AlignableTracker * mp_tracker
void beginOfJob(AlignableTracker *pTracker, AlignableMuon *pMuon, AlignmentParameterStore *pStore)
Called at beginning of job: don't reimplement.
virtual void afterAlignment()
AlignableNavigator * mp_navigator
const AlignmentMonitorBase & operator=(const AlignmentMonitorBase &)=delete
void startingNewLoop()
Called at beginning of loop: don't reimplement.
void duringLoop(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks)
Called for each event: don't reimplement.
virtual void book()=0
Book or retrieve histograms; MUST be reimplemented.
Constructor of the full muon geometry.
void endOfLoop()
Called at end of loop: don't reimplement.