|
ATLAS Offline Software
|
Go to the documentation of this file.
25 MuonHitTesterAlg::MuonHitTesterAlg(
const std::string&
alg_name,
26 ISvcLocator* pSvcLocator):
38 return StatusCode::SUCCESS;
42 return StatusCode::SUCCESS;
70 return StatusCode::SUCCESS;
74 return StatusCode::SUCCESS;
91 return StatusCode::SUCCESS;
95 return StatusCode::SUCCESS;
110 return StatusCode::SUCCESS;
114 return StatusCode::SUCCESS;
117 const EventContext& ctx{Gaudi::Hive::currentContext()};
118 return m_tree.
fill(ctx) ? StatusCode::SUCCESS : StatusCode::FAILURE;
Gaudi::Property< std::string > m_mdtPrdKey
Prd collection names.
Gaudi::Property< bool > m_writeRpcPrds
Gaudi::Property< std::string > m_sTgcDigitKey
StatusCode init(OWNER *instance)
Initialize method.
StatusCode setupSimHits()
Toggle whether the simHit collection of each sub detector shall be written to disk.
Gaudi::Property< bool > m_writeMmPrds
@ isMC
Flag determining whether the branch is simulation.
StatusCode initialize() override final
Gaudi::Property< std::string > m_mdtSimHitKey
Container keys of the particular sim hit collections.
Gaudi::Property< std::string > m_mdtDigitKey
Container keys of the particular digit collections.
@ Tgc
Resitive Plate Chambers.
Gaudi::Property< std::string > m_rpcPrdKey
Gaudi::Property< bool > m_writesTgcSim
Gaudi::Property< std::string > m_mmPrdKey
Gaudi::Property< bool > m_writeMmDigits
Gaudi::Property< bool > m_writeMdtDigits
const std::string & key() const
Return the StoreGate ID for the referenced object.
Gaudi::Property< bool > m_writeDigits
Gaudi::Property< std::string > m_sTgcSimHitKey
StatusCode finalize() override final
StatusCode setupPrds()
Toggle whether the uncalibrated measurement collections shall be tested.
Gaudi::Property< std::string > m_rpcSimHitKey
@ Mm
Maybe not needed in the migration.
::StatusCode StatusCode
StatusCode definition for legacy code.
MuonVal::MuonTesterTree m_tree
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Gaudi::Property< bool > m_writeMdtPrds
StatusCode setupDigits()
Toggle whether the digit collections shall be tested.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
Gaudi::Property< std::string > m_tgcPrdKey
Class to store array like branches into the n-tuples.
Gaudi::Property< bool > m_writesTgcDigits
StatusCode execute() override final
Gaudi::Property< std::string > m_mdtTwinPrdKey
SG::ReadHandleKey< xAOD::EventInfo > m_evtKey
Gaudi::Property< bool > m_isMC
Gaudi::Property< std::string > m_mmDigitKey
Gaudi::Property< bool > m_writeTgcSim
Gaudi::Property< bool > m_writeSimHits
Gaudi::Property< bool > m_writeMdtSim
Gaudi::Property< bool > m_writeRpcSim
Gaudi::Property< std::string > m_tgcSimHitKey
Gaudi::Property< bool > m_writeMmSim
@ Rpc
Monitored Drift Tubes.
bool fill(const EventContext &ctx)
Fills the tree per call.
StatusCode write()
Finally write the TTree objects.
Gaudi::Property< bool > m_writeTgcPrds
Gaudi::Property< std::string > m_rpcDigitKey
Gaudi::Property< bool > m_writeTgcDigits
Gaudi::Property< std::string > m_mmSimHitKey
Gaudi::Property< std::string > m_tgcDigitKey
Gaudi::Property< bool > m_writePrds
Gaudi::Property< bool > m_writeRpcDigits
bool addBranch(std::shared_ptr< IMuonTesterBranch > branch)
Branch is added to the tree without transferring the ownership.