ATLAS Offline Software
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
MuonValR4::TgcStripVariables Class Reference

#include <TgcStripVariables.h>

Inheritance diagram for MuonValR4::TgcStripVariables:
Collaboration diagram for MuonValR4::TgcStripVariables:

Public Types

using DataDependency = SG::VarHandleKey *
 

Public Member Functions

 TgcStripVariables (MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="TgcPrd")
 
bool declare_keys () override final
 
bool fill (const EventContext &ctx) override final
 The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided. More...
 
unsigned int push_back (const xAOD::TgcStrip &strip)
 Push back the drift circle measurement to the output. More...
 
void dumpAllHitsInChamber (const Identifier &chamberId)
 All hits from this particular chamber identifier are dumped to the output including the ones from the first and the second multilayer. More...
 
void enableSeededDump ()
 Activates the seeded dump of the branch. More...
 
bool init () override final
 The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty. More...
 
std::string name () const override final
 Returns the name of the branch. More...
 
bool initialized () const
 Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method. More...
 
TTree * tree () override final
 Returns the underlying TTree object. More...
 
const TTree * tree () const override final
 
std::vector< DataDependencydata_dependencies () override final
 Returns the data dependencies needed by the MuonTesterBranch. More...
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Static Public Member Functions

static std::string eraseWhiteSpaces (const std::string &In)
 

Protected Member Functions

const Muon::IMuonIdHelperSvcidHelperSvc () const
 
const MuonGMR4::MuonDetectorManagergetDetMgr () const
 
const ActsGeometryContextgetGeoCtx (const EventContext &ctx) const
 
template<class T >
bool addToTree (T &variable)
 Connects the Memory buffer with the TTree. More...
 
template<class Key >
bool declare_dependency (Key &key)
 Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm. More...
 
MuonTesterTreeparent ()
 Returns the reference to the MuonTesterTree parent. More...
 

Private Member Functions

void dump (const ActsGeometryContext &gctx, const xAOD::TgcStrip &dc)
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

SG::ReadHandleKey< xAOD::TgcStripContainerm_key {}
 
std::string m_collName {}
 
TgcIdentifierBranch m_id {parent(), m_collName}
 Identifier of the Mdt. More...
 
ThreeVectorBranch m_globPos {parent(), m_collName+"_globalPos"}
 Position of the Mdt drift circle in the global frame. More...
 
VectorBranch< float > & m_locPos {parent().newVector<float>(m_collName+"_localPos")}
 Local strip position of the measurement
More...
 
VectorBranch< float > & m_locCov {parent().newVector<float>(m_collName+"_localCov")}
 local covariance of the measurement
More...
 
std::unordered_set< Identifierm_filteredChamb {}
 Set of chambers to be dumped. More...
 
std::unordered_map< Identifier, unsigned int > m_idOutIdxMap {}
 Map of Identifiers to the position index inside the vector. More...
 
std::vector< const xAOD::TgcStrip * > m_dumpedPRDS {}
 Vector of PRDs parsed via the external mechanism. These measurements are parsed first. More...
 
bool m_applyFilter {false}
 Apply a filter to dump the prds. More...
 
const MuonGMR4::MuonDetectorManagerm_detMgr {}
 
ServiceHandle< Muon::IMuonIdHelperSvcm_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()}
 
SG::ReadHandleKey< ActsGeometryContextm_geoCtxKey {"ActsAlignment"}
 
TTree * m_tree {nullptr}
 
MuonTesterTreem_parent {nullptr}
 
std::string m_name {}
 
bool m_init {false}
 
std::vector< DataDependencym_dependencies {}
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 19 of file TgcStripVariables.h.

Member Typedef Documentation

◆ DataDependency

Definition at line 39 of file IMuonTesterBranch.h.

Constructor & Destructor Documentation

◆ TgcStripVariables()

MuonValR4::TgcStripVariables::TgcStripVariables ( MuonTesterTree tree,
const std::string &  inContainer,
MSG::Level  msgLvl = MSG::Level::INFO,
const std::string &  collName = "TgcPrd" 
)

Definition at line 9 of file TgcStripVariables.cxx.

12  :
13  TesterModuleBase{tree, inContainer + collName, msgLvl},
14  m_key{inContainer},
15  m_collName{collName}{
16  }

Member Function Documentation

◆ addToTree()

template<class T >
bool MuonVal::MuonTesterBranch::addToTree ( T &  variable)
protectedinherited

