 |
ATLAS Offline Software
|
Converter for the DetDescrCnvSvc which parses the identifier xml dictionaries and creates an IdDictManager in the DetectorStore. This is used by the IdHelpers to initialize themselves.
More...
#include <IdDictDetDescrCnv.h>
|
| double | phiCorr (double phi) |
| |
| void | ipCorr (double d0, double z0, double &d0c, double &z0c, double phi0, double eta, double pt) |
| |
Converter for the DetDescrCnvSvc which parses the identifier xml dictionaries and creates an IdDictManager in the DetectorStore. This is used by the IdHelpers to initialize themselves.
Definition at line 42 of file IdDictDetDescrCnv.h.
◆ IdDictDetDescrCnv()
| IdDictDetDescrCnv::IdDictDetDescrCnv |
( |
ISvcLocator * |
svcloc | ) |
|
◆ addTrack()
◆ classID()
◆ clear()
| void Converter::clear |
( |
| ) |
|
|
inlineinherited |
◆ collectCaloNeighbors()
A helper function for collecting calo neighbor file names from the database.
Definition at line 234 of file IdDictDetDescrCnv.cxx.
236 const IRDBRecord *neighborTable = (*recordset)[0];
◆ createObj()
| StatusCode IdDictDetDescrCnv::createObj |
( |
IOpaqueAddress * |
pAddr, |
|
|
DataObject *& |
pObj |
|
) |
| |
|
overridevirtual |
Implements DetDescrConverter.
Definition at line 52 of file IdDictDetDescrCnv.cxx.
75 "in createObj: creating a IdDictManager object in the detector store");
79 return StatusCode::FAILURE;
83 std::string mgrKey = *(ddAddr->par());
103 return StatusCode::SUCCESS;
◆ createRep()
| StatusCode DetDescrConverter::createRep |
( |
DataObject * |
pObj, |
|
|
IOpaqueAddress *& |
pAddr |
|
) |
| |
|
virtualinherited |
◆ detStore()
◆ fillObjRefs()
| StatusCode DetDescrConverter::fillObjRefs |
( |
IOpaqueAddress * |
pAddr, |
|
|
DataObject * |
pObj |
|
) |
| |
|
virtualinherited |
◆ fillRepRefs()
| StatusCode DetDescrConverter::fillRepRefs |
( |
IOpaqueAddress * |
pAddr, |
|
|
DataObject * |
pObj |
|
) |
| |
|
virtualinherited |
◆ finalize()
| StatusCode IdDictDetDescrCnv::finalize |
( |
| ) |
|
|
overridevirtual |
◆ getFileNamesFromProperties()
| StatusCode IdDictDetDescrCnv::getFileNamesFromProperties |
( |
| ) |
|
|
private |
◆ getFileNamesFromTags()
| StatusCode IdDictDetDescrCnv::getFileNamesFromTags |
( |
| ) |
|
|
private |
Get file names from properties.
Definition at line 339 of file IdDictDetDescrCnv.cxx.
342 bool skipDbDictAccess =
m_geoDbTagSvc->getParamSvcName().empty();
343 std::string paramSvcName = skipDbDictAccess ?
"RDBAccessSvc" :
m_geoDbTagSvc->getParamSvcName();
348 if(skipDbDictAccess) {
349 ATH_MSG_WARNING(
"Unable to determine RDBAccessSvc backend. Using default dictionaries");
353 return StatusCode::SUCCESS;
358 std::string &dictTag) {
359 if (idDictSet->size()) {
360 const IRDBRecord *idDictTable = (*idDictSet)[0];
361 const std::string dictName = idDictTable->
getString(
"DICT_NAME");
363 dictTag = idDictSet->tagName();
370 << dictName <<
", file: " <<
fileName
372 <<
", dictionary tag: " << dictTag);
375 ATH_MSG_WARNING(
" no record set found for dictionary"<<idDictSet->nodeName()<<
" - using default dictionary ");
381 auto getEmbeddedDict = [
this](
const std::string& dictName,
383 std::string &dictTag) ->
bool
389 std::string dictString = dictRecord->
getString(
"CONTENTS");
391 std::string dictFileName = dictName+
"-fromSQLite.xml";
392 std::ofstream dictFile;
393 dictFile.open(dictFileName);
394 dictFile << dictString;
400 ATH_MSG_DEBUG(dictName <<
" read from the SQLite database as a BLOB");
406 bool useGeomDB = (
m_geoDbTagSvc->getSqliteReader() ==
nullptr);
408 std::string detTag{
""}, detNode{
""}, dictName{
""};
412 bool embeddedDict{
false};
419 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: "
420 << detectorKey.node());
421 detTag = detectorKey.tag();
422 detNode = detectorKey.node();
423 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"DICTXDD", detTag, detNode);
426 if (idDictSet->size()) {
427 const IRDBRecord *recordInDet = (*idDictSet)[0];
428 std::string InDetString = recordInDet->
getString(
"XMLCLOB");
431 std::ofstream blobFile;
432 blobFile.open(
"InDetIdDict.xml");
433 blobFile << InDetString << std::endl;
436 ATH_MSG_WARNING(
" no record set found for InDetIdentifier - using default dictionary ");
445 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node());
446 detTag = detectorKey.tag();
447 detNode = detectorKey.node();
449 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"InDetIdentifier", detTag, detNode);
461 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
462 detTag = detectorKey.tag();
463 detNode = detectorKey.node();
465 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"LArIdentifier", detTag, detNode);
476 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
477 detTag = detectorKey.tag();
478 detNode = detectorKey.node();
480 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"TileIdentifier", detTag, detNode);
491 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag()<<
" at Node: " << detectorKey.node() );
492 detTag = detectorKey.tag();
493 detNode = detectorKey.node();
495 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"CaloIdentifier", detTag, detNode);
501 if (caloNeighborTable->size() == 0 && useGeomDB) {
502 caloNeighborTable =
m_rdbAccessSvc->getRecordsetPtr(
"CaloNeighborTable",
"CaloNeighborTable-00");
505 if (caloNeighborTable->size()) {
516 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag()<<
" at Node: " << detectorKey.node() );
517 detTag = detectorKey.tag();
518 detNode = detectorKey.node();
520 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"MuonIdentifier", detTag, detNode);
531 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
532 detTag = detectorKey.tag();
533 detNode = detectorKey.node();
535 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"ForDetIdentifier", detTag, detNode);
538 if (idDictSet->size() == 0 && useGeomDB) {
540 "ForDetIdentifier-00");
541 ATH_MSG_DEBUG(
" explicitly requesting ForDetIdentifier-00 tag for pre-forward "
548 return StatusCode::SUCCESS;
◆ initialize()
| StatusCode IdDictDetDescrCnv::initialize |
( |
| ) |
|
|
overridevirtual |
◆ initMessaging()
| void AthMessaging::initMessaging |
( |
| ) |
const |
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 39 of file AthMessaging.cxx.
◆ ipCorr()
| void Converter::ipCorr |
( |
double |
d0, |
|
|
double |
z0, |
|
|
double & |
d0c, |
|
|
double & |
z0c, |
|
|
double |
phi0, |
|
|
double |
eta, |
|
|
double |
pt |
|
) |
| |
|
inlineprotectedinherited |
Definition at line 257 of file Converter.h.
261 double sd0 = (
d0 != 0 ?
d0/fabs(
d0) : 1);
262 double spt = (
pt != 0 ?
pt/fabs(
pt) : 1);
270 double rc = fabs(
pt)*15.0/(9.0*1.042);
276 double xd01,yd01,xd02,yd02;
279 xd01 = 0; yd01 =
rc+yc;
280 xd02 = 0; yd02 = -
rc+yc;
282 xd01 = xc+yc/xc*yc+sqrt(
pow((xc+yc/xc*yc),2)-xc*xc-yc*yc+rc*rc); yd01 = yc/xc*xd01;
283 xd02 = xc+yc/xc*yc-sqrt(
pow((xc+yc/xc*yc),2)-xc*xc-yc*yc+rc*rc); yd02 = yc/xc*xd02;
286 double r1 = sqrt(xd01*xd01+yd01*yd01);
287 double r2 = sqrt(xd02*xd02+yd02*yd02);
292 phiV = atan2(yd01,xd01);
294 phiV = atan2(yd02,xd02);
304 d0c = fabs(sqrt(xc*xc+yc*yc)-rc)*
sin(phiV-newphi);
307 double theta_save=
theta;
◆ loadProperty()
template<class dType >
| StatusCode IdDictDetDescrCnv::loadProperty |
( |
const std::string & |
propertyName, |
|
|
dType & |
pipeTo |
|
) |
| |
|
private |
Loads the property from the DetDecrCnvSvc and pipes its value Returns failure if either the service, the property don't exist or the data type is wrong.
Definition at line 655 of file IdDictDetDescrCnv.cxx.
661 return StatusCode::FAILURE;
663 const Gaudi::Details::PropertyBase &prop =
665 const Gaudi::Property<dType> *propPtr{
666 dynamic_cast<const Gaudi::Property<dType> *
>(&prop)};
668 ATH_MSG_ERROR(
"Property " << propertyName <<
" is not of type"
669 <<
typeid(dType).
name() <<
" but of "
670 <<
typeid(prop).
name());
671 return StatusCode::FAILURE;
673 pipeTo = propPtr->value();
675 return StatusCode::SUCCESS;
◆ loadPropertyWithParse()
template<class dType >
| StatusCode IdDictDetDescrCnv::loadPropertyWithParse |
( |
const std::string & |
propertyName, |
|
|
dType & |
pipeTo |
|
) |
| |
|
private |
Same as loadProperty but additionally m_doParsing is set to true if the input value does not match the set property value.
Definition at line 681 of file IdDictDetDescrCnv.cxx.
686 pipeTo = std::move(cache);
687 return StatusCode::SUCCESS;
◆ msg() [1/2]
| MsgStream & AthMessaging::msg |
( |
| ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
◆ msg() [2/2]
| MsgStream & AthMessaging::msg |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
180 {
return msg() << lvl; }
◆ msgLvl()
| bool AthMessaging::msgLvl |
( |
const MSG::Level |
lvl | ) |
const |
|
inlineinherited |
Test the output level.
- Parameters
-
| lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ parseXMLDescription()
| StatusCode IdDictDetDescrCnv::parseXMLDescription |
( |
| ) |
|
|
private |
Create and (re)initialize the IdDictManager - only create the first time.
Definition at line 108 of file IdDictDetDescrCnv.cxx.
126 m_parser = std::make_unique<IdDictParser>();
157 "Dictonary file name from job options or using defaults.");
216 return StatusCode::FAILURE;
225 "NOTE: ** parseXMLDescription called, but parsing was deemed "
228 ATH_MSG_DEBUG(
"parseXMLDescription: Finished parsing and setting options ");
229 return StatusCode::SUCCESS;
◆ phiCorr()
| double Converter::phiCorr |
( |
double |
phi | ) |
|
|
inlineprotectedinherited |
Definition at line 248 of file Converter.h.
250 if (
phi < -TMath::Pi())
phi += 2*TMath::Pi();
251 if (
phi > TMath::Pi())
phi -= 2*TMath::Pi();
◆ printDicts()
Print out the contained dictionaries and version.
Definition at line 267 of file IdDictDetDescrCnv.cxx.
278 IdDictMgr::dictionary_map::const_iterator
it;
288 std::string space(20 -
dictionary.name().size(),
' ');
293 std::string space(20 -
version.size(),
' ');
299 std::string space(25 -
dictionary.dict_tag().size(),
' ');
◆ registerFilesWithParser()
| StatusCode IdDictDetDescrCnv::registerFilesWithParser |
( |
| ) |
|
|
private |
Register the requested files with the xml parser.
Definition at line 552 of file IdDictDetDescrCnv.cxx.
556 ifile.open(
"InDetIdDict.xml");
590 m_parser->register_external_entity(
"MuonSpectrometer",
596 m_parser->register_external_entity(
"ForwardDetectors",
601 return StatusCode::SUCCESS;
◆ registerInfoWithDicts()
| StatusCode IdDictDetDescrCnv::registerInfoWithDicts |
( |
| ) |
|
|
private |
Register the requested files and tag with the created id dicts.
Definition at line 605 of file IdDictDetDescrCnv.cxx.
609 auto setDictPaths = [
this, &
mgr](
const std::string &dict_name,
611 const std::string &dict_tag) {
614 return StatusCode::SUCCESS;
619 return StatusCode::FAILURE;
623 ATH_MSG_DEBUG(
"For " << dict_name <<
" idDict, setting file/tag: "
625 return StatusCode::SUCCESS;
635 auto addMetaData = [&
mgr,
this](
const std::string &
key,
636 const std::string &
value) {
651 return StatusCode::SUCCESS;
◆ repSvcType()
| long int IdDictDetDescrCnv::repSvcType |
( |
| ) |
const |
|
overridevirtual |
◆ selectTracks() [1/3]
Definition at line 177 of file Converter.h.
179 static int hpmap[20] = { 0, 1, 2, 7, 8, 9, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
184 while(muonitr!=muonend) {
186 bool hasInDet = (*muonitr)->hasInDetTrackParticle();
188 if(hasInDet) trackitr=(*muonitr)->inDetTrackParticle();
190 if(!hasInDet)
continue;
194 CLHEP::HepVector perigeeParams = measPer->parameters();
195 double pT = measPer->pT();
196 double eta = measPer->eta();
223 double dof =
quality->quality->numberDoF();
227 for (
int ih=0 ; ih<20 ; ih++ ) {
236 deta, dphi, dz0, dd0, dpT,
238 nStrawHits, nTrHits, bitmap, 0,
◆ selectTracks() [2/3]
Definition at line 111 of file Converter.h.
116 static int hpmap[20] = { 0, 1, 2, 7, 8, 9, 3, 4, 5, 6, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19 };
118 while ( trackitr!=trackend ) {
122 CLHEP::HepVector perigeeParams = measPer->parameters();
123 double pT = measPer->pT();
124 double eta = measPer->eta();
147 bool expectBL =
false;
151 double dof =
quality->numberDoF();
155 for (
int ih=0 ; ih<20 ; ih++ ) {
164 deta, dphi, dz0, dd0, dpT,
166 nStrawHits, nTrHits, bitmap, 0,
◆ selectTracks() [3/3]
Definition at line 56 of file Converter.h.
61 while ( trackitr!=trackend ) {
63 double eta = (*trackitr)->param()->eta();
64 double phi = (*trackitr)->param()->phi0();
65 double z0 = (*trackitr)->param()->z0();
66 double pT = (*trackitr)->param()->pT();
67 double d0 = (*trackitr)->param()->a0();
70 double deta = (*trackitr)->param()->eeta();
71 double dphi = (*trackitr)->param()->ephi0();
72 double dz0 = (*trackitr)->param()->ez0();
73 double dpT = (*trackitr)->param()->epT();
74 double dd0 = (*trackitr)->param()->ea0();
76 int algoid = (*trackitr)->algorithmId();
78 int nBlayerHits = ((*trackitr)->HitPattern() & 0x1);
79 int nPixelHits = 2*(*trackitr)->NPixelSpacePoints();
80 int nSctHits = 2*(*trackitr)->NSCT_SpacePoints();
81 int nStrawHits = (*trackitr)->NStrawHits();
82 int nTrHits = (*trackitr)->NTRHits();
85 bool expectBL =
false;
87 unsigned hitPattern = (*trackitr)->HitPattern();
88 unsigned multiPattern = 0;
90 double chi2 = (*trackitr)->chi2();
98 deta, dphi, dz0, dd0, dpT,
100 nStrawHits, nTrHits, hitPattern, multiPattern,
◆ setLevel()
| void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ storageType()
| long int IdDictDetDescrCnv::storageType |
( |
| ) |
|
|
static |
◆ tracks()
◆ ATLAS_THREAD_SAFE
| std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_atlasIdDictTag
| std::string IdDictDetDescrCnv::m_atlasIdDictTag {} |
|
private |
◆ m_atlasIDFileName
| std::string IdDictDetDescrCnv::m_atlasIDFileName {} |
|
private |
◆ m_beamX
| double Converter::m_beamX |
|
protectedinherited |
◆ m_beamY
| double Converter::m_beamY |
|
protectedinherited |
◆ m_beamZ
| double Converter::m_beamZ |
|
protectedinherited |
◆ m_caloIdDictTag
| std::string IdDictDetDescrCnv::m_caloIdDictTag {} |
|
private |
◆ m_caloIDFileName
| std::string IdDictDetDescrCnv::m_caloIDFileName {} |
|
private |
◆ m_detDescrProxy
| SmartIF<IProperty> IdDictDetDescrCnv::m_detDescrProxy |
|
private |
◆ m_detStore
◆ m_doChecks
| bool IdDictDetDescrCnv::m_doChecks {false} |
|
private |
◆ m_doNeighbours
| bool IdDictDetDescrCnv::m_doNeighbours {true} |
|
private |
◆ m_doParsing
| bool IdDictDetDescrCnv::m_doParsing {true} |
|
private |
Flag to which determines whether the xml files are parsed or not.
Definition at line 115 of file IdDictDetDescrCnv.h.
◆ m_fcal2dNeighborsName
| std::string IdDictDetDescrCnv::m_fcal2dNeighborsName {} |
|
private |
◆ m_fcal3dNeighborsNextName
| std::string IdDictDetDescrCnv::m_fcal3dNeighborsNextName {} |
|
private |
◆ m_fcal3dNeighborsPrevName
| std::string IdDictDetDescrCnv::m_fcal3dNeighborsPrevName {} |
|
private |
◆ m_forwardIdDictTag
| std::string IdDictDetDescrCnv::m_forwardIdDictTag {} |
|
private |
◆ m_forwardIDFileName
| std::string IdDictDetDescrCnv::m_forwardIDFileName {} |
|
private |
◆ m_fullAtlasNeighborsName
| std::string IdDictDetDescrCnv::m_fullAtlasNeighborsName {} |
|
private |
◆ m_geoDbTagSvc
◆ m_idDictFromRDB
| bool IdDictDetDescrCnv::m_idDictFromRDB {false} |
|
private |
◆ m_idDictName
| std::string IdDictDetDescrCnv::m_idDictName {} |
|
private |
◆ m_imsg
| std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_inDetIdDictTag
| std::string IdDictDetDescrCnv::m_inDetIdDictTag {} |
|
private |
◆ m_inDetIDFileName
| std::string IdDictDetDescrCnv::m_inDetIDFileName {} |
|
private |
◆ m_inDetIDTag
| std::string IdDictDetDescrCnv::m_inDetIDTag {} |
|
private |
◆ m_larIdDictTag
| std::string IdDictDetDescrCnv::m_larIdDictTag {} |
|
private |
◆ m_larIDFileName
| std::string IdDictDetDescrCnv::m_larIDFileName {} |
|
private |
◆ m_lvl
| std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_msg_tls
| boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls |
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
◆ m_muonIdDictTag
| std::string IdDictDetDescrCnv::m_muonIdDictTag {} |
|
private |
◆ m_muonIDFileName
| std::string IdDictDetDescrCnv::m_muonIDFileName {} |
|
private |
◆ m_nm
| std::string AthMessaging::m_nm |
|
privateinherited |
◆ m_parser
| std::unique_ptr<IdDictParser> IdDictDetDescrCnv::m_parser {} |
|
private |
◆ m_rdbAccessSvc
◆ m_tileIdDictTag
| std::string IdDictDetDescrCnv::m_tileIdDictTag {} |
|
private |
◆ m_tileIDFileName
| std::string IdDictDetDescrCnv::m_tileIDFileName {} |
|
private |
◆ m_tileNeighborsName
| std::string IdDictDetDescrCnv::m_tileNeighborsName {} |
|
private |
◆ m_tracks
◆ m_useGeomDB_InDet
| bool IdDictDetDescrCnv::m_useGeomDB_InDet {false} |
|
private |
The documentation for this class was generated from the following files:
std::string m_tileIdDictTag
Tag of RDB record for Tile ids.
std::atomic< MSG::Level > m_lvl
Current logging level.
@ numberOfPixelHits
number of pixel layers on track with absence of hits
std::map< std::string, IdDictDictionary * > dictionary_map
std::string m_idDictName
Name of top-level xml dict file.
void ipCorr(double d0, double z0, double &d0c, double &z0c, double phi0, double eta, double pt)
Const iterator class for DataVector/DataList.
@ numberOfTRTHighThresholdHits
total number of TRT hits which pass the high threshold
StatusCode loadProperty(const std::string &propertyName, dType &pipeTo)
Loads the property from the DetDecrCnvSvc and pipes its value Returns failure if either the service,...
std::string m_atlasIDFileName
File to be read for top-level subsystem ids values.
std::string m_fcal3dNeighborsPrevName
Scalar phi() const
phi method
StatusCode registerInfoWithDicts()
Register the requested files and tag with the created id dicts.
const long DetDescr_StorageType
std::string m_inDetIDTag
Internal InDet id tag.
std::string m_atlasIdDictTag
Tag of RDB record for Atlas top-level ids.
StatusCode getFileNamesFromTags()
Get file names from properties.
bool m_doNeighbours
Flag to generate neighbor information - for calos.
Scalar eta() const
pseudorapidity method
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
std::string m_muonIDFileName
File to be read for Muon ids.
virtual const std::string & getString(const std::string &fieldName) const =0
Get string field value.
Scalar theta() const
theta method
std::string m_fullAtlasNeighborsName
Files for Calo Neighbors.
const TrackSummary * trackSummary() const
accessor function for TrackSummary.
const dictionary_map & get_dictionary_map() const
Access to all dictionaries.
SmartIF< IProperty > m_detDescrProxy
Propxy to the DetDescrCnvSvc.
std::string m_fcal2dNeighborsName
void set_dict_tag(const std::string &tag)
Set the dictionary tag.
std::string m_forwardIDFileName
File to be read for Forward det ids.
std::string m_tileIDFileName
File to be read for Tile ids.
StatusCode parseXMLDescription()
Create and (re)initialize the IdDictManager - only create the first time.
std::string m_larIDFileName
File to be read for LAr ids.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::string m_tileNeighborsName
float nPixelHits(const U &p)
IMessageSvc * getMessageSvc(bool quiet=false)
@ numberOfBLayerHits
these are the hits in the 0th pixel layer?
double phiCorr(double phi)
void collectCaloNeighbors(IRDBRecordset_ptr recordset)
A helper function for collecting calo neighbor file names from the database.
ServiceHandle< StoreGateSvc > m_detStore
DataObject * asStorable(SG::DataObjectSharedPtr< T > pObject)
std::string m_inDetIdDictTag
Tag of RDB record for InDet ids.
std::string m_larIdDictTag
Tag of RDB record for LAr ids.
@ numberOfSCTHits
number of SCT holes
DetDescrConverter(const CLID &myCLID, ISvcLocator *svcloc, const char *name=nullptr)
bool m_doChecks
Flag to tell helpers to do Checks.
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
void set_file_name(const std::string &name)
Set file name.
Default, invalid implementation of ClassID_traits.
const FitQuality * fitQuality() const
accessor function for FitQuality.
double chi2(TH1 *h0, TH1 *h1)
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
StatusCode registerFilesWithParser()
Register the requested files with the xml parser.
std::string m_inDetIDFileName
File to be read for InDet ids.
std::string m_fcal3dNeighborsNextName
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
MsgStream & msg() const
The standard message stream.
void addTrack(TIDA::Track *t)
std::string m_muonIdDictTag
Tag of RDB record for Muon ids.
@ numberOfTRTHits
number of TRT outliers
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
A summary of the information contained by a track.
IdDictManager is the interface to identifier dictionaries.
std::string m_caloIdDictTag
Tag of RDB record for Calo ids.
ServiceHandle< IRDBAccessSvc > m_rdbAccessSvc
const Trk::Perigee * measuredPerigee() const
Accessor method for Perigee.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
DetectorType
enumerates the various detector types currently accessible from the isHit() method.
std::string m_forwardIdDictTag
Tag of RDB record for forwards det ids.
#define ATH_MSG_WARNING(x)
virtual bool isFieldNull(const std::string &fieldName) const =0
Check if the field value is NULL.
std::string m_caloIDFileName
File to be read for Calo ids.
IRDBRecord is one record in the IRDBRecordset object.
std::string m_nm
Message source name.
const IdDictMgr * manager(void) const
StatusCode loadPropertyWithParse(const std::string &propertyName, dType &pipeTo)
Same as loadProperty but additionally m_doParsing is set to true if the input value does not match th...
std::unique_ptr< IdDictParser > m_parser
The xml parser for the dictionary descriptions.
void printDicts(const IdDictManager *dictMgr)
Print out the contained dictionaries and version.
void initMessaging() const
Initialize our message level and MessageSvc.
StatusCode getFileNamesFromProperties()
Get file names from properties.
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
constexpr int pow(int base, int exp) noexcept
const std::string & tag() const
Version tag.
std::vector< TIDA::Track * > m_tracks
bool m_idDictFromRDB
Flag to get dict parameters from Relational DetDescr DB.
bool m_doParsing
Flag to which determines whether the xml files are parsed or not.
static long int storageType()
Storage type and class ID (used by CnvFactory)
float nSiHits(const U &p)
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.