39 : dataVersion(version), nsPerCount(25.0 / 32.0), dBuf(new
DTBufferTree<int, int>) {
67 return get(wheelId, stationId, sectorId, slId, 0, 0, tTrig, tTrms, kFact,
unit);
80 tTrig = tTrms = kFact = 0.0;
82 std::vector<int> chanKey;
84 chanKey.push_back(wheelId);
85 chanKey.push_back(stationId);
86 chanKey.push_back(sectorId);
87 chanKey.push_back(slId);
88 chanKey.push_back(layerId);
89 chanKey.push_back(cellId);
91 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
107 return get(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), 0, 0, tTrig, tTrms, kFact,
unit);
112 return get(wireId.
wheel(),
125 return get(wheelId, stationId, sectorId, slId, 0, 0, tTrig,
unit);
139 int status =
get(wheelId, stationId, sectorId, slId, layerId, cellId, tMean, tTrms, kFact,
unit);
140 tTrig = tMean + (kFact * tTrms);
145 return get(
id.wheel(),
id.station(),
id.sector(),
id.superLayer(), 0, 0, tTrig,
unit);
150 return get(wireId.
wheel(),
173 int wheelId,
int stationId,
int sectorId,
int slId,
float tTrig,
float tTrms,
float kFact,
DTTimeUnits::type unit) {
174 return set(wheelId, stationId, sectorId, slId, 0, 0, tTrig, tTrms, kFact, unit);
192 std::vector<int> chanKey;
194 chanKey.push_back(wheelId);
195 chanKey.push_back(stationId);
196 chanKey.push_back(sectorId);
197 chanKey.push_back(slId);
198 chanKey.push_back(layerId);
199 chanKey.push_back(cellId);
201 int searchStatus =
dBuf->
find(chanKey.begin(), chanKey.end(), ientry);
222 dataList.push_back(std::pair<DTTtrigId, DTTtrigData>(key, data));
223 dBuf->
insert(chanKey.begin(), chanKey.end(), ientry);
231 return set(
id.wheel(),
id.
station(),
id.sector(),
id.superLayer(), 0, 0, tTrig, tTrms, kFact, unit);
255 std::stringstream
name;
265 std::vector<int> chanKey;
267 while (entryNum < entryMax) {
271 chanKey.push_back(chan.
wheelId);
274 chanKey.push_back(chan.
slId);
275 chanKey.push_back(chan.
layerId);
276 chanKey.push_back(chan.
cellId);
277 dBuf->
insert(chanKey.begin(), chanKey.end(), entryNum++);
std::vector< std::pair< DTTtrigId, DTTtrigData > >::const_iterator const_iterator
Access methods to data.
int set(int wheelId, int stationId, int sectorId, int slId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
tuple chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
const std::string & version() const
access version
int layer() const
Return the layer number.
void clear()
reset content
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
tuple key
prepare the HTCondor submission files and eventually submit them
int superLayer() const
Return the superlayer number.
std::string mapName() const
std::vector< std::pair< DTTtrigId, DTTtrigData > > dataList
int wire() const
Return the wire number.
int get(int wheelId, int stationId, int sectorId, int slId, float &tTrig, float &tTrms, float &kFact, DTTimeUnits::type unit) const
get content
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
const_iterator begin() const
int station() const
Return the station number.
const_iterator end() const
int wheel() const
Return the wheel number.
Basic3DVector unit() const