Connects the Memory buffer with the TTree.

◆ data_dependencies()

std::vector< MuonTesterBranch::DataDependency > MuonVal::MuonTesterBranch::data_dependencies ( )
finaloverridevirtualinherited

Returns the data dependencies needed by the MuonTesterBranch.

Implements MuonVal::IMuonTesterBranch.

Definition at line 61 of file MuonTesterBranch.cxx.

61 { return m_dependencies;}

◆ declare_dependency()

template<class Key >
bool MuonVal::MuonTesterBranch::declare_dependency ( Key &  key)
protectedinherited

Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.

◆ declare_keys()

bool MuonValR4::TgcStripVariables::declare_keys ( )
finaloverridevirtual

Implements MuonValR4::TesterModuleBase.

Definition at line 17 of file TgcStripVariables.cxx.

17  {
18  return declare_dependency(m_key);
19  }

◆ dump()

void MuonValR4::TgcStripVariables::dump ( const ActsGeometryContext gctx,
const xAOD::TgcStrip dc 
)
private

Definition at line 67 of file TgcStripVariables.cxx.

68  {
69  const MuonGMR4::TgcReadoutElement* re = strip.readoutElement();
70  const Identifier id{strip.identify()};
71 
72 
73  ATH_MSG_VERBOSE("Filling information for "<<idHelperSvc()->toString(id));
74 
75  m_id.push_back(id);
77  locPos = strip.localPosition<1>()[0] * Amg::Vector3D::UnitX();
78 
79  const Amg::Vector3D globPos{re->localToGlobalTrans(gctx, strip.layerHash()) *locPos};
80  m_globPos.push_back(globPos);
81  m_locPos.push_back(strip.localPosition<1>()[0]);
82  m_locCov.push_back(strip.localCovariance<1>()(0,0));
83 
84  }

◆ dumpAllHitsInChamber()

void MuonValR4::TgcStripVariables::dumpAllHitsInChamber ( const Identifier chamberId)

All hits from this particular chamber identifier are dumped to the output including the ones from the first and the second multilayer.

Activates the external selection behaviour of the branch

Definition at line 52 of file TgcStripVariables.cxx.

52  {
53  m_applyFilter = true;
54  m_filteredChamb.insert(idHelperSvc()->chamberId(chamberId));
55  }

◆ enableSeededDump()

void MuonValR4::TgcStripVariables::enableSeededDump ( )

Activates the seeded dump of the branch.

Only hits that are parsed either directly or which are on the whitelist from the dumpAllHitsInChamber are added to the output

Definition at line 49 of file TgcStripVariables.cxx.

49  {
50  m_applyFilter = true;
51  }

◆ eraseWhiteSpaces()

std::string MuonVal::MuonTesterBranch::eraseWhiteSpaces ( const std::string &  In)
staticinherited

Definition at line 56 of file MuonTesterBranch.cxx.

56  {
57  std::string out = In;
58  out.erase(std::remove_if(out.begin(), out.end(), isspace), out.end());
59  return out;
60 }

◆ fill()

bool MuonValR4::TgcStripVariables::fill ( const EventContext &  ctx)
finaloverridevirtual

The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.

--> returns false if no update is called or the dummy value has not been defined

First dump the prds parsed externally

Then parse the rest. If there's any

Implements MuonVal::IMuonTesterBranch.

Definition at line 20 of file TgcStripVariables.cxx.

20  {
21  const ActsGeometryContext& gctx{getGeoCtx(ctx)};
22 
23  SG::ReadHandle inContainer{m_key, ctx};
24  if (!inContainer.isPresent()) {
25  ATH_MSG_FATAL("Failed to retrieve "<<m_key.fullKey());
26  return false;
27  }
29  for (const xAOD::TgcStrip* strip : m_dumpedPRDS){
30  dump(gctx, *strip);
31  }
33  for (const xAOD::TgcStrip* strip : *inContainer) {
34  const MuonGMR4::TgcReadoutElement* re = strip->readoutElement();
35  const Identifier id{re->measurementId(strip->measurementHash())};
36  if ((m_applyFilter && !m_filteredChamb.count(idHelperSvc()->chamberId(id))) ||
37  m_idOutIdxMap.find(id) != m_idOutIdxMap.end()){
38  ATH_MSG_VERBOSE("Skip "<<idHelperSvc()->toString(id));
39  continue;
40  }
41  dump(gctx, *strip);
42  }
43 
44  m_filteredChamb.clear();
45  m_idOutIdxMap.clear();
46  m_dumpedPRDS.clear();
47  return true;
48  }

