|
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 |
◆ 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 322 of file IdDictDetDescrCnv.cxx.
331 std::string &dictTag) {
332 if (idDictSet->size()) {
333 const IRDBRecord *idDictTable = (*idDictSet)[0];
334 const std::string dictName = idDictTable->
getString(
"DICT_NAME");
336 dictTag = idDictSet->tagName();
343 << dictName <<
", file: " <<
fileName
345 <<
", dictionary tag: " << dictTag);
348 ATH_MSG_WARNING(
" no record set found for dictionary"<<idDictSet->nodeName()<<
" - using default dictionary ");
354 auto getEmbeddedDict = [
this](
const std::string& dictName,
356 std::string &dictTag) ->
bool
362 std::string dictString = dictRecord->
getString(
"CONTENTS");
364 std::string dictFileName = dictName+
"-fromSQLite.xml";
365 std::ofstream dictFile;
366 dictFile.open(dictFileName);
367 dictFile << dictString;
373 ATH_MSG_DEBUG(dictName <<
" read from the SQLite database as a BLOB");
379 bool useGeomDB = (
m_geoDbTagSvc->getSqliteReader() ==
nullptr);
381 std::string detTag{
""}, detNode{
""}, dictName{
""};
385 bool embeddedDict{
false};
392 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: "
393 << detectorKey.node());
394 detTag = detectorKey.tag();
395 detNode = detectorKey.node();
396 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"DICTXDD", detTag, detNode);
399 if (idDictSet->size()) {
400 const IRDBRecord *recordInDet = (*idDictSet)[0];
401 std::string InDetString = recordInDet->
getString(
"XMLCLOB");
404 std::ofstream blobFile;
405 blobFile.open(
"InDetIdDict.xml");
406 blobFile << InDetString << std::endl;
409 ATH_MSG_WARNING(
" no record set found for InDetIdentifier - using default dictionary ");
418 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node());
419 detTag = detectorKey.tag();
420 detNode = detectorKey.node();
422 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"InDetIdentifier", detTag, detNode);
434 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
435 detTag = detectorKey.tag();
436 detNode = detectorKey.node();
438 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"LArIdentifier", detTag, detNode);
449 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
450 detTag = detectorKey.tag();
451 detNode = detectorKey.node();
453 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"TileIdentifier", detTag, detNode);
464 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag()<<
" at Node: " << detectorKey.node() );
465 detTag = detectorKey.tag();
466 detNode = detectorKey.node();
468 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"CaloIdentifier", detTag, detNode);
474 if (caloNeighborTable->size() == 0 && useGeomDB) {
475 caloNeighborTable =
m_rdbAccessSvc->getRecordsetPtr(
"CaloNeighborTable",
"CaloNeighborTable-00");
478 if (caloNeighborTable->size()) {
479 const IRDBRecord *neighborTable = (*caloNeighborTable)[0];
500 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag()<<
" at Node: " << detectorKey.node() );
501 detTag = detectorKey.tag();
502 detNode = detectorKey.node();
504 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"MuonIdentifier", detTag, detNode);
515 ATH_MSG_DEBUG(
"From Version Tag: " << detectorKey.tag() <<
" at Node: " << detectorKey.node() );
516 detTag = detectorKey.tag();
517 detNode = detectorKey.node();
519 idDictSet =
m_rdbAccessSvc->getRecordsetPtr(
"ForDetIdentifier", detTag, detNode);
522 if (idDictSet->size() == 0 && useGeomDB) {
524 "ForDetIdentifier-00");
525 ATH_MSG_DEBUG(
" explicitly requesting ForDetIdentifier-00 tag for pre-forward "
532 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 639 of file IdDictDetDescrCnv.cxx.
645 return StatusCode::FAILURE;
647 const Gaudi::Details::PropertyBase &prop =
649 const Gaudi::Property<dType> *propPtr{
650 dynamic_cast<const Gaudi::Property<dType> *
>(&prop)};
652 ATH_MSG_ERROR(
"Property " << propertyName <<
" is not of type"
653 <<
typeid(dType).
name() <<
" but of "
654 <<
typeid(prop).
name());
655 return StatusCode::FAILURE;
657 pipeTo = propPtr->value();
659 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 665 of file IdDictDetDescrCnv.cxx.
670 pipeTo = std::move(cache);
671 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 250 of file IdDictDetDescrCnv.cxx.
261 IdDictMgr::dictionary_map::const_iterator
it;
271 std::string space(20 -
dictionary.m_name.size(),
' ');
272 msg(MSG::INFO) << space;
276 std::string space(20 -
version.size(),
' ');
277 msg(MSG::INFO) << space;
282 std::string space(25 -
dictionary.dict_tag().size(),
' ');
283 msg(MSG::INFO) << space;
286 msg(MSG::INFO) <<
" DetDescr tag (using default)";
◆ registerFilesWithParser()
StatusCode IdDictDetDescrCnv::registerFilesWithParser |
( |
| ) |
|
|
private |
Register the requested files with the xml parser.
Definition at line 536 of file IdDictDetDescrCnv.cxx.
540 ifile.open(
"InDetIdDict.xml");
574 m_parser->register_external_entity(
"MuonSpectrometer",
580 m_parser->register_external_entity(
"ForwardDetectors",
585 return StatusCode::SUCCESS;
◆ registerInfoWithDicts()
StatusCode IdDictDetDescrCnv::registerInfoWithDicts |
( |
| ) |
|
|
private |
Register the requested files and tag with the created id dicts.
Definition at line 589 of file IdDictDetDescrCnv.cxx.
593 auto setDictPaths = [
this, &
mgr](
const std::string &dict_name,
595 const std::string &dict_tag) {
598 return StatusCode::SUCCESS;
603 return StatusCode::FAILURE;
607 ATH_MSG_DEBUG(
"For " << dict_name <<
" idDict, setting file/tag: "
609 return StatusCode::SUCCESS;
619 auto addMetaData = [&
mgr,
this](
const std::string &
key,
620 const std::string &
value) {
635 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 112 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
DataObject * asStorable(T *pObject)
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)
ServiceHandle< StoreGateSvc > m_detStore
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)
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.