80 stringstream wheel; wheel << dtLayer.
wheel();
82 stringstream sector; sector << dtLayer.
sector();
83 stringstream superLayer; superLayer << dtLayer.
superlayer();
84 stringstream layer; layer << dtLayer.
layer();
86 cout<<
"[DTTestPulseTask]: booking"<<endl;
89 if ( folder ==
"TPProfile" ) {
95 dtLayer.
layer()))->specificTopology().channels();
98 "/Station" + station.str() +
99 "/Sector" + sector.str() +
100 "/SuperLayer" + superLayer.str() +
103 string histoName = histoTag
105 +
"_St" + station.str()
106 +
"_Sec" + sector.str()
107 +
"_SL" + superLayer.str()
108 +
"_L" + layer.str();
124 dtLayer.
layer()).rawId())] =
131 else if ( folder ==
"TPOccupancy" ) {
134 "/Station" + station.str() +
135 "/Sector" + sector.str() +
136 "/SuperLayer" + superLayer.str() +
139 string histoName = histoTag
141 +
"_St" + station.str()
142 +
"_Sec" + sector.str()
143 +
"_SL" + superLayer.str()
144 +
"_L" + layer.str();
150 dtLayer.
layer()))->specificTopology().channels();
156 dtLayer.
layer()).rawId())] =
157 dbe->
book1D(histoName, histoName, nWires, 0, nWires);
161 else if ( folder ==
"TPTimeBox" ) {
164 "/Station" + station.str() +
165 "/Sector" + sector.str() +
168 string histoName = histoTag
170 +
"_St" + station.str()
171 +
"_Sec" + sector.str();
177 dtLayer.
layer()).chamberId().rawId())] =
178 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)