ATLAS Offline Software
Loading...
Searching...
No Matches
CBNT_Timing.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#include "CBNT_Timing.h"
6
7#include "CLHEP/Units/SystemOfUnits.h"
8
11
13
16#include "TBEvent/TBBPCCont.h"
17#include "TBEvent/TBPhase.h"
18#include "AthenaKernel/Units.h"
19#include <vector>
20
21
22using Athena::Units::GeV;
23using Athena::Units::ns;
24
25
26CBNT_Timing::CBNT_Timing(const std::string & name, ISvcLocator * pSvcLocator)
27 :CBNT_TBRecBase(name, pSvcLocator)
28{}
29
33
35
36 ATH_MSG_DEBUG ( "CBNT_Timing in initialize()" );
37
38 ATH_CHECK( m_cablingKey.initialize() );
39 ATH_CHECK( detStore()->retrieve(m_onlineHelper, "LArOnlineID") );
40
41 addBranch ("TDC_TimeCell",m_time_cell);
42 addBranch ("TDC_EnergyCell",m_energy_cell);
43 addBranch ("TDC_LayerCell",m_layer_cell);
44 addBranch ("TDC_EtaCell", m_eta_cell);
45 addBranch ("TDC_PhiCell", m_phi_cell);
46 addBranch ("TDC_FebIDCell", m_febId_cell);
47 addBranch ("TDC_TimeLayer",m_time_layer);
48 addBranch ("TDC_LayerIDLayer",m_layer_layer);
49 addBranch ("TDC_TimeFeb",m_time_feb);
50 addBranch ("TDC_FebIdFeb",m_febId_feb);
51 addBranch ("TDC_SlotFeb", m_slot_feb);
52 addBranch ("TDC_FeedthroughFeb", m_feedthrough_feb);
53 addBranch ("TDC_Phase",m_tdc_phase, "Phase/F");
54 addBranch ("TDC_TimeTotal",m_time, "TimeTotal/F");
55 addBranch ("TDC_EnergyTotal",m_energy, "EnergyTotal/F");
56
57
58
59
60 // setup calorimeter module and sampling lookup tables
62
63 // get calorimeter samplings ids for the requested samplings
64 msg() << MSG::INFO << "Included calorimeter samplings: ";
65 for (const std::string& sampling : m_sampling_names.value()) {
67 if (idSamp != CaloSampling::Unknown) {
68 m_samplingIndices.push_back(idSamp);
69 msg() << MSG::INFO << "\042" << sampling
70 << "\042 ";
71 }
72 }
73 msg() << MSG::INFO << endmsg;
74
75 // get an idCalo keyed map of vectors of idSample for the requested samplings
77 // find the idCalo
78 CaloCell_ID::SUBCALO idCalo = m_caloLookup[idSample];
79 // build the vector of idSample
80 std::vector<CaloSampling::CaloSample> samplingV = m_calosAndSamplings[idCalo];
81 samplingV.push_back(idSample);
82 m_calosAndSamplings[idCalo] = std::move(samplingV);
83 }
84 // printout
85 for (const auto& p : m_calosAndSamplings) {
86 CaloCell_ID::SUBCALO idCalo = p.first;
87 msg() << MSG::INFO
88 << "Included calorimeter : \042"
89 << m_caloToNameLookup[idCalo]
90 << "\042 samplings:";
91 const std::vector<CaloSampling::CaloSample>& samplingV = p.second;
92 for (CaloSampling::CaloSample sample : samplingV) {
93 msg() << MSG::INFO
94 << " \042"
95 << m_samplingToNameLookup[sample]
96 << "\042";
97 }
98 msg() << MSG::INFO << endmsg;
99 }
100
101 return StatusCode::SUCCESS;
102
103}
104
105
107{
108 ATH_MSG_DEBUG ( "in execute()" );
109
111 // Data Access //
113
115 const LArOnOffIdMapping* cabling{*cablingHdl};
116 if(!cabling) {
117 ATH_MSG_ERROR( "Do not have cabling mapping from key " << m_cablingKey.key() );
118 return StatusCode::FAILURE;
119 }
120
121 // CaloCells
122 const CaloCellContainer* cellContainer = nullptr;
123 ATH_CHECK( evtStore()->retrieve(cellContainer, m_caloCellName.value() ) );
124
125 // TBPhase
126 TBPhase * phase = nullptr;
127 ATH_CHECK( evtStore()->retrieve(phase,m_tbphase.value()) );
128
129 m_tdc_phase = phase->getPhase();
130
132 // First Event Action //
134
135 if (m_first_event) {
136
137 // find all febID's related to the requested samplings
138 // loop over desired calorimeter modules first, more efficient this way
139 for (const auto& p : m_calosAndSamplings) {
140 CaloCell_ID::SUBCALO idCalo = p.first;
141 std::vector<CaloSampling::CaloSample> samplingV = p.second;
142
143 // loop over the corresponding CaloCell's
144 for (CaloCellContainer::const_iterator cell = cellContainer->beginConstCalo(idCalo);
145 cell != cellContainer->endConstCalo(idCalo); ++cell) {
146
147 // get the corresponding sample
149 const CaloDetDescrElement * theCaloDDE= (*cell)->caloDDE();
150 if (theCaloDDE) {
151 idSample = (CaloSampling::CaloSample) theCaloDDE->getSampling();
152 }else{
153 idSample = CaloSampling::Unknown;
154 }
155
156 // only consider CaloCell's in the requested sampling
157 if (find(samplingV.begin(), samplingV.end(), idSample) != samplingV.end()) {
158
159 // here you have the CaloCell with idCalo, idSample, **cell
160 // find the hardware ID and the corresponding febID
161
162 HWIdentifier id = cabling->createSignalChannelID((*cell)->ID());
163 HWIdentifier febID = m_onlineHelper->feb_Id(id);
164
165 // store it if you don't have it already
166 if (find(m_febIDs.begin(), m_febIDs.end(), febID) == m_febIDs.end()) m_febIDs.push_back(febID);
167
168 }
169 }
170 }
171 // print out
172 msg() << MSG::INFO << "FEB IDs: ";
173 for (HWIdentifier febID : m_febIDs) {
174 std::ostringstream os;
175 os << std::hex << febID;
176 msg() << MSG::INFO << " \042" << os.str() << "\042";
177 }
178 msg() << MSG::INFO << endmsg;
179
180 m_first_event = false;
181 }
182
183
185 // sampling timing distributions //
187
188 // energy weighted time stores
189 std::map<CaloSampling::CaloSample, double> sumEPerSampling, sumETimePerSampling; // sampling id keyed
190 std::map<HWIdentifier, double> sumEPerFeb, sumETimePerFeb; // febID keyed
191 double sumETotal = 0, sumETimeTotal = 0;
192 bool eSet = false;
193
194 // fill energy weighted time stores
195 // loop over desired calorimeter modules first, more efficient this way
196 m_energy = 0;
197
198 for (const auto& p : m_calosAndSamplings) {
199 CaloCell_ID::SUBCALO idCalo = p.first;
201 ( "Looping over CaloCells of calorimeter : \042"
202 << m_caloToNameLookup[idCalo]
203 << "\042" );
204 std::vector<CaloSampling::CaloSample> samplingV = p.second;
205
206 // loop over the corresponding CaloCell's
207 for (CaloCellContainer::const_iterator cell = cellContainer->beginConstCalo(idCalo);
208 cell != cellContainer->endConstCalo(idCalo); ++cell) {
209
210 // get the corresponding sample
211 //CaloSampling::CaloSample idSample = CaloSampling::getSampling(**cell);
213 const CaloDetDescrElement * theCaloDDE= (*cell)->caloDDE();
214 if (theCaloDDE) {
215 idSample = (CaloSampling::CaloSample) theCaloDDE->getSampling();
216 }else{
217 idSample = CaloSampling::Unknown;
218 }
219
220 // only consider CaloCell's in the requested sampling
221 if (find(samplingV.begin(), samplingV.end(), idSample) != samplingV.end()) {
222
223 // here you have the CaloCell with idCalo, idSample, **cell
224 // find the hardware ID and the corresponding febID
225
226 HWIdentifier id = cabling->createSignalChannelID((*cell)->ID());
227 HWIdentifier febID = m_onlineHelper->feb_Id(id);
228
229 // gather sums for energy weighted cubic peaking time
230 // select cells for which the cubic interpolation was successfully applied
231 // *** for now, this is done by requiring that time(ns) is not too close to 25ns * n
232 // *** but it should be done using the CaloCell quality, when available...
233 // select cells above an energy threshold
234
235 double energy = (*cell)->e();
236 double time = (*cell)->time();
237 if (fabs(time/ns - float(int(time/(25*ns))*25.)) > 0.001 && energy > m_energy_cut) {
238
239 m_time_cell->push_back(time/ns);
240 m_energy_cell->push_back(energy/GeV);
241 m_energy += energy/GeV;
242
243 sumEPerSampling[idSample] += energy;
244 sumETimePerSampling[idSample] += energy * time;
245
246 sumEPerFeb[febID] += energy;
247 sumETimePerFeb[febID] += energy * time;
248
249 sumETotal += energy;
250 sumETimeTotal += energy * time;
251 eSet = true;
252
254 ( "cell time = " << time/ns << " ns"
255 << "; energy = " << energy/GeV << " GeV" );
256
257 } else {
258 // below energy cut
259 m_time_cell->push_back(NOTIME);
260 m_energy_cell->push_back(NOENERGY);
261 }
262
263 m_febId_cell->push_back(febID.get_identifier32().get_compact());
264 //try {
265 //const Identifier ident = cabling->cnvToIdentifier(id);
266 if ( m_emId->is_lar_em((*cell)->ID()) ) {
267 m_eta_cell->push_back(m_emId->eta((*cell)->ID()));
268 m_phi_cell->push_back(m_emId->phi((*cell)->ID()));
269 m_layer_cell->push_back(m_emId->sampling((*cell)->ID()));
270 } else {
271 m_eta_cell->push_back(0);
272 m_phi_cell->push_back(0);
273 m_layer_cell->push_back(0);
274 }
275 //}
276 /*catch (LArID_Exception & except) {
277 m_eta_cell->push_back(-999);
278 m_phi_cell->push_back(-999);
279 m_layer_cell->push_back(-999);
280 }*/
281
282 }
283 }
284 }
285
286 // fill energy weighted cubic peaking time for each requested sampling
288 // go on only if there is data stored for this sample:
289 //if (sumEPerSampling.find(idSample) != sumEPerSampling.end()) {
290 double peakTime = (sumEPerSampling[idSample] > 0.) ? sumETimePerSampling[idSample]/sumEPerSampling[idSample] : NOTIME;
291 m_time_layer->push_back(peakTime/ns);
292 m_layer_layer->push_back(idSample);
293 //}
294 }
295
296 // fill energy weighted cubic peaking time for each requested FEB
297 for (HWIdentifier febID : m_febIDs) {
298 // go on only if there is data stored for this febID
299 //if (sumEPerFeb.find(febID) != sumEPerFeb.end()) {
300 double peakTime = (sumEPerFeb[febID] > 0.) ? sumETimePerFeb[febID]/sumEPerFeb[febID] : NOTIME;
301 m_time_feb->push_back(peakTime/ns);
302 m_febId_feb->push_back(febID.get_identifier32().get_compact());
303 m_slot_feb->push_back(m_onlineHelper->slot(febID));
304 m_feedthrough_feb->push_back(m_onlineHelper->feedthrough(febID));
305 //}
306 }
307
308 // fill energy weighted cubic peaking time for everything
309 if (eSet) {
310 m_time = (sumETotal > 0.) ? sumETimeTotal/sumETotal : 0.;
311 }
312
313 //if (m_Ncells > 0) std::cout << "#cells: " << m_Ncells << std::endl;
314 return StatusCode::SUCCESS;
315}
316
317
318
319
320
322{
323 ATH_MSG_DEBUG ( "in finalize()" );
324 return StatusCode::SUCCESS;
325}
326
327
329
330 // fill slot and febName lookup table for EM barrel online
331 m_slotToFebNameLookup[1]="Presampler";
332 m_slotToFebNameLookup[2]="Front 0";
333 m_slotToFebNameLookup[3]="Front 1";
334 m_slotToFebNameLookup[4]="Front 2";
335 m_slotToFebNameLookup[5]="Front 3";
336 m_slotToFebNameLookup[6]="Front 4";
337 m_slotToFebNameLookup[7]="Front 5";
338 m_slotToFebNameLookup[8]="Front 6";
339 m_slotToFebNameLookup[9]="Back 0";
340 m_slotToFebNameLookup[10]="Back 1";
341 m_slotToFebNameLookup[11]="Middle 0";
342 m_slotToFebNameLookup[12]="Middle 1";
343 m_slotToFebNameLookup[13]="Middle 2";
344 m_slotToFebNameLookup[14]="Middle 3";
345
346 // fill calo names lookup tables
351
356
357 // fill sampling names lookup table
358 m_samplingToNameLookup[CaloSampling::PreSamplerB] = "PreSamplerB"; // electromagnetic barrel
359 m_samplingToNameLookup[CaloSampling::EMB1] = "EMB1";
360 m_samplingToNameLookup[CaloSampling::EMB2] = "EMB2";
361 m_samplingToNameLookup[CaloSampling::EMB3] = "EMB3";
362 m_samplingToNameLookup[CaloSampling::PreSamplerE] = "PreSamplerE"; // electromagnetic endcap
363 m_samplingToNameLookup[CaloSampling::EME1] = "EME1";
364 m_samplingToNameLookup[CaloSampling::EME2] = "EME2";
365 m_samplingToNameLookup[CaloSampling::EME3] = "EME3";
366 m_samplingToNameLookup[CaloSampling::HEC0] = "HEC0"; // hadronic endcap
367 m_samplingToNameLookup[CaloSampling::HEC1] = "HEC1";
368 m_samplingToNameLookup[CaloSampling::HEC2] = "HEC2";
369 m_samplingToNameLookup[CaloSampling::HEC3] = "HEC3";
370 m_samplingToNameLookup[CaloSampling::TileBar0] = "TileBar0"; // tile barrel
371 m_samplingToNameLookup[CaloSampling::TileBar1] = "TileBar1";
372 m_samplingToNameLookup[CaloSampling::TileBar2] = "TileBar2";
373 m_samplingToNameLookup[CaloSampling::TileGap1] = "TileGap1"; // tile gap scintillators
374 m_samplingToNameLookup[CaloSampling::TileGap2] = "TileGap2";
375 m_samplingToNameLookup[CaloSampling::TileGap3] = "TileGap3";
376 m_samplingToNameLookup[CaloSampling::TileExt0] = "TileExt0"; // tile extended barrel
377 m_samplingToNameLookup[CaloSampling::TileExt1] = "TileExt1";
378 m_samplingToNameLookup[CaloSampling::TileExt2] = "TileExt2";
379 m_samplingToNameLookup[CaloSampling::FCAL0] = "FCal1"; // fcal
380 m_samplingToNameLookup[CaloSampling::FCAL1] = "FCal2";
381 m_samplingToNameLookup[CaloSampling::FCAL2] = "FCal3";
382 m_samplingToNameLookup[CaloSampling::Unknown] = "unknown";
383
384 m_samplingFromNameLookup["PreSamplerB"] = CaloSampling::PreSamplerB; // electromagnetic barrel
385 m_samplingFromNameLookup["EMB1"] = CaloSampling::EMB1;
386 m_samplingFromNameLookup["EMB2"] = CaloSampling::EMB2;
387 m_samplingFromNameLookup["EMB3"] = CaloSampling::EMB3;
388 m_samplingFromNameLookup["PreSamplerE"] = CaloSampling::PreSamplerE; // electromagnetic endcap
389 m_samplingFromNameLookup["EME1"] = CaloSampling::EME1;
390 m_samplingFromNameLookup["EME2"] = CaloSampling::EME2;
391 m_samplingFromNameLookup["EME3"] = CaloSampling::EME3;
392 m_samplingFromNameLookup["HEC0"] = CaloSampling::HEC0; // hadronic endcap
393 m_samplingFromNameLookup["HEC1"] = CaloSampling::HEC1;
394 m_samplingFromNameLookup["HEC2"] = CaloSampling::HEC2;
395 m_samplingFromNameLookup["HEC3"] = CaloSampling::HEC3;
396 m_samplingFromNameLookup["TileBar0"] = CaloSampling::TileBar0; // tile barrel
397 m_samplingFromNameLookup["TileBar1"] = CaloSampling::TileBar1;
398 m_samplingFromNameLookup["TileBar2"] = CaloSampling::TileBar2;
399 m_samplingFromNameLookup["TileGap1"] = CaloSampling::TileGap1; // tile gap scintillators
400 m_samplingFromNameLookup["TileGap2"] = CaloSampling::TileGap2;
401 m_samplingFromNameLookup["TileGap3"] = CaloSampling::TileGap3;
402 m_samplingFromNameLookup["TileExt0"] = CaloSampling::TileExt0; // tile extended barrel
403 m_samplingFromNameLookup["TileExt1"] = CaloSampling::TileExt1;
404 m_samplingFromNameLookup["TileExt2"] = CaloSampling::TileExt2;
405 m_samplingFromNameLookup["FCal1"] = CaloSampling::FCAL0; // fcal
406 m_samplingFromNameLookup["FCal2"] = CaloSampling::FCAL1;
407 m_samplingFromNameLookup["FCal3"] = CaloSampling::FCAL2;
408 m_samplingFromNameLookup["unknown"] = CaloSampling::Unknown;
409
410 // fill calo lookup table
411 m_caloLookup[CaloSampling::PreSamplerB] = CaloCell_ID::LAREM;
412 m_caloLookup[CaloSampling::EMB1] = CaloCell_ID::LAREM;
413 m_caloLookup[CaloSampling::EMB2] = CaloCell_ID::LAREM;
414 m_caloLookup[CaloSampling::EMB3] = CaloCell_ID::LAREM;
415 m_caloLookup[CaloSampling::PreSamplerE] = CaloCell_ID::LAREM;
416 m_caloLookup[CaloSampling::EME1] = CaloCell_ID::LAREM;
417 m_caloLookup[CaloSampling::EME2] = CaloCell_ID::LAREM;
418 m_caloLookup[CaloSampling::EME3] = CaloCell_ID::LAREM;
419 m_caloLookup[CaloSampling::HEC0] = CaloCell_ID::LARHEC;
420 m_caloLookup[CaloSampling::HEC1] = CaloCell_ID::LARHEC;
421 m_caloLookup[CaloSampling::HEC2] = CaloCell_ID::LARHEC;
422 m_caloLookup[CaloSampling::HEC3] = CaloCell_ID::LARHEC;
423 m_caloLookup[CaloSampling::TileBar0] = CaloCell_ID::TILE;
424 m_caloLookup[CaloSampling::TileBar1] = CaloCell_ID::TILE;
425 m_caloLookup[CaloSampling::TileBar2] = CaloCell_ID::TILE;
426 m_caloLookup[CaloSampling::TileGap1] = CaloCell_ID::TILE;
427 m_caloLookup[CaloSampling::TileGap2] = CaloCell_ID::TILE;
428 m_caloLookup[CaloSampling::TileGap3] = CaloCell_ID::TILE;
429 m_caloLookup[CaloSampling::TileExt0] = CaloCell_ID::TILE;
430 m_caloLookup[CaloSampling::TileExt1] = CaloCell_ID::TILE;
431 m_caloLookup[CaloSampling::TileExt2] = CaloCell_ID::TILE;
432 m_caloLookup[CaloSampling::FCAL0] = CaloCell_ID::LARFCAL;
433 m_caloLookup[CaloSampling::FCAL1] = CaloCell_ID::LARFCAL;
434 m_caloLookup[CaloSampling::FCAL2] = CaloCell_ID::LARFCAL;
435
436 return StatusCode::SUCCESS;
437}
438
440
441 if(m_layer_cell) m_layer_cell->clear();
442 if(m_eta_cell) m_eta_cell->clear();
443 if(m_phi_cell) m_phi_cell->clear();
444 if(m_febId_cell) m_febId_cell->clear();
445 if(m_energy_cell) m_energy_cell->clear();
446 if(m_time_cell) m_time_cell->clear();
447 if(m_time_layer) m_time_layer->clear();
448 if(m_layer_layer) m_layer_layer->clear();
449 if(m_febId_feb) m_febId_feb->clear();
450 if(m_time_feb) m_time_feb->clear();
451 if(m_slot_feb) m_slot_feb->clear();
453 return StatusCode::SUCCESS;
454}
#define endmsg
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_DEBUG(x,...)
#define ATH_MSG_ERROR(x,...)
Wrapper to avoid constant divisions when using units.
ServiceHandle< StoreGateSvc > & evtStore()
const ServiceHandle< StoreGateSvc > & detStore() const
const LArEM_ID * m_emId
void addBranch(const std::string &branchname, T &obj, const std::string &leaflist)
CBNT_TBRecBase(const std::string &name, ISvcLocator *pSvcLocator)
std::map< CaloCell_ID::SUBCALO, std::vector< CaloSampling::CaloSample > > m_calosAndSamplings
Definition CBNT_Timing.h:53
std::map< CaloSampling::CaloSample, std::string > m_samplingToNameLookup
Definition CBNT_Timing.h:61
const LArOnlineID * m_onlineHelper
Definition CBNT_Timing.h:41
bool m_first_event
Definition CBNT_Timing.h:44
std::map< std::string, CaloSampling::CaloSample > m_samplingFromNameLookup
Definition CBNT_Timing.h:62
std::map< std::string, CaloCell_ID::SUBCALO > m_caloFromNameLookup
Definition CBNT_Timing.h:60
std::vector< long > * m_phi_cell
Definition CBNT_Timing.h:67
static const int NOENERGY
Definition CBNT_Timing.h:38
std::vector< float > * m_time_layer
Definition CBNT_Timing.h:70
std::map< int, std::string > m_slotToFebNameLookup
Definition CBNT_Timing.h:58
std::vector< long > * m_feedthrough_feb
Definition CBNT_Timing.h:77
std::vector< HWIdentifier > m_febIDs
Definition CBNT_Timing.h:54
virtual StatusCode CBNT_finalize() override
virtual StatusCode CBNT_initialize() override
std::vector< CaloSampling::CaloSample > m_samplingIndices
stores
Definition CBNT_Timing.h:52
std::vector< long > * m_febId_cell
Definition CBNT_Timing.h:67
static const int NOTIME
Definition CBNT_Timing.h:37
std::vector< long > * m_layer_layer
Definition CBNT_Timing.h:71
std::vector< long > * m_layer_cell
Definition CBNT_Timing.h:67
std::vector< long > * m_febId_feb
Definition CBNT_Timing.h:74
std::vector< long > * m_eta_cell
Definition CBNT_Timing.h:67
Gaudi::Property< std::string > m_caloCellName
Definition CBNT_Timing.h:48
Gaudi::Property< std::string > m_tbphase
Definition CBNT_Timing.h:46
std::map< CaloSampling::CaloSample, CaloCell_ID::SUBCALO > m_caloLookup
Definition CBNT_Timing.h:63
std::vector< long > * m_slot_feb
Definition CBNT_Timing.h:76
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
Definition CBNT_Timing.h:40
float m_tdc_phase
Definition CBNT_Timing.h:80
virtual StatusCode CBNT_clear() override
Gaudi::Property< std::vector< std::string > > m_sampling_names
Definition CBNT_Timing.h:47
CBNT_Timing(const std::string &name, ISvcLocator *pSvcLocator)
virtual ~CBNT_Timing()
std::vector< float > * m_time_cell
Definition CBNT_Timing.h:68
std::vector< float > * m_energy_cell
Definition CBNT_Timing.h:68
float m_energy
Definition CBNT_Timing.h:80
virtual StatusCode CBNT_execute() override
std::vector< float > * m_time_feb
Definition CBNT_Timing.h:75
StatusCode setupLookupTables()
internal helpers
Gaudi::Property< double > m_energy_cut
Definition CBNT_Timing.h:43
std::map< CaloCell_ID::SUBCALO, std::string > m_caloToNameLookup
Definition CBNT_Timing.h:59
Container class for CaloCell.
CaloCellContainer::const_iterator beginConstCalo(CaloCell_ID::SUBCALO caloNum) const
get const iterators on cell of just one calo
CaloCellContainer::const_iterator endConstCalo(CaloCell_ID::SUBCALO caloNum) const
CaloCell_Base_ID::SUBCALO SUBCALO
Definition CaloCell_ID.h:50
This class groups all DetDescr information related to a CaloCell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:861
value_type get_compact() const
Get the compact id.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
std::string find(const std::string &s)
return a remapped string
Definition hcg.cxx:140