◆ getDetMgr()

const MuonGMR4::MuonDetectorManager * MuonValR4::TesterModuleBase::getDetMgr ( ) const
protectedinherited

Definition at line 19 of file TesterModuleBase.cxx.

19  {
20  return m_detMgr;
21  }

◆ getGeoCtx()

const ActsGeometryContext & MuonValR4::TesterModuleBase::getGeoCtx ( const EventContext &  ctx) const
protectedinherited

Definition at line 22 of file TesterModuleBase.cxx.

22  {
23  SG::ReadHandle handle{m_geoCtxKey, ctx};
24  if (!handle.isValid()) {
25  THROW_EXCEPTION("Failed to retrieve "<<m_geoCtxKey.fullKey());
26  }
27  return *handle;
28  }

◆ idHelperSvc()

const Muon::IMuonIdHelperSvc * MuonValR4::TesterModuleBase::idHelperSvc ( ) const
protectedinherited

Definition at line 18 of file TesterModuleBase.cxx.

18 { return m_idHelperSvc.get(); }

◆ init()

bool MuonValR4::TesterModuleBase::init ( )
finaloverridevirtualinherited

The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.

Implements MuonVal::IMuonTesterBranch.

Definition at line 30 of file TesterModuleBase.cxx.

30  {
31  ServiceHandle<StoreGateSvc> detStore{"StoreGateSvc/DetectorStore", name()};
32  if (!detStore.retrieve().isSuccess() || !detStore->retrieve(m_detMgr).isSuccess()) return false;
33  if (!declare_dependency(m_geoCtxKey)) return false;
34  if (!m_idHelperSvc.retrieve().isSuccess()) return false;
35  return declare_keys();
36  }

◆ initialized()

bool MuonVal::MuonTesterBranch::initialized ( ) const
inherited

Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method.

Definition at line 52 of file MuonTesterBranch.cxx.

52 { return m_init; }

◆ 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.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ 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.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ 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
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ name()

std::string MuonVal::MuonTesterBranch::name ( ) const
finaloverridevirtualinherited

Returns the name of the branch.

Implements MuonVal::IMuonTesterBranch.

Definition at line 51 of file MuonTesterBranch.cxx.

51 { return m_name; }

◆ parent()

MuonTesterTree & MuonVal::MuonTesterBranch::parent ( )
protectedinherited

Returns the reference to the MuonTesterTree parent.

Definition at line 38 of file MuonTesterBranch.cxx.

38  {
39  if (!m_parent) {
40  ATH_MSG_WARNING("The parent of " << name() << " is null.");
41  }
42  return *m_parent;
43 }

◆ push_back()

unsigned int MuonValR4::TgcStripVariables::push_back ( const xAOD::TgcStrip strip)

Push back the drift circle measurement to the output.

Returns the position index to which the measurement is pushed to. Automated deduplication of multiple push_backs of the same measurement based on the measurement identifier

Definition at line 56 of file TgcStripVariables.cxx.

56  {
57  m_applyFilter = true;
58  const MuonGMR4::TgcReadoutElement* re = strip.readoutElement();
59  const Identifier id{re->measurementId(strip.measurementHash())};
60 
61  const auto insert_itr = m_idOutIdxMap.insert(std::make_pair(id, m_idOutIdxMap.size()));
62  if (insert_itr.second) {
63  m_dumpedPRDS.push_back(&strip);
64  }
65  return insert_itr.first->second;
66  }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ tree() [1/2]

const TTree * MuonVal::MuonTesterBranch::tree ( ) const
finaloverridevirtualinherited

Implements MuonVal::IMuonTesterBranch.

Definition at line 54 of file MuonTesterBranch.cxx.

54 { return m_tree; }

◆ tree() [2/2]

TTree * MuonVal::MuonTesterBranch::tree ( )
finaloverridevirtualinherited

Returns the underlying TTree object.

Implements MuonVal::IMuonTesterBranch.

Definition at line 53 of file MuonTesterBranch.cxx.

53 { return m_tree; }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_applyFilter

bool MuonValR4::TgcStripVariables::m_applyFilter {false}
private

Apply a filter to dump the prds.

Definition at line 68 of file TgcStripVariables.h.

◆ m_collName

std::string MuonValR4::TgcStripVariables::m_collName {}
private

