Go to the documentation of this file.
76 std::vector<std::string>
dirs;
81 lastPos =
dir.find_first_not_of(
'/',
pos);
82 pos =
dir.find_first_of(
'/', lastPos);
85 while (std::string::npos !=
pos || std::string::npos != lastPos) {
86 dirs.push_back(
dir.substr(lastPos,
pos - lastPos));
87 lastPos =
dir.find_first_not_of(
'/',
pos);
88 pos =
dir.find_first_of(
'/', lastPos);
97 std::vector<std::string> partial;
99 for (
unsigned int i = 0;
i <
dirs.size();
i++) {
100 partial.push_back(
dirs[
i]);
101 if (theMap->find(partial) == theMap->end()) {
104 last = (*theMap)[partial];
AlignableTracker * mp_tracker
AlignableNavigator * mp_navigator
AlignableTracker * pTracker()
TFileDirectory * directory(std::string dir)
AlignmentParameterStore * pStore()
virtual void event(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks)
Called for each event (by "run()"): may be reimplemented.
virtual void afterAlignment()
TH2F * book2D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
AlignmentParameterStore * mp_store
void duringLoop(const edm::Event &iEvent, const edm::EventSetup &iSetup, const ConstTrajTrackPairCollection &iTrajTracks)
Called for each event: don't reimplement.
void endOfLoop()
Called at end of loop: don't reimplement.
std::map< std::vector< std::string >, TFileDirectory * > m_baseDirMap
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
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")
void beginOfJob(AlignableTracker *pTracker, AlignableMuon *pMuon, AlignmentParameterStore *pStore)
Called at beginning of job: don't reimplement.
Constructor of the full muon geometry.
virtual void book()=0
Book or retrieve histograms; MUST be reimplemented.
TH1F * book1D(std::string dir, std::string name, std::string title, int nchX, double lowX, double highX)
void startingNewLoop()
Called at beginning of loop: don't reimplement.
T * make(const Args &...args) const
make new ROOT object
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
std::map< std::vector< std::string >, TFileDirectory * > m_iterDirMap
AlignmentMonitorBase(const edm::ParameterSet &cfg, const edm::ConsumesCollector &iC, std::string name)
Constructor.