|
ATLAS Offline Software
|
#include <MuonSegmentReader.h>
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute () override |
|
virtual StatusCode | finalize () override |
|
unsigned int | cardinality () const override final |
|
| AthHistogramAlgorithm (const std::string &name, ISvcLocator *pSvcLocator) |
| Constructor with parameters: More...
|
|
virtual StatusCode | sysInitialize () |
| Initialization method invoked by the framework. More...
|
|
const ServiceHandle< ITHistSvc > & | histSvc () const |
| The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a pointer to the THistSvc . More...
|
|
virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution More...
|
|
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
|
void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. More...
|
|
StatusCode | configAthHistogramming (const ServiceHandle< ITHistSvc > &histSvc, const std::string &prefix, const std::string &rootDir, const std::string &histNamePrefix, const std::string &histNamePostfix, const std::string &histTitlePrefix, const std::string &histTitlePostfix) |
| To be called by the derived classes to fill the internal configuration. More...
|
|
TH1 * | bookGetPointer (const TH1 &hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. More...
|
|
TH1 * | bookGetPointer (TH1 *hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. More...
|
|
TH1 * | bookGetPointer (TH1 &histRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. More...
|
|
TTree * | bookGetPointer (const TTree &treeRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TTrees. More...
|
|
TGraph * | bookGetPointer (const TGraph &graphRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TGraphs. More...
|
|
TEfficiency * | bookGetPointer (const TEfficiency &eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. More...
|
|
TEfficiency * | bookGetPointer (TEfficiency *eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. More...
|
|
TEfficiency * | bookGetPointer (TEfficiency &effRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. More...
|
|
StatusCode | book (const TH1 &hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. More...
|
|
StatusCode | book (TH1 *hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. More...
|
|
StatusCode | book (TH1 &histRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. More...
|
|
StatusCode | book (const TTree &treeRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TTrees. More...
|
|
StatusCode | book (const TGraph &graphRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TGraphs. More...
|
|
StatusCode | book (const TEfficiency &eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. More...
|
|
StatusCode | book (TEfficiency *eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. More...
|
|
StatusCode | book (TEfficiency &effRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. More...
|
|
TH1 * | hist (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered histograms of any type. More...
|
|
TH2 * | hist2d (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered 2-d histograms. More...
|
|
TH3 * | hist3d (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered 3-d histograms. More...
|
|
TTree * | tree (const std::string &treeName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TTrees. More...
|
|
TGraph * | graph (const std::string &graphName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TGraphs. More...
|
|
TEfficiency * | efficiency (const std::string &effName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TEfficiency. More...
|
|
|
void | storeMeasurement (const EventContext &ctx, const MuonGM::MuonDetectorManager *MuonDetMgr, unsigned int itrk, const Trk::TrackStateOnSurface *trk_state, const Trk::MeasurementBase *measurement) |
|
void | storeHole (const Trk::TrackStateOnSurface *trk_state, unsigned int itrk) |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
void | buildBookingString (std::string &bookingString, std::string &histName, std::string &tDir, std::string &stream, bool usePrefixPostfix=false) |
| Method to build individual booking string. More...
|
|
void | myReplace (std::string &str, const std::string &oldStr, const std::string &newStr) |
| Helper method to replace sub-string. More...
|
|
hash_t | hash (const std::string &histName) const |
| Method to calculate a 32-bit hash from a string. More...
|
|
|
SG::ReadHandleKey< xAOD::EventInfo > | m_evtKey {this, "EventInfoKey", "EventInfo", "xAOD::EventInfo ReadHandleKey"} |
|
SG::ReadHandleKey< TrackCollection > | m_TrkKey {this, "MuonTrackLocations", "MuonSpectrometerTracks"} |
|
SG::ReadHandleKey< Muon::MdtPrepDataContainer > | m_MdtPrepDataKey {this, "MdtPrepData", "MDT_DriftCircles","MDT DriftCircles"} |
|
SG::ReadHandleKey< Muon::RpcPrepDataContainer > | m_RpcPrepDataKey {this,"RpcPrdCollection","RPC_Measurements","RPC PRD Container"} |
|
SG::ReadHandleKey< Muon::TgcPrepDataContainer > | m_TgcPrepDataKey {this,"TgcPrdCollection","TGC_Measurements","TGC PRD Container"} |
|
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > | m_DetectorManagerKey |
|
ServiceHandle< Muon::IMuonIdHelperSvc > | m_MuonIdHelper |
|
ToolHandle< IMdtCalibrationTool > | m_calibrationTool {this, "CalibrationTool", "MdtCalibrationTool"} |
| pointer to MdtCalibSvc More...
|
|
PublicToolHandle< Trk::IResidualPullCalculator > | m_pullCalculator |
|
ToolHandle< MuonCalib::IIdToFixedIdTool > | m_idToFixedIdTool {this, "IdToFixedIdTool", "MuonCalib::IdToFixedIdTool/MuonCalib_IdToFixedIdTool"} |
|
PublicToolHandle< Muon::MuonEDMPrinterTool > | m_printer {this, "Printer", "Muon::MuonEDMPrinterTool/MuonEDMPrinterTool"} |
|
MuonTesterTree | m_tree {"Segments", "CALIBNTUPLESTREAM"} |
|
ScalarBranch< int > & | m_runNumber {m_tree.newScalar<int>("event_runNumber")} |
|
ScalarBranch< int > & | m_eventNumber {m_tree.newScalar<int>("event_eventNumber")} |
|
ScalarBranch< int > & | m_lumiBlock {m_tree.newScalar<int>("event_lumiBlock")} |
|
ScalarBranch< int > & | m_bcId {m_tree.newScalar<int>("event_bcId")} |
|
ScalarBranch< int > & | m_timeStamp {m_tree.newScalar<int>("event_timeStamp")} |
|
ScalarBranch< float > & | m_pt {m_tree.newScalar<float>("event_LVL2Pt")} |
|
ScalarBranch< int > & | m_rawMdt_nRMdt {m_tree.newScalar<int>("rawMdt_nRMdt")} |
|
VectorBranch< unsigned int > & | m_rawMdt_id {m_tree.newVector<unsigned int>("rawMdt_id")} |
|
VectorBranch< int > & | m_rawMdt_tdc {m_tree.newVector<int>("rawMdt_tdc")} |
|
VectorBranch< int > & | m_rawMdt_adc {m_tree.newVector<int>("rawMdt_adc")} |
|
ThreeVectorBranch | m_rawMdt_gPos {m_tree,"rawMdt_gPos"} |
|
ScalarBranch< int > & | m_rawRpc_nRRpc {m_tree.newScalar<int>("rawRpc_nRRpc")} |
|
VectorBranch< unsigned int > & | m_rawRpc_id {m_tree.newVector<unsigned int>("rawRpc_id")} |
|
VectorBranch< float > & | m_rawRpc_time {m_tree.newVector<float>("rawRpc_time")} |
|
ThreeVectorBranch | m_rawRpc_gPos {m_tree,"rawRpc_gPos"} |
|
ScalarBranch< int > & | m_rawTgc_nRTgc {m_tree.newScalar<int>("rawTgc_nRTgc")} |
|
VectorBranch< unsigned int > & | m_rawTgc_id {m_tree.newVector<unsigned int>("rawTgc_id")} |
|
VectorBranch< int > & | m_rawTgc_bcBitMap {m_tree.newVector<int>("rawTgc_bcBitMap")} |
|
ThreeVectorBranch | m_rawTgc_gPos {m_tree,"rawTgc_gPos"} |
|
ScalarBranch< int > & | m_trk_nTracks {m_tree.newScalar<int>("trk_nTracks")} |
|
VectorBranch< float > & | m_trk_d0 {m_tree.newVector<float>("trk_d0")} |
|
VectorBranch< float > & | m_trk_z0 {m_tree.newVector<float>("trk_z0")} |
|
VectorBranch< float > & | m_trk_phi {m_tree.newVector<float>("trk_phi")} |
|
VectorBranch< float > & | m_trk_theta {m_tree.newVector<float>("trk_theta")} |
|
VectorBranch< float > & | m_trk_eta {m_tree.newVector<float>("trk_eta")} |
|
VectorBranch< float > & | m_trk_qOverP {m_tree.newVector<float>("trk_qOverP")} |
|
VectorBranch< float > & | m_trk_pt {m_tree.newVector<float>("trk_pt")} |
|
VectorBranch< float > & | m_trk_chi2 {m_tree.newVector<float>("trk_chi2")} |
|
VectorBranch< int > & | m_trk_ndof {m_tree.newVector<int>("trk_ndof")} |
|
VectorBranch< int > & | m_trk_author {m_tree.newVector<int>("trk_author")} |
|
ThreeVectorBranch | m_trk_perigee {m_tree,"trk_perigee"} |
|
VectorBranch< int > & | m_trk_nMdtHits {m_tree.newVector<int>("trk_nMdtHits")} |
|
VectorBranch< int > & | m_trk_nMdtHoles {m_tree.newVector<int>("trk_nMdtHoles")} |
|
VectorBranch< int > & | m_trk_nOutliersHits {m_tree.newVector<int>("trk_nOutliersHits")} |
|
VectorBranch< int > & | m_trk_nRpcPhiHits {m_tree.newVector<int>("trk_nRpcPhiHits")} |
|
VectorBranch< int > & | m_trk_nRpcEtaHits {m_tree.newVector<int>("trk_nRpcEtaHits")} |
|
VectorBranch< int > & | m_trk_nTgcPhiHits {m_tree.newVector<int>("trk_nTgcPhiHits")} |
|
VectorBranch< int > & | m_trk_nTgcEtaHits {m_tree.newVector<int>("trk_nTgcEtaHits")} |
|
ScalarBranch< int > & | m_trkHit_nMdtHits {m_tree.newScalar<int>("trkHit_nMdtHits")} |
|
VectorBranch< int > & | m_trkHit_trackIndex {m_tree.newVector<int>("trkHit_trackIndex")} |
|
ThreeVectorBranch | m_trkHit_gPos {m_tree,"trkHit_gPos"} |
|
ThreeVectorBranch | m_trkHit_pos {m_tree,"trkHit_pos"} |
|
ThreeVectorBranch | m_trkHit_closestApproach {m_tree,"trkHit_closestApproach"} |
|
ThreeVectorBranch | m_trkHit_gClosestApproach {m_tree,"trkHit_gClosestApproach"} |
|
ThreeVectorBranch | m_trkHit_center {m_tree,"trkHit_center"} |
|
VectorBranch< int > & | m_trkHit_adc {m_tree.newVector<int>("trkHit_adc")} |
|
VectorBranch< int > & | m_trkHit_type {m_tree.newVector<int>("trkHit_type")} |
|
VectorBranch< int > & | m_trkHit_tdc {m_tree.newVector<int>("trkHit_tdc")} |
|
VectorBranch< float > & | m_trkHit_resi {m_tree.newVector<float>("trkHit_resi")} |
|
VectorBranch< float > & | m_trkHit_pull {m_tree.newVector<float>("trkHit_pull")} |
|
VectorBranch< unsigned int > & | m_trkHit_id {m_tree.newVector<unsigned int>("trkHit_id")} |
|
VectorBranch< float > & | m_trkHit_driftRadius {m_tree.newVector<float>("trkHit_driftRadius")} |
|
VectorBranch< float > & | m_trkHit_error {m_tree.newVector<float>("trkHit_error")} |
|
VectorBranch< float > & | m_trkHit_rTrk {m_tree.newVector<float>("trkHit_rTrk")} |
|
VectorBranch< float > & | m_trkHit_driftTime {m_tree.newVector<float>("trkHit_driftTime")} |
|
VectorBranch< float > & | m_trkHit_distRO {m_tree.newVector<float>("trkHit_distRO")} |
|
VectorBranch< float > & | m_trkHit_localAngle {m_tree.newVector<float>("trkHit_localAngle")} |
|
VectorBranch< float > & | m_trkHit_tubeT0 {m_tree.newVector<float>("trkHit_tubeT0")} |
|
VectorBranch< float > & | m_trkHit_triggerTime {m_tree.newVector<float>("trkHit_triggerTime")} |
|
VectorBranch< float > & | m_trkHit_tubeMeanAdc {m_tree.newVector<float>("trkHit_tubeMeanAdc")} |
|
VectorBranch< float > & | m_trkHit_slewTime {m_tree.newVector<float>("trkHit_slewTime")} |
|
VectorBranch< float > & | m_trkHit_lorTime {m_tree.newVector<float>("trkHit_lorTime")} |
|
VectorBranch< float > & | m_trkHit_propTime {m_tree.newVector<float>("trkHit_propTime")} |
|
VectorBranch< float > & | m_trkHit_tempTime {m_tree.newVector<float>("trkHit_tempTime")} |
|
VectorBranch< float > & | m_trkHit_bkgTime {m_tree.newVector<float>("trkHit_bkgTime")} |
|
VectorBranch< float > & | m_trkHit_tof {m_tree.newVector<float>("trkHit_tof")} |
|
VectorBranch< int > & | m_trkHit_calibStatus {m_tree.newVector<int>("trkHit_calibStatus")} |
|
ScalarBranch< int > & | m_trkHole_nHoles {m_tree.newScalar<int>("trkHole_nHoles")} |
|
VectorBranch< int > & | m_trkHole_trackIndex {m_tree.newVector<int>("trkHole_trackIndex")} |
|
VectorBranch< int > & | m_trkHole_type {m_tree.newVector<int>("trkHole_type")} |
|
ThreeVectorBranch | m_trkHole_gPos {m_tree,"trkHole_gPos"} |
|
VectorBranch< unsigned int > & | m_trkHole_id {m_tree.newVector<unsigned int>("trkHole_id")} |
|
VectorBranch< float > & | m_trkHole_driftRadius {m_tree.newVector<float>("trkHole_driftRadius")} |
|
ScalarBranch< int > & | m_trkTriggerHit_nHits {m_tree.newScalar<int>("trkTriggerHit_nHits")} |
|
VectorBranch< int > & | m_trkTriggerHit_trackIndex {m_tree.newVector<int>("trkTriggerHit_trackIndex")} |
|
VectorBranch< int > & | m_trkTriggerHit_type {m_tree.newVector<int>("trkTriggerHit_type")} |
|
ThreeVectorBranch | m_trkTriggerHit_gPos {m_tree,"trkTriggerHit_gPos"} |
|
VectorBranch< unsigned int > & | m_trkTriggerHit_id {m_tree.newVector<unsigned int>("trkTriggerHit_id")} |
|
VectorBranch< float > & | m_trkTriggerHit_time {m_tree.newVector<float>("trkTriggerHit_time")} |
|
ServiceHandle< ITHistSvc > | m_histSvc |
| Default constructor: AthHistogramAlgorithm();. More...
|
|
std::string | m_prefix |
| Name of the ROOT output stream (file) More...
|
|
std::string | m_rootDir |
| Name of the ROOT directory. More...
|
|
std::string | m_histNamePrefix |
| The prefix for the histogram THx name. More...
|
|
std::string | m_histNamePostfix |
| The postfix for the histogram THx name. More...
|
|
std::string | m_histTitlePrefix |
| The prefix for the histogram THx title. More...
|
|
std::string | m_histTitlePostfix |
| The postfix for the histogram THx title. More...
|
|
DataObjIDColl | m_extendedExtraObjects |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
HistMap_t | m_histMap |
| The map of histogram names to their pointers. More...
|
|
EffMap_t | m_effMap |
| The map of histogram names to their pointers. More...
|
|
TreeMap_t | m_treeMap |
| The map of TTree names to their pointers. More...
|
|
GraphMap_t | m_graphMap |
| The map of TGraph names to their pointers. More...
|
|
std::string | m_streamName |
| Name of the ROOT output stream (file) More...
|
|
std::string | m_name |
| Instance name. More...
|
|
MsgStream | m_msg |
| Cached Message Stream. More...
|
|
Definition at line 52 of file MuonSegmentReader.h.
◆ EffMap_t
◆ GraphMap_t
◆ hash_t
◆ HistMap_t
◆ StoreGateSvc_t
◆ TreeMap_t
◆ AthHistogramAlgorithm()
AthHistogramAlgorithm::AthHistogramAlgorithm |
Constructor with parameters:
Definition at line 40 of file AthHistogramAlgorithm.cxx.
43 "Handle to a THistSvc instance: it will be used to write "
44 "ROOT objects to ROOT files" );
47 declareProperty(
"RootStreamName",
m_prefix =
"/ANALYSIS",
"Name of the output ROOT stream (file) that the THistSvc uses");
49 "Name of the ROOT directory inside the ROOT file where the histograms will go");
◆ book() [1/8]
StatusCode AthHistogramming::book |
( |
const TEfficiency & |
eff, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 335 of file AthHistogramming.h.
338 TEfficiency* effClone =
dynamic_cast< TEfficiency*
>(
eff.Clone() );
340 m_msg << MSG::ERROR <<
"Couldn't create a TEfficiency clone" <<
endmsg;
341 return StatusCode::FAILURE;
◆ book() [2/8]
StatusCode AthHistogramming::book |
( |
const TGraph & |
graphRef, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TGraphs.
◆ book() [3/8]
StatusCode AthHistogramming::book |
( |
const TH1 & |
hist, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 303 of file AthHistogramming.h.
306 TH1* histClone =
dynamic_cast< TH1*
>(
hist.Clone() );
308 m_msg << MSG::ERROR <<
"Couldn't create a TH1 clone" <<
endmsg;
309 return StatusCode::FAILURE;
311 return this->
book( *histClone, tDir,
stream );
◆ book() [4/8]
StatusCode AthHistogramming::book |
( |
const TTree & |
treeRef, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TTrees.
Definition at line 403 of file AthHistogramming.h.
409 return StatusCode::SUCCESS;
413 return StatusCode::FAILURE;
◆ book() [5/8]
StatusCode AthHistogramming::book |
( |
TEfficiency & |
effRef, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 356 of file AthHistogramming.h.
361 m_msg << MSG::ERROR <<
"Couldn't book a TEfficiency" <<
endmsg;
362 return StatusCode::FAILURE;
364 return StatusCode::SUCCESS;
◆ book() [6/8]
StatusCode AthHistogramming::book |
( |
TEfficiency * |
eff, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 346 of file AthHistogramming.h.
349 m_msg << MSG::ERROR <<
"Got a zero pointer to a TEfficiency" <<
endmsg;
350 return StatusCode::FAILURE;
◆ book() [7/8]
StatusCode AthHistogramming::book |
( |
TH1 & |
histRef, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 324 of file AthHistogramming.h.
328 if ( !histPointer ) {
329 m_msg << MSG::ERROR <<
"Couldn't book a TH1" <<
endmsg;
330 return StatusCode::FAILURE;
332 return StatusCode::SUCCESS;
◆ book() [8/8]
StatusCode AthHistogramming::book |
( |
TH1 * |
hist, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 314 of file AthHistogramming.h.
317 m_msg << MSG::ERROR <<
"Got a zero pointer to a TH1" <<
endmsg;
318 return StatusCode::FAILURE;
◆ bookGetPointer() [1/8]
TEfficiency * AthHistogramming::bookGetPointer |
( |
const TEfficiency & |
eff, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 281 of file AthHistogramming.h.
284 TEfficiency* histClone =
dynamic_cast< TEfficiency*
>(
hist.Clone() );
286 m_msg << MSG::ERROR <<
"Couldn't create a TEfficiency clone in bookGetPointer" <<
endmsg;
◆ bookGetPointer() [2/8]
TGraph * AthHistogramming::bookGetPointer |
( |
const TGraph & |
graphRef, |
|
|
std::string |
tDir = "" , |
|
|
std::string |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TGraphs.
Definition at line 427 of file AthHistogramming.cxx.
430 const TGraph* graphPointer = &graphRef;
435 m_msg << MSG::WARNING
436 <<
"We got an invalid TGraph pointer in the BookGetPointer(TGraph*) method of the class" <<
m_name
442 std::string graphName = graphPointer->GetName();
443 const std::string graphTitle = graphPointer->GetTitle();
446 const hash_t graphHash = this->
hash(graphName);
447 GraphMap_t::const_iterator
it =
m_graphMap.find( graphHash );
450 m_msg << MSG::WARNING
451 <<
"Detected a hash collision. The hash for the TGraph with name=" << graphName
452 <<
" already exists and points to a TGraph with name=" <<
it->second->GetName()
453 <<
" NOT going to book the new histogram and returning a NULL pointer!" <<
endmsg;
461 m_msg << MSG::WARNING
462 <<
"We couldn't clone the TGraph in the BookGetPointer(TGraph&) method of the class" <<
m_name
469 std::string bookingString(
"");
473 if ( !((
histSvc()->regGraph(bookingString, graphClone)).isSuccess()) )
475 m_msg << MSG::WARNING
476 <<
"Problem registering TGraph with name " << graphName
477 <<
", title " << graphTitle
483 m_graphMap.insert(
m_graphMap.end(), std::pair< const hash_t, TGraph* >( graphHash, graphClone ) );
◆ bookGetPointer() [3/8]
TH1 * AthHistogramming::bookGetPointer |
( |
const TH1 & |
hist, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 260 of file AthHistogramming.h.
263 TH1* histClone =
dynamic_cast< TH1*
>(
hist.Clone() );
265 m_msg << MSG::ERROR <<
"Couldn't create a TH1 clone in bookGetPointer" <<
endmsg;
◆ bookGetPointer() [4/8]
TTree * AthHistogramming::bookGetPointer |
( |
const TTree & |
treeRef, |
|
|
std::string |
tDir = "" , |
|
|
std::string |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TTrees.
Definition at line 312 of file AthHistogramming.cxx.
315 const TTree* treePointer = &treeRef;
320 m_msg << MSG::WARNING
321 <<
"We got an invalid TTree pointer in the BookGetPointer(TTree*) method of the class" <<
m_name
327 std::string
treeName = treePointer->GetName();
328 const std::string treeTitle = treePointer->GetTitle();
332 TreeMap_t::const_iterator
it =
m_treeMap.find( treeHash );
335 m_msg << MSG::WARNING
336 <<
"Detected a hash collision. The hash for the TTree with name=" <<
treeName
337 <<
" already exists and points to a TTree with name=" <<
it->second->GetName()
338 <<
" NOT going to book the new histogram and returning a NULL pointer!" <<
endmsg;
343 TTree* treeClone =
dynamic_cast< TTree*
>( treePointer->Clone(
treeName.c_str()) );
346 m_msg << MSG::WARNING
347 <<
"We couldn't clone the TTree in the BookGetPointer(TTree&) method of the class" <<
m_name
351 treeClone->SetTitle (treeTitle.c_str());
354 std::string bookingString(
"");
358 if ( !((
histSvc()->regTree(bookingString, treeClone)).isSuccess()) )
360 m_msg << MSG::WARNING
361 <<
"Problem registering TTree with name " <<
treeName
362 <<
", title " << treeTitle
368 m_treeMap.insert(
m_treeMap.end(), std::pair< const hash_t, TTree* >( treeHash, treeClone ) );
◆ bookGetPointer() [5/8]
TEfficiency * AthHistogramming::bookGetPointer |
( |
TEfficiency & |
effRef, |
|
|
std::string |
tDir = "" , |
|
|
std::string |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 146 of file AthHistogramming.cxx.
149 std::string effName(effRef.GetName());
150 const std::string effTitle(effRef.GetTitle());
151 std::string bookingString(
"");
155 effRef.SetName(effName.c_str());
159 EffMap_t::const_iterator
it =
m_effMap.find( effHash );
162 m_msg << MSG::WARNING
163 <<
"Detected a hash collision. The hash for the TEfficiency with name=" << effName
164 <<
" already exists and points to a TEfficiency with name=" <<
it->second->GetName()
165 <<
" NOT going to book the new TEfficiency and returning a NULL pointer!" <<
endmsg;
175 if ( !((
histSvc()->regEfficiency(bookingString, &effRef)).isSuccess()) )
177 m_msg << MSG::WARNING
178 <<
"Problem registering TEfficiency with name " << effName
180 <<
", title " << effTitle
188 m_effMap.insert(
m_effMap.end(), std::pair< const hash_t, TEfficiency* >( effHash, &effRef ) );
◆ bookGetPointer() [6/8]
TEfficiency * AthHistogramming::bookGetPointer |
( |
TEfficiency * |
eff, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 293 of file AthHistogramming.h.
296 m_msg << MSG::ERROR <<
"Got a zero pointer to a TEfficiency in bookGetPointer" <<
endmsg;
◆ bookGetPointer() [7/8]
TH1 * AthHistogramming::bookGetPointer |
( |
TH1 & |
histRef, |
|
|
std::string |
tDir = "" , |
|
|
std::string |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 98 of file AthHistogramming.cxx.
101 std::string
histName(histRef.GetName());
102 const std::string histTitle(histRef.GetTitle());
103 std::string bookingString(
"");
111 HistMap_t::const_iterator
it =
m_histMap.find( histHash );
114 m_msg << MSG::WARNING
115 <<
"Detected a hash collision. The hash for the histogram with name=" <<
histName
116 <<
" already exists and points to a histogram with name=" <<
it->second->GetName()
117 <<
" NOT going to book the new histogram and returning a NULL pointer!" <<
endmsg;
127 if ( !((
histSvc()->regHist(bookingString, &histRef)).isSuccess()) )
129 m_msg << MSG::WARNING
130 <<
"Problem registering histogram with name " <<
histName
132 <<
", title " << histTitle
140 m_histMap.insert(
m_histMap.end(), std::pair< const hash_t, TH1* >( histHash, &histRef ) );
◆ bookGetPointer() [8/8]
TH1 * AthHistogramming::bookGetPointer |
( |
TH1 * |
hist, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 272 of file AthHistogramming.h.
275 m_msg << MSG::ERROR <<
"Got a zero pointer to a TH1 in bookGetPointer" <<
endmsg;
◆ buildBookingString()
void AthHistogramming::buildBookingString |
( |
std::string & |
bookingString, |
|
|
std::string & |
histName, |
|
|
std::string & |
tDir, |
|
|
std::string & |
stream, |
|
|
bool |
usePrefixPostfix = false |
|
) |
| |
|
privateinherited |
Method to build individual booking string.
Definition at line 560 of file AthHistogramming.cxx.
569 if(
pos != std::string::npos){
576 if(usePrefixPostfix){
581 while(bookingString.find(
"//") != std::string::npos){
◆ cardinality()
unsigned int MuonCalib::MuonSegmentReader::cardinality |
( |
| ) |
const |
|
inlinefinaloverride |
◆ configAthHistogramming()
StatusCode AthHistogramming::configAthHistogramming |
( |
const ServiceHandle< ITHistSvc > & |
histSvc, |
|
|
const std::string & |
prefix, |
|
|
const std::string & |
rootDir, |
|
|
const std::string & |
histNamePrefix, |
|
|
const std::string & |
histNamePostfix, |
|
|
const std::string & |
histTitlePrefix, |
|
|
const std::string & |
histTitlePostfix |
|
) |
| |
|
protectedinherited |
To be called by the derived classes to fill the internal configuration.
Definition at line 66 of file AthHistogramming.cxx.
79 return StatusCode::SUCCESS;
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ efficiency()
TEfficiency * AthHistogramming::efficiency |
( |
const std::string & |
effName, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the retrieval of registered TEfficiency.
Definition at line 250 of file AthHistogramming.cxx.
256 EffMap_t::const_iterator
it =
m_effMap.find( effHash );
261 std::string effNameCopy = effName;
262 std::string tDirCopy = tDir;
263 std::string streamCopy =
stream;
266 std::string bookingString(
"");
269 TEfficiency* effPointer(NULL);
270 if ( !((
histSvc()->getEfficiency(bookingString, effPointer)).isSuccess()) )
273 std::string bookingString(
"");
276 if ( !((
histSvc()->getEfficiency(bookingString, effPointer)).isSuccess()) )
278 m_msg << MSG::WARNING
279 <<
"Problem retrieving the TEfficiency with name (including pre- and post-fixes) "
281 <<
" or with name " << effNameCopy
282 <<
" in " <<
m_name <<
"... it doesn't exist, neither in the cached map nor in the THistSvc!"
283 <<
" Will return an NULL pointer... you have to handle it correctly!" <<
endmsg;
288 m_effMap.insert(
m_effMap.end(), std::pair< const hash_t, TEfficiency* >( effHash, effPointer ) );
293 m_effMap.insert(
m_effMap.end(), std::pair< const hash_t, TEfficiency* >( effHash, effPointer ) );
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode MuonCalib::MuonSegmentReader::execute |
( |
| ) |
|
|
overridevirtual |
< number of measurements flaged as outliers in TSOS
Definition at line 46 of file MuonSegmentReader.cxx.
50 const EventContext& ctx = Gaudi::Hive::currentContext();
52 if (!eventInfo.isValid()) {
54 return StatusCode::FAILURE;
60 m_bcId = eventInfo->bcid();
62 m_pt = eventInfo->timeStampNSOffset();
68 ATH_MSG_ERROR(
"Null pointer to the read MuonDetectorManager conditions object");
69 return StatusCode::FAILURE;
74 ATH_MSG_DEBUG(
"Size of MdtPrepDataContainer : "<<mdtPrepRawData->size());
76 for(
auto mdtColl : *mdtPrepRawData){
83 ATH_MSG_DEBUG(
"Mdt FixedId "<<fixid.getIdInt()<<
" prd phi "<<prd->globalPosition().phi()<<
" prd theta "<<prd->globalPosition().theta());
91 ATH_MSG_DEBUG(
"Size of RpcPrepDataContainer : "<<rpcPrepRawData->size());
93 for(
auto rpcColl : *rpcPrepRawData) {
99 ATH_MSG_DEBUG(
"Rpc FixedId "<<fixid.getIdInt()<<
" prd phi "<<prd->globalPosition().phi()<<
" prd theta "<<prd->globalPosition().theta());
107 ATH_MSG_DEBUG(
"Size of TgcPrepDataContainer : "<<tgcPrepRawData->size());
109 for (
auto tgcColl : *tgcPrepRawData) {
115 ATH_MSG_DEBUG(
"Tgc FixedId "<<fixid.getIdInt()<<
" prd phi "<<prd->globalPosition().phi()<<
" prd theta "<<prd->globalPosition().theta());
123 ATH_MSG_INFO(
"Number of Muon StandAlone Tracks : "<<muTrks->size());
126 for (
unsigned int itrk = 0; itrk < muTrks->size(); ++itrk) {
168 return StatusCode::FAILURE;
185 return StatusCode::FAILURE;
194 return StatusCode::FAILURE;
197 unsigned int nMeasurement = 0, nHole = 0;
207 if (!measurement)
continue;
211 ATH_MSG_DEBUG(
"Total recorded hits in the track "<<itrk<<
" #Mesurement "<<nMeasurement<<
" #Hole "<<nHole) ;
219 if (!
m_tree.
fill(ctx))
return StatusCode::FAILURE;
220 return StatusCode::SUCCESS;
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ extraOutputDeps()
const DataObjIDColl & AthAlgorithm::extraOutputDeps |
( |
| ) |
const |
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
57 return Algorithm::extraOutputDeps();
◆ finalize()
StatusCode MuonCalib::MuonSegmentReader::finalize |
( |
| ) |
|
|
overridevirtual |
◆ graph()
TGraph * AthHistogramming::graph |
( |
const std::string & |
graphName, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the retrieval of registered TGraphs.
Definition at line 492 of file AthHistogramming.cxx.
495 const hash_t graphHash = this->
hash(graphName);
498 GraphMap_t::const_iterator
it =
m_graphMap.find( graphHash );
503 std::string graphNameCopy = graphName;
504 std::string tDirCopy = tDir;
505 std::string streamCopy =
stream;
508 std::string bookingString(
"");
511 TGraph* graphPointer(NULL);
512 if ( !((
histSvc()->getGraph(bookingString, graphPointer)).isSuccess()) )
515 std::string bookingString(
"");
516 this->
buildBookingString( bookingString, graphNameCopy, tDirCopy, streamCopy,
false );
518 if ( !((
histSvc()->getGraph(bookingString, graphPointer)).isSuccess()) )
520 m_msg << MSG::WARNING
521 <<
"Problem retrieving the TGraph with name (including pre- and post-fixes) "
523 <<
" or with name " << graphNameCopy
524 <<
" in " <<
m_name <<
"... it doesn't exist, neither in the cached map nor in the THistSvc!"
525 <<
" Will return an NULL pointer... you have to handle it correctly!" <<
endmsg;
530 m_graphMap.insert(
m_graphMap.end(), std::pair< const hash_t, TGraph* >( graphHash, graphPointer ) );
535 m_graphMap.insert(
m_graphMap.end(), std::pair< const hash_t, TGraph* >( graphHash, graphPointer ) );
◆ hash()
◆ hist()
TH1 * AthHistogramming::hist |
( |
const std::string & |
histName, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the retrieval of registered histograms of any type.
Definition at line 198 of file AthHistogramming.cxx.
204 HistMap_t::const_iterator
it =
m_histMap.find( histHash );
209 std::string histNameCopy =
histName;
210 std::string tDirCopy = tDir;
211 std::string streamCopy =
stream;
214 std::string bookingString(
"");
217 TH1* histPointer(NULL);
218 if ( !((
histSvc()->
getHist(bookingString, histPointer)).isSuccess()) )
221 std::string bookingString(
"");
224 if ( !((
histSvc()->
getHist(bookingString, histPointer)).isSuccess()) )
226 m_msg << MSG::WARNING
227 <<
"Problem retrieving the histogram with name (including pre- and post-fixes) "
229 <<
" or with name " << histNameCopy
230 <<
" in " <<
m_name <<
"... it doesn't exist, neither in the cached map nor in the THistSvc!"
231 <<
" Will return an NULL pointer... you have to handle it correctly!" <<
endmsg;
236 m_histMap.insert(
m_histMap.end(), std::pair< const hash_t, TH1* >( histHash, histPointer ) );
241 m_histMap.insert(
m_histMap.end(), std::pair< const hash_t, TH1* >( histHash, histPointer ) );
◆ hist2d()
TH2 * AthHistogramming::hist2d |
( |
const std::string & |
histName, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the retrieval of registered 2-d histograms.
Definition at line 369 of file AthHistogramming.h.
376 <<
"Cannot get a 2-d histogram with name " <<
histName
377 <<
"... will probably seg-fault!" <<
endmsg;
381 return dynamic_cast<TH2*
>( th1Pointer );
◆ hist3d()
TH3 * AthHistogramming::hist3d |
( |
const std::string & |
histName, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
inlineprotectedinherited |
Simplify the retrieval of registered 3-d histograms.
Definition at line 386 of file AthHistogramming.h.
393 <<
"Cannot get a 3-d histogram with name " <<
histName
394 <<
"... will probably seg-fault!" <<
endmsg;
398 return dynamic_cast<TH3*
>( th1Pointer );
◆ histSvc()
The standard THistSvc
(for writing histograms and TTrees and more to a root file) Returns (kind of) a pointer to the THistSvc
.
Definition at line 113 of file AthHistogramAlgorithm.h.
◆ initialize()
StatusCode MuonCalib::MuonSegmentReader::initialize |
( |
| ) |
|
|
overridevirtual |
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ myReplace()
void AthHistogramming::myReplace |
( |
std::string & |
str, |
|
|
const std::string & |
oldStr, |
|
|
const std::string & |
newStr |
|
) |
| |
|
privateinherited |
Helper method to replace sub-string.
Definition at line 590 of file AthHistogramming.cxx.
595 while((
pos =
str.find(oldStr,
pos)) != std::string::npos)
597 str.replace(
pos, oldStr.length(), newStr);
598 pos += newStr.length();
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ storeHole()
◆ storeMeasurement()
Definition at line 249 of file MuonSegmentReader.cxx.
269 else ATH_MSG_WARNING(
"This hit is not measurement o outlier, hit type wrong!");
276 int tdc = prd->
tdc();
282 calibIn.setTrackDirection(trackPars->
momentum().unit());
284 ATH_MSG_DEBUG(
"print "<<calibIn <<
" calibResult : "<<calibResult);
311 ATH_MSG_WARNING(
"getGlobalToStation failed to retrieve detEL byebye" );
337 <<
" detEl wireLocalCenter " <<
" x : "<<wireCenter.x()<<
" y : " << wireCenter.y()<<
" z : "<<wireCenter.z());
344 float residualBiased = -999.;
345 float pullBiased = -999.;
348 if(resPullBiased.has_value()){
349 residualBiased = resPullBiased.value().residual().front();
350 pullBiased = resPullBiased.value().pull().front();
363 ATH_MSG_DEBUG(
"prd hit global position measurement " <<
" x : "<< prd_pos.x()<<
" y : "<< prd_pos.y()<<
" z : "<<prd_pos.z());
364 ATH_MSG_DEBUG(
"MdtDriftCircleOnTrack hit global position measurement " <<
" x : " <<mrot_gPos.x()<<
" y : "<< mrot_gPos.y() <<
" z : "<<mrot_gPos.z());
365 ATH_MSG_DEBUG(
"trackHitPos from trackPars " <<
" x : "<<trkHitPos.x() <<
" y : "<<trkHitPos.y() <<
" z : "<< trkHitPos.z() );
366 ATH_MSG_DEBUG(
"trackHit Local Pos from globaltolocalCoords " <<
" x : "<< trkHitPosLoc.x() <<
" y : "<< trkHitPosLoc.y() <<
" z : "<< trkHitPosLoc.z());
367 ATH_MSG_DEBUG(
"mrod Local Pos from globaltolocalCoords " <<
" x : "<< mrot_pos.x() <<
" y : "<< mrot_pos.y() <<
" z : "<< mrot_pos.z());
368 ATH_MSG_DEBUG(
"TrackIndex "<<itrk<<
" station " << fixid.stationNumberToFixedStationString(fixid.stationName()) <<
" eta " << fixid.eta() <<
" phi " << fixid.phi() <<
" ML " << fixid.mdtMultilayer() <<
" Layer " << fixid.mdtTubeLayer()
369 <<
" Tube "<<fixid.mdtTube()<<
" MROT drift R " << mrot->
driftRadius() <<
" errDriftRadius " <<
error<<
" drift Time "
371 ATH_MSG_DEBUG(
" driftRadius from driftRadius func "<<
driftRadius<<
" rTrk track fit to wire "<<trackPars->parameters()[
Trk::loc1]<<
" residualBiased " << residualBiased <<
" pullBiased " << pullBiased);
411 const std::vector<const Muon::MuonClusterOnTrack*>& rots = crot->
containedROTs();
412 if (rots.size() > 0) {
413 std::vector<const Muon::MuonClusterOnTrack*>::const_iterator itR = rots.begin(), itR_end = rots.end();
414 for (; itR != itR_end; ++itR) {
◆ sysInitialize()
StatusCode AthHistogramAlgorithm::sysInitialize |
( |
| ) |
|
|
virtualinherited |
Initialization method invoked by the framework.
This method is responsible for any bookkeeping of initialization required by the framework itself. It will in turn invoke the initialize() method of the derived algorithm, and of any sub-algorithms which it creates.
Reimplemented from AthAlgorithm.
Reimplemented in AthAnalysisAlgorithm.
Definition at line 75 of file AthHistogramAlgorithm.cxx.
80 if ( Gaudi::StateMachine::INITIALIZED <= FSMState() )
return StatusCode::SUCCESS;
83 bindPropertiesTo( serviceLocator()->getOptsSvc() );
87 if ( !isEnabled( ) )
return StatusCode::SUCCESS;
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ tree()
TTree * AthHistogramming::tree |
( |
const std::string & |
treeName, |
|
|
const std::string & |
tDir = "" , |
|
|
const std::string & |
stream = "" |
|
) |
| |
|
protectedinherited |
Simplify the retrieval of registered TTrees.
Definition at line 378 of file AthHistogramming.cxx.
384 TreeMap_t::const_iterator
it =
m_treeMap.find( treeHash );
389 std::string treeNameCopy =
treeName;
390 std::string tDirCopy = tDir;
391 std::string streamCopy =
stream;
394 std::string bookingString(
"");
397 TTree* treePointer(NULL);
398 if ( !((
histSvc()->
getTree(bookingString, treePointer)).isSuccess()) )
400 m_msg << MSG::WARNING
401 <<
"Problem retrieving the TTree with name " << treeNameCopy
402 <<
" in " <<
m_name <<
"... it doesn't exist, neither in the cached map nor in the THistSvc!"
403 <<
" Will return an NULL pointer... you have to handle it correctly!" <<
endmsg;
408 m_treeMap.insert(
m_treeMap.end(), std::pair< const hash_t, TTree* >( treeHash, treePointer ) );
◆ updateVHKA()
◆ m_bcId
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_bcId {m_tree.newScalar<int>("event_bcId")} |
|
private |
◆ m_calibrationTool
◆ m_DetectorManagerKey
Initial value:{this, "DetectorManagerKey", "MuonDetectorManager",
"Key of input MuonDetectorManager condition data"}
Definition at line 77 of file MuonSegmentReader.h.
◆ m_detStore
◆ m_effMap
◆ m_eventNumber
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_eventNumber {m_tree.newScalar<int>("event_eventNumber")} |
|
private |
◆ m_evtKey
◆ m_evtStore
◆ m_extendedExtraObjects
DataObjIDColl AthAlgorithm::m_extendedExtraObjects |
|
privateinherited |
◆ m_graphMap
◆ m_histMap
◆ m_histNamePostfix
std::string AthHistogramAlgorithm::m_histNamePostfix |
|
privateinherited |
◆ m_histNamePrefix
std::string AthHistogramAlgorithm::m_histNamePrefix |
|
privateinherited |
◆ m_histSvc
◆ m_histTitlePostfix
std::string AthHistogramAlgorithm::m_histTitlePostfix |
|
privateinherited |
◆ m_histTitlePrefix
std::string AthHistogramAlgorithm::m_histTitlePrefix |
|
privateinherited |
◆ m_idToFixedIdTool
◆ m_lumiBlock
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_lumiBlock {m_tree.newScalar<int>("event_lumiBlock")} |
|
private |
◆ m_MdtPrepDataKey
◆ m_msg
MsgStream AthHistogramming::m_msg |
|
privateinherited |
◆ m_MuonIdHelper
Initial value:{this, "MuonIdHelper", "Muon::MuonIdHelperSvc/MuonIdHelperSvc",
"Handle to the MuonIdHelperSvc"}
Definition at line 80 of file MuonSegmentReader.h.
◆ m_name
std::string AthHistogramming::m_name |
|
privateinherited |
◆ m_prefix
std::string AthHistogramAlgorithm::m_prefix |
|
privateinherited |
◆ m_printer
◆ m_pt
ScalarBranch<float>& MuonCalib::MuonSegmentReader::m_pt {m_tree.newScalar<float>("event_LVL2Pt")} |
|
private |
◆ m_pullCalculator
Initial value:{this, "PullCalculator",
"Trk::ResidualPullCalculator/ResidualPullCalculator"}
Definition at line 86 of file MuonSegmentReader.h.
◆ m_rawMdt_adc
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_rawMdt_adc {m_tree.newVector<int>("rawMdt_adc")} |
|
private |
◆ m_rawMdt_gPos
◆ m_rawMdt_id
VectorBranch<unsigned int>& MuonCalib::MuonSegmentReader::m_rawMdt_id {m_tree.newVector<unsigned int>("rawMdt_id")} |
|
private |
◆ m_rawMdt_nRMdt
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_rawMdt_nRMdt {m_tree.newScalar<int>("rawMdt_nRMdt")} |
|
private |
◆ m_rawMdt_tdc
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_rawMdt_tdc {m_tree.newVector<int>("rawMdt_tdc")} |
|
private |
◆ m_rawRpc_gPos
◆ m_rawRpc_id
VectorBranch<unsigned int>& MuonCalib::MuonSegmentReader::m_rawRpc_id {m_tree.newVector<unsigned int>("rawRpc_id")} |
|
private |
◆ m_rawRpc_nRRpc
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_rawRpc_nRRpc {m_tree.newScalar<int>("rawRpc_nRRpc")} |
|
private |
◆ m_rawRpc_time
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_rawRpc_time {m_tree.newVector<float>("rawRpc_time")} |
|
private |
◆ m_rawTgc_bcBitMap
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_rawTgc_bcBitMap {m_tree.newVector<int>("rawTgc_bcBitMap")} |
|
private |
◆ m_rawTgc_gPos
◆ m_rawTgc_id
VectorBranch<unsigned int>& MuonCalib::MuonSegmentReader::m_rawTgc_id {m_tree.newVector<unsigned int>("rawTgc_id")} |
|
private |
◆ m_rawTgc_nRTgc
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_rawTgc_nRTgc {m_tree.newScalar<int>("rawTgc_nRTgc")} |
|
private |
◆ m_rootDir
std::string AthHistogramAlgorithm::m_rootDir |
|
privateinherited |
◆ m_RpcPrepDataKey
◆ m_runNumber
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_runNumber {m_tree.newScalar<int>("event_runNumber")} |
|
private |
◆ m_streamName
std::string AthHistogramming::m_streamName |
|
privateinherited |
◆ m_TgcPrepDataKey
◆ m_timeStamp
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_timeStamp {m_tree.newScalar<int>("event_timeStamp")} |
|
private |
◆ m_tree
MuonTesterTree MuonCalib::MuonSegmentReader::m_tree {"Segments", "CALIBNTUPLESTREAM"} |
|
private |
◆ m_treeMap
◆ m_trk_author
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_author {m_tree.newVector<int>("trk_author")} |
|
private |
◆ m_trk_chi2
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_chi2 {m_tree.newVector<float>("trk_chi2")} |
|
private |
◆ m_trk_d0
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_d0 {m_tree.newVector<float>("trk_d0")} |
|
private |
◆ m_trk_eta
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_eta {m_tree.newVector<float>("trk_eta")} |
|
private |
◆ m_trk_ndof
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_ndof {m_tree.newVector<int>("trk_ndof")} |
|
private |
◆ m_trk_nMdtHits
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nMdtHits {m_tree.newVector<int>("trk_nMdtHits")} |
|
private |
◆ m_trk_nMdtHoles
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nMdtHoles {m_tree.newVector<int>("trk_nMdtHoles")} |
|
private |
◆ m_trk_nOutliersHits
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nOutliersHits {m_tree.newVector<int>("trk_nOutliersHits")} |
|
private |
◆ m_trk_nRpcEtaHits
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nRpcEtaHits {m_tree.newVector<int>("trk_nRpcEtaHits")} |
|
private |
◆ m_trk_nRpcPhiHits
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nRpcPhiHits {m_tree.newVector<int>("trk_nRpcPhiHits")} |
|
private |
◆ m_trk_nTgcEtaHits
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nTgcEtaHits {m_tree.newVector<int>("trk_nTgcEtaHits")} |
|
private |
◆ m_trk_nTgcPhiHits
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nTgcPhiHits {m_tree.newVector<int>("trk_nTgcPhiHits")} |
|
private |
◆ m_trk_nTracks
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_trk_nTracks {m_tree.newScalar<int>("trk_nTracks")} |
|
private |
◆ m_trk_perigee
◆ m_trk_phi
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_phi {m_tree.newVector<float>("trk_phi")} |
|
private |
◆ m_trk_pt
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_pt {m_tree.newVector<float>("trk_pt")} |
|
private |
◆ m_trk_qOverP
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_qOverP {m_tree.newVector<float>("trk_qOverP")} |
|
private |
◆ m_trk_theta
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_theta {m_tree.newVector<float>("trk_theta")} |
|
private |
◆ m_trk_z0
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trk_z0 {m_tree.newVector<float>("trk_z0")} |
|
private |
◆ m_trkHit_adc
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHit_adc {m_tree.newVector<int>("trkHit_adc")} |
|
private |
◆ m_trkHit_bkgTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_bkgTime {m_tree.newVector<float>("trkHit_bkgTime")} |
|
private |
◆ m_trkHit_calibStatus
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHit_calibStatus {m_tree.newVector<int>("trkHit_calibStatus")} |
|
private |
◆ m_trkHit_center
◆ m_trkHit_closestApproach
◆ m_trkHit_distRO
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_distRO {m_tree.newVector<float>("trkHit_distRO")} |
|
private |
◆ m_trkHit_driftRadius
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_driftRadius {m_tree.newVector<float>("trkHit_driftRadius")} |
|
private |
◆ m_trkHit_driftTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_driftTime {m_tree.newVector<float>("trkHit_driftTime")} |
|
private |
◆ m_trkHit_error
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_error {m_tree.newVector<float>("trkHit_error")} |
|
private |
◆ m_trkHit_gClosestApproach
◆ m_trkHit_gPos
◆ m_trkHit_id
VectorBranch<unsigned int>& MuonCalib::MuonSegmentReader::m_trkHit_id {m_tree.newVector<unsigned int>("trkHit_id")} |
|
private |
◆ m_trkHit_localAngle
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_localAngle {m_tree.newVector<float>("trkHit_localAngle")} |
|
private |
◆ m_trkHit_lorTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_lorTime {m_tree.newVector<float>("trkHit_lorTime")} |
|
private |
◆ m_trkHit_nMdtHits
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_trkHit_nMdtHits {m_tree.newScalar<int>("trkHit_nMdtHits")} |
|
private |
◆ m_trkHit_pos
◆ m_trkHit_propTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_propTime {m_tree.newVector<float>("trkHit_propTime")} |
|
private |
◆ m_trkHit_pull
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_pull {m_tree.newVector<float>("trkHit_pull")} |
|
private |
◆ m_trkHit_resi
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_resi {m_tree.newVector<float>("trkHit_resi")} |
|
private |
◆ m_trkHit_rTrk
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_rTrk {m_tree.newVector<float>("trkHit_rTrk")} |
|
private |
◆ m_trkHit_slewTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_slewTime {m_tree.newVector<float>("trkHit_slewTime")} |
|
private |
◆ m_trkHit_tdc
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHit_tdc {m_tree.newVector<int>("trkHit_tdc")} |
|
private |
◆ m_trkHit_tempTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_tempTime {m_tree.newVector<float>("trkHit_tempTime")} |
|
private |
◆ m_trkHit_tof
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_tof {m_tree.newVector<float>("trkHit_tof")} |
|
private |
◆ m_trkHit_trackIndex
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHit_trackIndex {m_tree.newVector<int>("trkHit_trackIndex")} |
|
private |
◆ m_trkHit_triggerTime
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_triggerTime {m_tree.newVector<float>("trkHit_triggerTime")} |
|
private |
◆ m_trkHit_tubeMeanAdc
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_tubeMeanAdc {m_tree.newVector<float>("trkHit_tubeMeanAdc")} |
|
private |
◆ m_trkHit_tubeT0
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHit_tubeT0 {m_tree.newVector<float>("trkHit_tubeT0")} |
|
private |
◆ m_trkHit_type
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHit_type {m_tree.newVector<int>("trkHit_type")} |
|
private |
◆ m_trkHole_driftRadius
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkHole_driftRadius {m_tree.newVector<float>("trkHole_driftRadius")} |
|
private |
◆ m_trkHole_gPos
◆ m_trkHole_id
VectorBranch<unsigned int>& MuonCalib::MuonSegmentReader::m_trkHole_id {m_tree.newVector<unsigned int>("trkHole_id")} |
|
private |
◆ m_trkHole_nHoles
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_trkHole_nHoles {m_tree.newScalar<int>("trkHole_nHoles")} |
|
private |
◆ m_trkHole_trackIndex
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHole_trackIndex {m_tree.newVector<int>("trkHole_trackIndex")} |
|
private |
◆ m_trkHole_type
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkHole_type {m_tree.newVector<int>("trkHole_type")} |
|
private |
◆ m_TrkKey
◆ m_trkTriggerHit_gPos
◆ m_trkTriggerHit_id
VectorBranch<unsigned int>& MuonCalib::MuonSegmentReader::m_trkTriggerHit_id {m_tree.newVector<unsigned int>("trkTriggerHit_id")} |
|
private |
◆ m_trkTriggerHit_nHits
ScalarBranch<int>& MuonCalib::MuonSegmentReader::m_trkTriggerHit_nHits {m_tree.newScalar<int>("trkTriggerHit_nHits")} |
|
private |
◆ m_trkTriggerHit_time
VectorBranch<float>& MuonCalib::MuonSegmentReader::m_trkTriggerHit_time {m_tree.newVector<float>("trkTriggerHit_time")} |
|
private |
◆ m_trkTriggerHit_trackIndex
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkTriggerHit_trackIndex {m_tree.newVector<int>("trkTriggerHit_trackIndex")} |
|
private |
◆ m_trkTriggerHit_type
VectorBranch<int>& MuonCalib::MuonSegmentReader::m_trkTriggerHit_type {m_tree.newVector<int>("trkTriggerHit_type")} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
std::string m_rootDir
Name of the ROOT directory.
def retrieve(aClass, aKey=None)
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
void storeMeasurement(const EventContext &ctx, const MuonGM::MuonDetectorManager *MuonDetMgr, unsigned int itrk, const Trk::TrackStateOnSurface *trk_state, const Trk::MeasurementBase *measurement)
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
VectorBranch< int > & m_trkHit_trackIndex
VectorBranch< int > & m_trkHole_type
const TrackParameters * trackParameters() const
return ptr to trackparameters const overload
VectorBranch< int > & m_rawTgc_bcBitMap
ThreeVectorBranch m_rawMdt_gPos
ThreeVectorBranch m_trk_perigee
void myReplace(std::string &str, const std::string &oldStr, const std::string &newStr)
Helper method to replace sub-string.
MsgStream m_msg
Cached Message Stream.
ScalarBranch< int > & m_rawRpc_nRRpc
const FitQuality * fitQuality() const
return a pointer to the fit quality const-overload
HistMap_t m_histMap
The map of histogram names to their pointers.
@ numberOfMdtHoles
number of MDT measurements missing from the track
double tubeLength(const int tubeLayer, const int tube) const
ScalarBranch< int > & m_trk_nTracks
VectorBranch< int > & m_trk_nTgcPhiHits
ServiceHandle< ITHistSvc > m_histSvc
Default constructor: AthHistogramAlgorithm();.
virtual const MdtPrepData * prepRawData() const override final
Returns the PrepRawData used to create this corrected measurement.
StatusCode init(OWNER *instance)
Initialize method.
VectorBranch< unsigned int > & m_rawRpc_id
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
ThreeVectorBranch m_rawRpc_gPos
const Amg::Vector3D & position() const
Access method for the position.
ScalarBranch< int > & m_rawTgc_nRTgc
VectorBranch< float > & m_trkHit_rTrk
virtual const Surface & associatedSurface() const override=0
Access to the Surface associated to the Parameters.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual const Amg::Vector3D & globalPosition() const override
Returns the global position.
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
SG::ReadHandleKey< Muon::MdtPrepDataContainer > m_MdtPrepDataKey
Identifier associatedDetectorElementIdentifier() const
return Identifier of the associated Detector Element
void storeHole(const Trk::TrackStateOnSurface *trk_state, unsigned int itrk)
VectorBranch< unsigned int > & m_rawTgc_id
virtual Amg::Transform3D GlobalToAmdbLRSTransform() const
SG::ReadHandleKey< Muon::TgcPrepDataContainer > m_TgcPrepDataKey
VectorBranch< float > & m_trkHit_resi
VectorBranch< float > & m_trk_qOverP
VectorBranch< int > & m_trkTriggerHit_trackIndex
VectorBranch< float > & m_trkHole_driftRadius
ScalarBranch< int > & m_trkTriggerHit_nHits
std::string m_prefix
Name of the ROOT output stream (file)
Class to represent calibrated clusters formed from TGC strips.
VectorBranch< float > & m_trkHit_distRO
VectorBranch< float > & m_trkHit_localAngle
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
PublicToolHandle< Trk::IResidualPullCalculator > m_pullCalculator
VectorBranch< float > & m_rawRpc_time
ScalarBranch< int > & m_lumiBlock
std::string m_histNamePrefix
The prefix for the histogram THx name.
VectorBranch< float > & m_trkHit_tempTime
ThreeVectorBranch m_trkHit_gClosestApproach
@ numberOfOutliersOnTrack
100 times the standard deviation of the chi2 from the surfaces
std::string m_histTitlePrefix
The prefix for the histogram THx title.
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_DetectorManagerKey
Class to represent calibrated clusters formed from RPC strips.
VectorBranch< int > & m_trk_nMdtHits
VectorBranch< int > & m_trk_nRpcEtaHits
#define ATH_MSG_VERBOSE(x)
VectorBranch< float > & m_trkHit_tubeMeanAdc
int adc() const
Returns the ADC (typically range is 0 to 250)
VectorBranch< float > & m_trkHit_tubeT0
VectorBranch< int > & m_trkHit_type
std::string m_histNamePostfix
The postfix for the histogram THx name.
ThreeVectorBranch m_rawTgc_gPos
ThreeVectorBranch m_trkHit_pos
std::string getTree(const std::string &file_name)
ScalarBranch< int > & m_trkHit_nMdtHits
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global Position.
double driftTime() const
Returns the value of the drift time used to obtain the drift radius.
VectorBranch< int > & m_trkHit_calibStatus
virtual void setOwner(IDataHandleHolder *o)=0
double distanceFromRO(const Amg::Vector3D &GlobalHitPosition, const Identifier &id) const
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
ThreeVectorBranch m_trkHole_gPos
VectorBranch< float > & m_trk_z0
float time() const
Returns the time.
virtual const TgcPrepData * prepRawData() const
Returns the TgcPrepData - is a TRT_DriftCircle in this scope.
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
VectorBranch< int > & m_rawMdt_tdc
VectorBranch< unsigned int > & m_trkHit_id
bool type(const TrackStateOnSurfaceType type) const
Use this method to find out if the TSoS is of a certain type: i.e.
VectorBranch< float > & m_trkHit_slewTime
VectorBranch< float > & m_trkHit_lorTime
uint16_t getBcBitMap() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
virtual StatusCode sysInitialize() override
Override sysInitialize.
ScalarBranch< float > & m_pt
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
@ Hole
A hole on the track - this is defined in the following way.
Class to represent RPC measurements.
VectorBranch< int > & m_trk_nOutliersHits
Eigen::Affine3d Transform3D
ThreeVectorBranch m_trkHit_gPos
virtual const Amg::Vector3D & globalPosition() const
Returns the global position of the CENTER of the drift tube (i.e.
VectorBranch< float > & m_trkHit_driftRadius
double localAngle() const
Returns the local angle, as determined by the extrapolation used when creating this Trk::RIO_OnTrack.
ThreeVectorBranch m_trkTriggerHit_gPos
ScalarBranch< int > & m_eventNumber
Detailed track summary for the muon system Give access to hit counts per chamber.
GraphMap_t m_graphMap
The map of TGraph names to their pointers.
Class to represent and store fit qualities from track reconstruction in terms of and number of degre...
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
double positionAlongWire() const
Returns the position along the wire, as determined by the extrapolation used when creating this Trk::...
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::string m_streamName
Name of the ROOT output stream (file)
double driftRadius() const
Returns the value of the drift radius.
StatusCode configAthHistogramming(const ServiceHandle< ITHistSvc > &histSvc, const std::string &prefix, const std::string &rootDir, const std::string &histNamePrefix, const std::string &histNamePostfix, const std::string &histTitlePrefix, const std::string &histTitlePostfix)
To be called by the derived classes to fill the internal configuration.
uint32_t hash_t
typedef for the internal hash
uint64_t crc64(const CRCTable &table, const char *data, size_t data_len)
Find the CRC-64 of a string,.
std::string m_histTitlePostfix
The postfix for the histogram THx title.
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
void push_back(const T &value)
Adds a new element at the end of the vector.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
virtual const RpcPrepData * prepRawData() const override final
Returns the RpcPrepData - is a TRT_DriftCircle in this scope.
Identifier identify() const
return the identifier
VectorBranch< float > & m_trk_theta
const Perigee * perigeeParameters() const
return Perigee.
ServiceHandle< Muon::IMuonIdHelperSvc > m_MuonIdHelper
VectorBranch< unsigned int > & m_rawMdt_id
VectorBranch< float > & m_trk_chi2
SG::ReadHandleKey< TrackCollection > m_TrkKey
int tdc() const
Returns the TDC (typically range is 0 to 2500).
represents the track state (measurement, material, fit parameters and quality) at a surface.
VectorBranch< int > & m_trk_nRpcPhiHits
VectorBranch< float > & m_trkTriggerHit_time
A summary of the information contained by a track.
SG::ReadHandleKey< xAOD::EventInfo > m_evtKey
VectorBranch< int > & m_trkHit_adc
This class represents the corrected MDT measurements, where the corrections include the effects of wi...
hash_t hash(const std::string &histName) const
Method to calculate a 32-bit hash from a string.
VectorBranch< int > & m_trk_nMdtHoles
StatusCode initialize(bool used=true)
def getHist(name, makehist)
VectorBranch< int > & m_trk_author
Class to represent measurements from the Monitored Drift Tubes.
const std::vector< const MuonClusterOnTrack * > & containedROTs() const
returns the vector of SCT_ClusterOnTrack objects .
Eigen::Matrix< double, 3, 1 > Vector3D
SG::ReadHandleKey< Muon::RpcPrepDataContainer > m_RpcPrepDataKey
ScalarBranch< int > & m_bcId
ScalarBranch< int > & m_runNumber
VectorBranch< float > & m_trk_d0
std::uint64_t hash64(const void *data, std::size_t size)
Passthrough to XXH3_64bits.
AthHistogramming(const std::string &name)
Constructor with parameters:
const Amg::Vector3D & momentum() const
Access method for the momentum.
DataObjIDColl m_extendedExtraObjects
PublicToolHandle< Muon::MuonEDMPrinterTool > m_printer
VectorBranch< unsigned int > & m_trkHole_id
@ Biased
RP with track state including the hit.
VectorBranch< int > & m_trk_ndof
Amg::Vector3D tubePos(const Identifier &id) const
Returns the global position of the given tube.
EffMap_t m_effMap
The map of histogram names to their pointers.
VectorBranch< float > & m_trkHit_propTime
ScalarBranch< int > & m_trkHole_nHoles
ToolHandle< IMdtCalibrationTool > m_calibrationTool
pointer to MdtCalibSvc
std::string m_histTitlePrefix
The prefix for the histogram THx title.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
#define ATH_MSG_WARNING(x)
VectorBranch< float > & m_trk_pt
const Trk::TrackSummary * trackSummary() const
Returns a pointer to the const Trk::TrackSummary owned by this const track (could be nullptr)
VectorBranch< float > & m_trkHit_triggerTime
std::string m_histNamePostfix
The postfix for the histogram THx name.
VectorBranch< float > & m_trkHit_tof
Identifier identify() const
return the identifier -extends MeasurementBase
TreeMap_t m_treeMap
The map of TTree names to their pointers.
std::string m_histNamePrefix
The prefix for the histogram THx name.
Class to represent TGC measurements.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
bool fill(const EventContext &ctx)
Fills the tree per call.
StatusCode write()
Finally write the TTree objects.
std::string m_histTitlePostfix
The postfix for the histogram THx title.
TH1 * hist(const std::string &histName, const std::string &tDir="", const std::string &stream="")
Simplify the retrieval of registered histograms of any type.
double chiSquared() const
returns the of the overall track fit
ServiceHandle< ITHistSvc > m_histSvc
Pointer to the THistSvc (event store by default)
ThreeVectorBranch m_trkHit_closestApproach
AthAlgorithm()
Default constructor:
VectorBranch< int > & m_trkHit_tdc
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global position.
size_t size() const
Returns the number of actual saved elements.
int numberDoF() const
returns the number of degrees of freedom of the overall track or vertex fit as integer
VectorBranch< int > & m_trkHole_trackIndex
VectorBranch< float > & m_trk_phi
ToolHandle< MuonCalib::IIdToFixedIdTool > m_idToFixedIdTool
int get(const SummaryType &type) const
returns the summary information for the passed SummaryType.
VectorBranch< int > & m_trk_nTgcEtaHits
VectorBranch< float > & m_trkHit_bkgTime
const MuonTrackSummary * muonTrackSummary() const
returns a pointer to the MuonTrackSummary if available
VectorBranch< unsigned int > & m_trkTriggerHit_id
VectorBranch< float > & m_trk_eta
std::string m_name
Instance name.
ScalarBranch< int > & m_rawMdt_nRMdt
VectorBranch< int > & m_rawMdt_adc
VectorBranch< float > & m_trkHit_pull
std::string m_rootDir
Name of the ROOT directory.
VectorBranch< float > & m_trkHit_error
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
ScalarBranch< int > & m_timeStamp
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
VectorBranch< float > & m_trkHit_driftTime
VectorBranch< int > & m_trkTriggerHit_type
@ numberOfMdtHits
number of mdt hits
ThreeVectorBranch m_trkHit_center
void buildBookingString(std::string &bookingString, std::string &histName, std::string &tDir, std::string &stream, bool usePrefixPostfix=false)
Method to build individual booking string.
TH1 * bookGetPointer(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.