Definition at line 51 of file TgcStripVariables.h.

◆ m_dependencies

std::vector<DataDependency> MuonVal::MuonTesterBranch::m_dependencies {}
privateinherited

Definition at line 62 of file MuonTesterBranch.h.

◆ m_detMgr

const MuonGMR4::MuonDetectorManager* MuonValR4::TesterModuleBase::m_detMgr {}
privateinherited

Definition at line 32 of file TesterModuleBase.h.

◆ m_dumpedPRDS

std::vector<const xAOD::TgcStrip*> MuonValR4::TgcStripVariables::m_dumpedPRDS {}
private

Vector of PRDs parsed via the external mechanism. These measurements are parsed first.

Definition at line 66 of file TgcStripVariables.h.

◆ m_filteredChamb

std::unordered_set<Identifier> MuonValR4::TgcStripVariables::m_filteredChamb {}
private

Set of chambers to be dumped.

Definition at line 62 of file TgcStripVariables.h.

◆ m_geoCtxKey

SG::ReadHandleKey<ActsGeometryContext> MuonValR4::TesterModuleBase::m_geoCtxKey {"ActsAlignment"}
privateinherited

Definition at line 34 of file TesterModuleBase.h.

◆ m_globPos

ThreeVectorBranch MuonValR4::TgcStripVariables::m_globPos {parent(), m_collName+"_globalPos"}
private

Position of the Mdt drift circle in the global frame.

Definition at line 55 of file TgcStripVariables.h.

◆ m_id

TgcIdentifierBranch MuonValR4::TgcStripVariables::m_id {parent(), m_collName}
private

Identifier of the Mdt.

Definition at line 53 of file TgcStripVariables.h.

◆ m_idHelperSvc

ServiceHandle<Muon::IMuonIdHelperSvc> MuonValR4::TesterModuleBase::m_idHelperSvc {"Muon::MuonIdHelperSvc/MuonIdHelperSvc", name()}
privateinherited

Definition at line 33 of file TesterModuleBase.h.

◆ m_idOutIdxMap

std::unordered_map<Identifier, unsigned int> MuonValR4::TgcStripVariables::m_idOutIdxMap {}
private

Map of Identifiers to the position index inside the vector.

Definition at line 64 of file TgcStripVariables.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_init

bool MuonVal::MuonTesterBranch::m_init {false}
privateinherited

Definition at line 61 of file MuonTesterBranch.h.

◆ m_key

SG::ReadHandleKey<xAOD::TgcStripContainer> MuonValR4::TgcStripVariables::m_key {}
private

Definition at line 49 of file TgcStripVariables.h.

◆ m_locCov

VectorBranch<float>& MuonValR4::TgcStripVariables::m_locCov {parent().newVector<float>(m_collName+"_localCov")}
private

local covariance of the measurement

Definition at line 59 of file TgcStripVariables.h.

◆ m_locPos

VectorBranch<float>& MuonValR4::TgcStripVariables::m_locPos {parent().newVector<float>(m_collName+"_localPos")}
private

Local strip position of the measurement

Definition at line 57 of file TgcStripVariables.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ 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_name

std::string MuonVal::MuonTesterBranch::m_name {}
privateinherited

Definition at line 60 of file MuonTesterBranch.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_parent

MuonTesterTree* MuonVal::MuonTesterBranch::m_parent {nullptr}
privateinherited

Definition at line 59 of file MuonTesterBranch.h.

◆ m_tree

TTree* MuonVal::MuonTesterBranch::m_tree {nullptr}
privateinherited

Definition at line 58 of file MuonTesterBranch.h.


