1 #ifndef CommonAlignmentMonitor_AlignmentMonitorBase_h
2 #define CommonAlignmentMonitor_AlignmentMonitorBase_h
71 virtual void book() = 0;
84 TH1F *
book1D(std::string
dir, std::string
name, std::string
title,
int nchX,
double lowX,
double highX);
85 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");
86 TH2F *
book2D(std::string
dir, std::string
name, std::string
title,
int nchX,
double lowX,
double highX,
int nchY,
double lowY,
double highY);
AlignableNavigator * pNavigator()
const AlignmentMonitorBase & operator=(const AlignmentMonitorBase &)
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.
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
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.
AlignableNavigator * mp_navigator
void startingNewLoop()
Called at beginning of loop: don't reimplement.
void endOfLoop(const edm::EventSetup &iSetup)
Called at end 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 afterAlignment(const edm::EventSetup &iSetup)
virtual void book()=0
Book or retrieve histograms; MUST be reimplemented.
Constructor of the full muon geometry.