34 nsPerCount( 25.0 / 32.0 ),
42 dataVersion( version ),
43 nsPerCount( 25.0 / 32.0 ),
103 std::vector<int> chanKey;
105 chanKey.push_back( wheelId );
106 chanKey.push_back( stationId );
107 chanKey.push_back( sectorId );
109 int searchStatus =
dBuf->
find( chanKey.begin(), chanKey.end(), ientry );
110 if ( !searchStatus ) {
128 return get(
id.wheel(),
141 get( wheelId, stationId, sectorId,
cl, ph,
unit );
143 else return ( cl *
clock() ) + ph;
195 std::vector<int> chanKey;
197 chanKey.push_back( wheelId );
198 chanKey.push_back( stationId );
199 chanKey.push_back( sectorId );
201 int searchStatus =
dBuf->
find( chanKey.begin(), chanKey.end(), ientry );
203 if ( !searchStatus ) {
211 key. wheelId = wheelId;
213 key. sectorId = sectorId;
220 dBuf->
insert( chanKey.begin(), chanKey.end(), ientry );
233 return set(
id.wheel(),
261 std::stringstream
name;
273 std::vector<int> chanKey;
275 while ( entryNum < entryMax ) {
280 chanKey.push_back( chan. wheelId );
282 chanKey.push_back( chan. sectorId );
283 dBuf->
insert( chanKey.begin(), chanKey.end(), entryNum++ );
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > >::const_iterator const_iterator
Access methods to data.
void clear()
reset content
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
const std::string & version() const
access version
const_iterator begin() const
int set(int wheelId, int stationId, int sectorId, int nc, float ph, DTTimeUnits::type unit)
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
const_iterator end() const
float totalTime(int wheelId, int stationId, int sectorId, DTTimeUnits::type unit) const
DTTPGParameters & operator=(DTTPGParameters const &)
std::string mapName() const
int insert(ElementKey fKey, ElementKey lKey, Content cont)
std::vector< std::pair< DTTPGParametersId, DTTPGParametersData > > dataList
int get(int wheelId, int stationId, int sectorId, int &nc, float &ph, DTTimeUnits::type unit) const
get content