82 stringstream wheel; wheel << dtLayer.
wheel();
84 stringstream sector; sector << dtLayer.
sector();
85 stringstream superLayer; superLayer << dtLayer.
superlayer();
86 stringstream layer; layer << dtLayer.
layer();
88 cout<<
"[DTTestPulseTask]: booking"<<endl;
91 if ( folder ==
"TPProfile" ) {
97 dtLayer.
layer()))->specificTopology().channels();
100 "/Station" + station.str() +
101 "/Sector" + sector.str() +
102 "/SuperLayer" + superLayer.str() +
105 string histoName = histoTag
107 +
"_St" + station.str()
108 +
"_Sec" + sector.str()
109 +
"_SL" + superLayer.str()
110 +
"_L" + layer.str();
126 dtLayer.
layer()).rawId())] =
133 else if ( folder ==
"TPOccupancy" ) {
136 "/Station" + station.str() +
137 "/Sector" + sector.str() +
138 "/SuperLayer" + superLayer.str() +
141 string histoName = histoTag
143 +
"_St" + station.str()
144 +
"_Sec" + sector.str()
145 +
"_SL" + superLayer.str()
146 +
"_L" + layer.str();
152 dtLayer.
layer()))->specificTopology().channels();
158 dtLayer.
layer()).rawId())] =
159 dbe->
book1D(histoName, histoName, nWires, 0, nWires);
163 else if ( folder ==
"TPTimeBox" ) {
166 "/Station" + station.str() +
167 "/Sector" + sector.str() +
170 string histoName = histoTag
172 +
"_St" + station.str()
173 +
"_Sec" + sector.str();
179 dtLayer.
layer()).chamberId().rawId())] =
180 dbe->
book1D(histoName, histoName, 10000, 0, 10000);
T getUntrackedParameter(std::string const &, T const &) const
std::map< int, MonitorElement * > testPulsesOccupancies
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
edm::ESHandle< DTRangeT0 > t0RangeMap
int layer() const
Return the layer number.
DTSuperLayerId superlayerId() const
Return the corresponding SuperLayerId.
edm::ESHandle< DTGeometry > muonGeom
edm::ParameterSet parameters
std::pair< int, int > t0sPeakRange
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
int superlayer() const
Return the superlayer number (deprecated method name)
std::map< int, MonitorElement * > testPulsesTimeBoxes
int station() const
Return the station number.
int wheel() const
Return the wheel number.
std::map< int, MonitorElement * > testPulsesProfiles
void setCurrentFolder(const std::string &fullpath)