40 dataVersion( version ),
88 std::vector<int> chanKey;
90 chanKey.push_back( wheelId );
91 chanKey.push_back( stationId );
92 chanKey.push_back( sectorId );
93 chanKey.push_back( slId );
97 int searchStatus = constDBuf->
find( chanKey.begin(), chanKey.end(), ientry );
98 if ( !searchStatus ) {
112 return get(
id.wheel(),
145 std::vector<int> chanKey;
147 chanKey.push_back( wheelId );
148 chanKey.push_back( stationId );
149 chanKey.push_back( sectorId );
150 chanKey.push_back( slId );
152 int searchStatus =
dBuf->
find( chanKey.begin(), chanKey.end(), ientry );
154 if ( !searchStatus ) {
162 key. wheelId = wheelId;
164 key. sectorId = sectorId;
170 dataList.push_back( std::pair<DTRangeT0Id,DTRangeT0Data>( key, data ) );
171 dBuf->
insert( chanKey.begin(), chanKey.end(), ientry );
183 return set(
id.wheel(),
202 std::stringstream
name;
214 std::vector<int> chanKey;
216 while ( entryNum < entryMax ) {
221 chanKey.push_back( chan. wheelId );
223 chanKey.push_back( chan. sectorId );
224 chanKey.push_back( chan. slId );
225 dBuf->
insert( chanKey.begin(), chanKey.end(), entryNum++ );
std::string mapName() const
read and store full content
const_iterator end() const
std::vector< std::pair< DTRangeT0Id, DTRangeT0Data > >::const_iterator const_iterator
Access methods to data.
int get(int wheelId, int stationId, int sectorId, int slId, int &t0min, int &t0max) const
const std::string & version() const
access version
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTRangeT0Id, DTRangeT0Data > > dataList
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
void clear()
reset content
const_iterator begin() const
char data[epos_bytes_allocation]
int insert(ElementKey fKey, ElementKey lKey, Content cont)
int set(int wheelId, int stationId, int sectorId, int slId, int t0min, int t0max)
DTBufferTree< int, int > * dBuf