|
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 236 of file IdDictDetDescrCnv.cxx.
238 const IRDBRecord *neighborTable = (*recordset)[0];
◆ createObj()
StatusCode IdDictDetDescrCnv::createObj |
( |
IOpaqueAddress * |
pAddr, |
|
|
DataObject *& |
pObj |
|
) |
| |
|
overridevirtual |
Implements DetDescrConverter.
Definition at line 54 of file IdDictDetDescrCnv.cxx.
77 "in createObj: creating a IdDictManager object in the detector store");
81 return StatusCode::FAILURE;
85 std::string mgrKey = *(ddAddr->par());
105 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 341 of file IdDictDetDescrCnv.cxx.
344 bool skipDbDictAccess =
m_geoDbTagSvc->getParamSvcName().empty();
345 std::string paramSvcName = skipDbDictAccess ?
"RDBAccessSvc" :
m_geoDbTagSvc->getParamSvcName();
350 if(skipDbDictAccess) {
351 ATH_MSG_WARNING(
"Unable to determine RDBAccessSvc backend. Using default dictionaries");
355 return StatusCode::SUCCESS;
360 std::string &dictTag) {
361 if (idDictSet->size()) {
362 const IRDBRecord *idDictTable = (*idDictSet)[0];
363 const std::string dictName = idDictTable->
getString(
"DICT_NAME");
365 dictTag = idDictSet->tagName();
372 << dictName <<
", file: " <<
fileName
374 <<
", dictionary tag: " << dictTag);
377 ATH_MSG_WARNING(
" no record set found for dictionary"<<idDictSet->nodeName()<<
" - using default dictionary ");
383 auto getEmbeddedDict = [
this](
const std::string& dictName,
385 std::string &dictTag) ->
bool
391 std::string dictString = dictRecord->
getString(
"CONTENTS");
393 std::string dictFileName = dictName+
"-fromSQLite.xml";
394 std::ofstream dictFile;
395 dictFile.open(dictFileName);
396 dictFile << dictString;
402 ATH_MSG_DEBUG(dictName <<
" read from the SQLite database as a BLOB");
408 bool useGeomDB = (
m_geoDbTagSvc->getSqliteReader() ==
nullptr);
410 std::string detTag{
""}, detNode{
""}, dictName{
""};
414 bool embeddedDict{
false};
421 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: "
422 << detectorKey.node());
423 detTag = detectorKey.tag();
424 detNode = detectorKey.node();
425 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"DICTXDD", detTag, detNode);
428 if (idDictSet->size()) {
429 const IRDBRecord *recordInDet = (*idDictSet)[0];
430 std::string InDetString = recordInDet->
getString(
"XMLCLOB");
433 std::ofstream blobFile;
434 blobFile.open(
"InDetIdDict.xml");
435 blobFile << InDetString << std::endl;
438 ATH_MSG_WARNING(
" no record set found for InDetIdentifier - using default dictionary ");
447 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node());
448 detTag = detectorKey.tag();
449 detNode = detectorKey.node();
451 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"InDetIdentifier", detTag, detNode);
463 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
464 detTag = detectorKey.tag();
465 detNode = detectorKey.node();
467 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"LArIdentifier", detTag, detNode);
478 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
479 detTag = detectorKey.tag();
480 detNode = detectorKey.node();
482 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"TileIdentifier", detTag, detNode);
493 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag()<<
" at Node: " << detectorKey.node() );
494 detTag = detectorKey.tag();
495 detNode = detectorKey.node();
497 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"CaloIdentifier", detTag, detNode);
503 if (caloNeighborTable->size() == 0 && useGeomDB) {
504 caloNeighborTable =
m_rdbAccessSvc->getRecordsetPtr(
"CaloNeighborTable",
"CaloNeighborTable-00");
507 if (caloNeighborTable->size()) {
518 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag()<<
" at Node: " << detectorKey.node() );
519 detTag = detectorKey.tag();
520 detNode = detectorKey.node();
522 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"MuonIdentifier", detTag, detNode);
533 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
534 detTag = detectorKey.tag();
535 detNode = detectorKey.node();
537 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"ForDetIdentifier", detTag, detNode);
540 if (idDictSet->size() == 0 && useGeomDB) {
542 "ForDetIdentifier-00");
543 ATH_MSG_DEBUG(
" explicitly requesting ForDetIdentifier-00 tag for pre-forward "
550 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 657 of file IdDictDetDescrCnv.cxx.
663 return StatusCode::FAILURE;
665 const Gaudi::Details::PropertyBase &prop =
667 const Gaudi::Property<dType> *propPtr{
668 dynamic_cast<const Gaudi::Property<dType> *
>(&prop)};
670 ATH_MSG_ERROR(
"Property " << propertyName <<
" is not of type"
671 <<
typeid(dType).
name() <<
" but of "
672 <<
typeid(prop).
name());
673 return StatusCode::FAILURE;
675 pipeTo = propPtr->value();
677 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 683 of file IdDictDetDescrCnv.cxx.
688 pipeTo = std::move(cache);
689 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 110 of file IdDictDetDescrCnv.cxx.
128 m_parser = std::make_unique<IdDictParser>();
159 "Dictonary file name from job options or using defaults.");
218 return StatusCode::FAILURE;
227 "NOTE: ** parseXMLDescription called, but parsing was deemed "
230 ATH_MSG_DEBUG(
"parseXMLDescription: Finished parsing and setting options ");
231 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 269 of file IdDictDetDescrCnv.cxx.
280 IdDictMgr::dictionary_map::const_iterator
it;
290 std::string space(20 -
dictionary.m_name.size(),
' ');
291 msg(MSG::INFO) << space;
295 std::string space(20 -
version.size(),
' ');
296 msg(MSG::INFO) << space;
301 std::string space(25 -
dictionary.dict_tag().size(),
' ');
302 msg(MSG::INFO) << space;
305 msg(MSG::INFO) <<
" DetDescr tag (using default)";
◆ registerFilesWithParser()
StatusCode IdDictDetDescrCnv::registerFilesWithParser |
( |
| ) |
|
|
private |
Register the requested files with the xml parser.
Definition at line 554 of file IdDictDetDescrCnv.cxx.
558 ifile.open(
"InDetIdDict.xml");
592 m_parser->register_external_entity(
"MuonSpectrometer",
598 m_parser->register_external_entity(
"ForwardDetectors",
603 return StatusCode::SUCCESS;
◆ registerInfoWithDicts()
StatusCode IdDictDetDescrCnv::registerInfoWithDicts |
( |
| ) |
|
|
private |
Register the requested files and tag with the created id dicts.
Definition at line 607 of file IdDictDetDescrCnv.cxx.
611 auto setDictPaths = [
this, &
mgr](
const std::string &dict_name,
613 const std::string &dict_tag) {
616 return StatusCode::SUCCESS;
621 return StatusCode::FAILURE;
625 ATH_MSG_DEBUG(
"For " << dict_name <<
" idDict, setting file/tag: "
627 return StatusCode::SUCCESS;
637 auto addMetaData = [&
mgr,
this](
const std::string &
key,
638 const std::string &
value) {
653 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;
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)
static const CLID & ID()
the CLID of T
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.
double chiSquared() const
returns the of the overall track fit
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
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.