The documentation for this class was generated from the following files:
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
MuonValR4::TgcStripVariables::m_filteredChamb
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
Definition: TgcStripVariables.h:62
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
MuonValR4::TgcStripVariables::m_globPos
ThreeVectorBranch m_globPos
Position of the Mdt drift circle in the global frame.
Definition: TgcStripVariables.h:55
MuonValR4::TgcStripVariables::m_applyFilter
bool m_applyFilter
Apply a filter to dump the prds.
Definition: TgcStripVariables.h:68
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
MuonValR4::TgcStripVariables::m_collName
std::string m_collName
Definition: TgcStripVariables.h:51
xAOD::TgcStrip_v1
Definition: TgcStrip_v1.h:19
MuonValR4::TgcStripVariables::m_dumpedPRDS
std::vector< const xAOD::TgcStrip * > m_dumpedPRDS
Vector of PRDs parsed via the external mechanism. These measurements are parsed first.
Definition: TgcStripVariables.h:66
MuonVal::MuonTesterBranch::m_dependencies
std::vector< DataDependency > m_dependencies
Definition: MuonTesterBranch.h:62
MuonVal::MuonTesterBranch::m_tree
TTree * m_tree
Definition: MuonTesterBranch.h:58
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
MuonValR4::TgcStripVariables::m_id
TgcIdentifierBranch m_id
Identifier of the Mdt.
Definition: TgcStripVariables.h:53
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
THROW_EXCEPTION
#define THROW_EXCEPTION(MSG)
Definition: MMReadoutElement.cxx:48
MuonValR4::TesterModuleBase::TesterModuleBase
TesterModuleBase(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl=MSG::Level::INFO)
Definition: TesterModuleBase.cxx:11
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
MuonValR4::TesterModuleBase::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition: TesterModuleBase.h:32
keylayer_zslicemap.strip
strip
Definition: keylayer_zslicemap.py:151
MuonVal::MuonTesterBranch::tree
TTree * tree() override final
Returns the underlying TTree object.
Definition: MuonTesterBranch.cxx:53
MuonVal::MuonTesterBranch::m_parent
MuonTesterTree * m_parent
Definition: MuonTesterBranch.h:59
MuonVal::MuonTesterBranch::declare_dependency
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
MuonValR4::TesterModuleBase::getGeoCtx
const ActsGeometryContext & getGeoCtx(const EventContext &ctx) const
Definition: TesterModuleBase.cxx:22
MuonVal::ThreeVectorBranch::push_back
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
Definition: ThreeVectorBranch.cxx:23
MuonVal::TgcIdentifierBranch::push_back
void push_back(const Identifier &id) override final
Definition: IdentifierBranch.cxx:66
MuonValR4::TgcStripVariables::m_locCov
VectorBranch< float > & m_locCov
local covariance of the measurement
Definition: TgcStripVariables.h:59
Amg::toString
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
Definition: GeoPrimitivesToStringConverter.h:40
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
MuonValR4::TgcStripVariables::m_key
SG::ReadHandleKey< xAOD::TgcStripContainer > m_key
Definition: TgcStripVariables.h:49
AthMessaging::msgLvl
bool msgLvl(const MSG::Level lvl) const
Test the output level.
Definition: AthMessaging.h:151
MuonValR4::TgcStripVariables::m_locPos
VectorBranch< float > & m_locPos
Local strip position of the measurement
Definition: TgcStripVariables.h:57
MuonValR4::TesterModuleBase::idHelperSvc
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Definition: TesterModuleBase.cxx:18
MuonVal::MuonTesterBranch::m_init
bool m_init
Definition: MuonTesterBranch.h:61
MuonValR4::TgcStripVariables::dump
void dump(const ActsGeometryContext &gctx, const xAOD::TgcStrip &dc)
Definition: TgcStripVariables.cxx:67
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
ActsGeometryContext
Include the GeoPrimitives which need to be put first.
Definition: ActsGeometryContext.h:27
MuonVal::MuonTesterBranch::name
std::string name() const override final
Returns the name of the branch.
Definition: MuonTesterBranch.cxx:51
MuonVal::VectorBranch::push_back
void push_back(const T &value)
Adds a new element at the end of the vector.
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
MuonValR4::TesterModuleBase::m_geoCtxKey
SG::ReadHandleKey< ActsGeometryContext > m_geoCtxKey
Definition: TesterModuleBase.h:34
MuonVal::MuonTesterBranch::m_name
std::string m_name
Definition: MuonTesterBranch.h:60
MuonValR4::TgcStripVariables::m_idOutIdxMap
std::unordered_map< Identifier, unsigned int > m_idOutIdxMap
Map of Identifiers to the position index inside the vector.
Definition: TgcStripVariables.h:64
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
re
const boost::regex re(r_e)
MuonValR4::TesterModuleBase::declare_keys
virtual bool declare_keys()=0
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
MuonValR4::TesterModuleBase::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition: TesterModuleBase.h:33
MuonGMR4::TgcReadoutElement
Definition: MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/TgcReadoutElement.h:19
generate::Zero
void Zero(TH1D *hin)
Definition: generate.cxx:32
ServiceHandle< StoreGateSvc >
Identifier
Definition: IdentifierFieldParser.cxx:14