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(),
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);
211 key.wheelId = wheelId;
212 key.stationId = stationId;
213 key.sectorId = sectorId;
215 key.layerId = layerId;
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);
236 return set(wireId.
wheel(),
255 std::stringstream
name;
265 std::vector<int> chanKey;
267 while (entryNum < entryMax) {
271 chanKey.push_back(
chan.wheelId);
272 chanKey.push_back(
chan.stationId);
273 chanKey.push_back(
chan.sectorId);
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++);
int station() const
Return the station number.
std::vector< std::pair< DTTtrigId, DTTtrigData > >::const_iterator const_iterator
Access methods to data.
int superLayer() const
Return the superlayer number.
int set(int wheelId, int stationId, int sectorId, int slId, float tTrig, float tTrms, float kFact, DTTimeUnits::type unit)
int wire() const
Return the wire number.
const std::string & version() const
access version
void clear()
reset content
U second(std::pair< T, U > const &p)
const_iterator begin() const
key
prepare the HTCondor submission files and eventually submit them
std::vector< std::pair< DTTtrigId, DTTtrigData > > dataList
Basic3DVector unit() const
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
int layer() const
Return the layer 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
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
int wheel() const
Return the wheel number.
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
const_iterator end() const
std::string mapName() const