|
ATLAS Offline Software
|
#include <NSWPRDValAlg.h>
|
| NSWPRDValAlg (const std::string &name, ISvcLocator *pSvcLocator) |
|
StatusCode | initialize () override |
|
StatusCode | finalize () override |
|
StatusCode | execute () override |
|
unsigned int | cardinality () const override final |
|
StatusCode | NSWMatchingAlg () |
|
StatusCode | NSWMatchingAlg (EDM_object data0, EDM_object data1) |
|
StatusCode | setDataAdress (EDM_object &oData, const TString &branch_name) |
|
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...
|
|
|
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...
|
|
|
MuonVal::MuonTesterTree | m_tree {"NSWValTree", "NSWPRDValAlg"} |
|
ServiceHandle< MuonTGC_CablingSvc > | m_tgcCabling {this, "TGCCablingSvc", "MuonTGC_CablingSvc"} |
|
ServiceHandle< Muon::IMuonIdHelperSvc > | m_idHelperSvc {this, "MuonIdHelperSvc", "Muon::MuonIdHelperSvc/MuonIdHelperSvc"} |
|
PublicToolHandle< Muon::ICSC_RDO_Decoder > | m_csc_decoder {this, "CscRDODecoder", "Muon::CscRDO_Decoder/CSC_RDODecoder"} |
|
Gaudi::Property< bool > | m_isData {this, "isData", false} |
|
Gaudi::Property< bool > | m_doTruth {this, "doTruth", false} |
|
Gaudi::Property< bool > | m_doMuEntry {this, "doMuEntry", false} |
|
Gaudi::Property< bool > | m_doSTGCHit {this, "doSTGCHit", false} |
|
Gaudi::Property< bool > | m_doSTGCFastDigit {this, "doSTGCFastDigit", false} |
|
Gaudi::Property< bool > | m_doSTGCDigit {this, "doSTGCDigit", false} |
|
Gaudi::Property< bool > | m_doSTGCRDO {this, "doSTGCRDO", false} |
|
Gaudi::Property< bool > | m_doSTGCPRD {this, "doSTGCPRD", false} |
|
Gaudi::Property< bool > | m_doMMHit {this, "doMMHit", false} |
|
Gaudi::Property< bool > | m_doMMFastDigit {this, "doMMFastDigit", false} |
|
Gaudi::Property< bool > | m_doMMDigit {this, "doMMDigit", false} |
|
Gaudi::Property< bool > | m_doMMRDO {this, "doMMRDO", false} |
|
Gaudi::Property< bool > | m_doMMPRD {this, "doMMPRD", false} |
|
Gaudi::Property< bool > | m_doCSCHit {this, "doCSCHit", false} |
|
Gaudi::Property< bool > | m_doCSCSDO {this, "doCSCSDO", false} |
|
Gaudi::Property< bool > | m_doCSCDigit {this, "doCSCDigit", false} |
|
Gaudi::Property< bool > | m_doCSCRDO {this, "doCSCRDO", false} |
|
Gaudi::Property< bool > | m_doCSCPRD {this, "doCSCPRD", false} |
|
Gaudi::Property< bool > | m_doMDTHit {this, "doMDTHit", false} |
|
Gaudi::Property< bool > | m_doMDTSDO {this, "doMDTSDO", false} |
|
Gaudi::Property< bool > | m_doMDTDigit {this, "doMDTDigit", false} |
|
Gaudi::Property< bool > | m_doRPCHit {this, "doRPCHit", false} |
|
Gaudi::Property< bool > | m_doRPCSDO {this, "doRPCSDO", false} |
|
Gaudi::Property< bool > | m_doRPCDigit {this, "doRPCDigit", false} |
|
Gaudi::Property< bool > | m_doTGCHit {this, "doTGCHit", false} |
|
Gaudi::Property< bool > | m_doTGCSDO {this, "doTGCSDO", false} |
|
Gaudi::Property< bool > | m_doTGCDigit {this, "doTGCDigit", false} |
|
Gaudi::Property< bool > | m_doTGCRDO {this, "doTGCRDO", false} |
|
Gaudi::Property< bool > | m_doTGCPRD {this, "doTGCPRD", false} |
|
Gaudi::Property< bool > | m_doMMSDO {this, "doMMSDO", false} |
|
Gaudi::Property< bool > | m_doSTGCSDO {this, "doSTGCSDO", false} |
|
Gaudi::Property< std::string > | m_Truth_ContainerName {this, "Truth_ContainerName", "TruthEvent"} |
|
Gaudi::Property< std::string > | m_MuEntry_ContainerName {this, "MuonEntryLayer_ContainerName", "MuonEntryLayer"} |
|
Gaudi::Property< std::string > | m_NSWsTGC_ContainerName {this, "NSWsTGC_ContainerName", "sTGC_Hits"} |
|
Gaudi::Property< std::string > | m_NSWsTGC_SDOContainerName {this, "NSWsTGC_SDOContainerName", "sTGC_SDO"} |
|
Gaudi::Property< std::string > | m_NSWsTGC_DigitContainerName {this, "NSWsTGC_DigitContainerName", "sTGC_DIGITS"} |
|
Gaudi::Property< std::string > | m_NSWsTGC_RDOContainerName {this, "NSWsTGC_RDOContainerName", "sTGCRDO"} |
|
Gaudi::Property< std::string > | m_NSWsTGC_PRDContainerName {this, "NSWsTGC_PRDContainerName", "STGC_Measurements"} |
|
Gaudi::Property< std::string > | m_NSWMM_ContainerName {this, "NSWMM_ContainerName", "MM_Hits"} |
|
Gaudi::Property< std::string > | m_NSWMM_SDOContainerName {this, "NSWMM_SDOContainerName", "MM_SDO"} |
|
Gaudi::Property< std::string > | m_NSWMM_DigitContainerName {this, "NSWMM_DigitContainerName", "MM_DIGITS"} |
|
Gaudi::Property< std::string > | m_NSWMM_RDOContainerName {this, "NSWMM_RDOContainerName", "MMRDO"} |
|
Gaudi::Property< std::string > | m_NSWMM_PRDContainerName {this, "NSWMM_PRDContainerName", "MM_Measurements"} |
|
Gaudi::Property< std::string > | m_CSC_SimContainerName {this, "CSC_SimContainerName", "CSC_Hits"} |
|
Gaudi::Property< std::string > | m_CSC_SDOContainerName {this, "CSC_SDOContainerName", "CSC_SDO"} |
|
Gaudi::Property< std::string > | m_CSC_DigitContainerName {this, "CSC_DigitContainerName", "CSC_DIGITS"} |
|
Gaudi::Property< std::string > | m_CSC_RDOContainerName {this, "CSC_RDOContainerName", "CSCRDO"} |
|
Gaudi::Property< std::string > | m_CSC_PRDContainerName {this, "CSC_PRDContainerName", "CSC_Clusters"} |
|
Gaudi::Property< std::string > | m_MDT_SimContainerName {this, "MDT_SimContainerName", "MDT_Hits"} |
|
Gaudi::Property< std::string > | m_MDT_SDOContainerName {this, "MDT_SDOContainerName", "MDT_SDO"} |
|
Gaudi::Property< std::string > | m_MDT_DigitContainerName {this, "MDT_DigitContainerName", "MDT_DIGITS"} |
|
Gaudi::Property< std::string > | m_RPC_SimContainerName {this, "RPC_SimContainerName", "RPC_Hits"} |
|
Gaudi::Property< std::string > | m_RPC_SDOContainerName {this, "RPC_SDOContainerName", "RPC_SDO"} |
|
Gaudi::Property< std::string > | m_RPC_DigitContainerName {this, "RPC_DigitContainerName", "RPC_DIGITS"} |
|
Gaudi::Property< std::string > | m_TGC_SimContainerName {this, "TGC_SimContainerName", "TGC_Hits"} |
|
Gaudi::Property< std::string > | m_TGC_SDOContainerName {this, "TGC_SDOContainerName", "TGC_SDO"} |
|
Gaudi::Property< std::string > | m_TGC_DigitContainerName {this, "TGC_DigitContainerName", "TGC_DIGITS"} |
|
Gaudi::Property< std::string > | m_TGC_RDOContainerName {this, "TGC_RDOContainerName", "TGCRDO"} |
|
Gaudi::Property< std::string > | m_TGC_PRDContainerName {this, "TGC_PRDContainerName", "TGC_Measurements"} |
|
Gaudi::Property< bool > | m_doNSWMatching {this, "doNSWMatchingAlg", false} |
|
Gaudi::Property< bool > | m_doNSWMatchingMuon {this, "doNSWMatchingMuonOnly", false} |
|
Gaudi::Property< uint > | m_maxStripDiff {this, "setMaxStripDistance", 3} |
|
Gaudi::Property< bool > | m_noMatchWarning {this, "suppressNoMatchWarning", false} |
|
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 16 of file NSWPRDValAlg.h.
◆ EffMap_t
◆ GraphMap_t
◆ hash_t
◆ HistMap_t
◆ StoreGateSvc_t
◆ TreeMap_t
◆ NSWPRDValAlg()
NSWPRDValAlg::NSWPRDValAlg |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ 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 NSWPRDValAlg::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 NSWPRDValAlg::execute |
( |
| ) |
|
|
override |
Definition at line 99 of file NSWPRDValAlg.cxx.
101 const EventContext& ctx = Gaudi::Hive::currentContext();
103 if (!
m_tree.
fill(ctx))
return StatusCode::FAILURE;
105 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 NSWPRDValAlg::finalize |
( |
| ) |
|
|
override |
◆ 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 NSWPRDValAlg::initialize |
( |
| ) |
|
|
override |
Definition at line 23 of file NSWPRDValAlg.cxx.
25 unsigned int ev_infomask{EventInfoBranch::writePileUp};
89 return StatusCode::SUCCESS;
◆ 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();
◆ NSWMatchingAlg() [1/2]
StatusCode NSWPRDValAlg::NSWMatchingAlg |
( |
| ) |
|
Definition at line 117 of file NSWPRDValAlg.cxx.
121 EDM_object Hits_sTGC, Digits_sTGC, SDO_sTGC, RDO_sTGC, PRD_sTGC;
122 EDM_object Hits_MM, Digits_MM, SDO_MM, RDO_MM, PRD_MM;
124 Hits_sTGC.
setName(
"Hits",
"sTGC");
125 Digits_sTGC.
setName(
"Digits",
"sTGC");
126 SDO_sTGC.
setName(
"SDO",
"sTGC");
127 RDO_sTGC.
setName(
"RDO",
"sTGC");
128 PRD_sTGC.
setName(
"PRD",
"sTGC");
131 Digits_MM.
setName(
"Digits",
"MM");
138 TObjArray* brlst =
m_tree->GetListOfBranches();
140 branch_name =
branch->GetName();
159 efficiencies <<
"NSW Matching algorithm, efficiencies of conversion from and to various EDM objects" << std::endl;
200 return StatusCode::SUCCESS;
◆ NSWMatchingAlg() [2/2]
Definition at line 204 of file NSWPRDValAlg.cxx.
207 <<
" data. This is not implemented in this algorithm");
215 std::vector<int>* TruthParticle_Pdg;
217 TruthParticle_Pdg =
nullptr;
218 m_tree->SetBranchAddress(
"TruthParticle_Pdg", &TruthParticle_Pdg);
222 for (Long64_t i_entry = 0; i_entry <
nEntries; ++i_entry) {
225 m_tree->GetEntry(i_entry);
243 for (
int pdg : *TruthParticle_Pdg) { allMu &= (abs(pdg) == mu_pdg); }
245 ATH_MSG_VERBOSE(
"Skipping event, because doNSWMatchingMuonOnly is true and there non muon particles");
252 data1.init_matching();
257 for (
uint j = 0; j <
data1.size(); ++j) {
267 static std::once_flag
flag;
268 std::call_once(
flag, [&]() {
269 ATH_MSG_WARNING(
"No match found! Will now disable this kind of WARNING but please be "
270 "aware that you are running with suppressNoMatchWarning set to true!");
294 efficiencies.open(
"NSWMatchingAlg_efficiencies.txt", std::ofstream::app);
299 return StatusCode::SUCCESS;
◆ 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()
◆ setDataAdress()
StatusCode NSWPRDValAlg::setDataAdress |
( |
EDM_object & |
oData, |
|
|
const TString & |
branch_name |
|
) |
| |
Definition at line 305 of file NSWPRDValAlg.cxx.
306 bool setBranch =
false;
307 if (!(branch_name.Contains(oData.
getName()) && branch_name.Contains(oData.
getDetector()))) {
return StatusCode::SUCCESS; }
309 if (branch_name.Contains(
"_sim_")) {
return StatusCode::SUCCESS; }
310 if (branch_name.EndsWith(
"stationName")) {
314 if (branch_name.EndsWith(
"stationEta")) {
318 if (branch_name.EndsWith(
"stationPhi")) {
322 if (branch_name.EndsWith(
"multiplet")) {
326 if (branch_name.EndsWith(
"gas_gap")) {
330 if (branch_name.EndsWith(
"channel") && !branch_name.Contains(
"rdos")) {
334 if (branch_name.EndsWith(
"channel_type")) {
338 if (setBranch) {
ATH_MSG_DEBUG(
"Set data adress of branch " << branch_name); }
340 return StatusCode::SUCCESS;
◆ 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_csc_decoder
◆ m_CSC_DigitContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_CSC_DigitContainerName {this, "CSC_DigitContainerName", "CSC_DIGITS"} |
|
private |
◆ m_CSC_PRDContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_CSC_PRDContainerName {this, "CSC_PRDContainerName", "CSC_Clusters"} |
|
private |
◆ m_CSC_RDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_CSC_RDOContainerName {this, "CSC_RDOContainerName", "CSCRDO"} |
|
private |
◆ m_CSC_SDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_CSC_SDOContainerName {this, "CSC_SDOContainerName", "CSC_SDO"} |
|
private |
◆ m_CSC_SimContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_CSC_SimContainerName {this, "CSC_SimContainerName", "CSC_Hits"} |
|
private |
◆ m_detStore
◆ m_doCSCDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doCSCDigit {this, "doCSCDigit", false} |
|
private |
◆ m_doCSCHit
Gaudi::Property<bool> NSWPRDValAlg::m_doCSCHit {this, "doCSCHit", false} |
|
private |
◆ m_doCSCPRD
Gaudi::Property<bool> NSWPRDValAlg::m_doCSCPRD {this, "doCSCPRD", false} |
|
private |
◆ m_doCSCRDO
Gaudi::Property<bool> NSWPRDValAlg::m_doCSCRDO {this, "doCSCRDO", false} |
|
private |
◆ m_doCSCSDO
Gaudi::Property<bool> NSWPRDValAlg::m_doCSCSDO {this, "doCSCSDO", false} |
|
private |
◆ m_doMDTDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doMDTDigit {this, "doMDTDigit", false} |
|
private |
◆ m_doMDTHit
Gaudi::Property<bool> NSWPRDValAlg::m_doMDTHit {this, "doMDTHit", false} |
|
private |
◆ m_doMDTSDO
Gaudi::Property<bool> NSWPRDValAlg::m_doMDTSDO {this, "doMDTSDO", false} |
|
private |
◆ m_doMMDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doMMDigit {this, "doMMDigit", false} |
|
private |
◆ m_doMMFastDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doMMFastDigit {this, "doMMFastDigit", false} |
|
private |
◆ m_doMMHit
Gaudi::Property<bool> NSWPRDValAlg::m_doMMHit {this, "doMMHit", false} |
|
private |
◆ m_doMMPRD
Gaudi::Property<bool> NSWPRDValAlg::m_doMMPRD {this, "doMMPRD", false} |
|
private |
◆ m_doMMRDO
Gaudi::Property<bool> NSWPRDValAlg::m_doMMRDO {this, "doMMRDO", false} |
|
private |
◆ m_doMMSDO
Gaudi::Property<bool> NSWPRDValAlg::m_doMMSDO {this, "doMMSDO", false} |
|
private |
◆ m_doMuEntry
Gaudi::Property<bool> NSWPRDValAlg::m_doMuEntry {this, "doMuEntry", false} |
|
private |
◆ m_doNSWMatching
Gaudi::Property<bool> NSWPRDValAlg::m_doNSWMatching {this, "doNSWMatchingAlg", false} |
|
private |
◆ m_doNSWMatchingMuon
Gaudi::Property<bool> NSWPRDValAlg::m_doNSWMatchingMuon {this, "doNSWMatchingMuonOnly", false} |
|
private |
◆ m_doRPCDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doRPCDigit {this, "doRPCDigit", false} |
|
private |
◆ m_doRPCHit
Gaudi::Property<bool> NSWPRDValAlg::m_doRPCHit {this, "doRPCHit", false} |
|
private |
◆ m_doRPCSDO
Gaudi::Property<bool> NSWPRDValAlg::m_doRPCSDO {this, "doRPCSDO", false} |
|
private |
◆ m_doSTGCDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doSTGCDigit {this, "doSTGCDigit", false} |
|
private |
◆ m_doSTGCFastDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doSTGCFastDigit {this, "doSTGCFastDigit", false} |
|
private |
◆ m_doSTGCHit
Gaudi::Property<bool> NSWPRDValAlg::m_doSTGCHit {this, "doSTGCHit", false} |
|
private |
◆ m_doSTGCPRD
Gaudi::Property<bool> NSWPRDValAlg::m_doSTGCPRD {this, "doSTGCPRD", false} |
|
private |
◆ m_doSTGCRDO
Gaudi::Property<bool> NSWPRDValAlg::m_doSTGCRDO {this, "doSTGCRDO", false} |
|
private |
◆ m_doSTGCSDO
Gaudi::Property<bool> NSWPRDValAlg::m_doSTGCSDO {this, "doSTGCSDO", false} |
|
private |
◆ m_doTGCDigit
Gaudi::Property<bool> NSWPRDValAlg::m_doTGCDigit {this, "doTGCDigit", false} |
|
private |
◆ m_doTGCHit
Gaudi::Property<bool> NSWPRDValAlg::m_doTGCHit {this, "doTGCHit", false} |
|
private |
◆ m_doTGCPRD
Gaudi::Property<bool> NSWPRDValAlg::m_doTGCPRD {this, "doTGCPRD", false} |
|
private |
◆ m_doTGCRDO
Gaudi::Property<bool> NSWPRDValAlg::m_doTGCRDO {this, "doTGCRDO", false} |
|
private |
◆ m_doTGCSDO
Gaudi::Property<bool> NSWPRDValAlg::m_doTGCSDO {this, "doTGCSDO", false} |
|
private |
◆ m_doTruth
Gaudi::Property<bool> NSWPRDValAlg::m_doTruth {this, "doTruth", false} |
|
private |
◆ m_effMap
◆ 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_idHelperSvc
◆ m_isData
Gaudi::Property<bool> NSWPRDValAlg::m_isData {this, "isData", false} |
|
private |
◆ m_maxStripDiff
Gaudi::Property<uint> NSWPRDValAlg::m_maxStripDiff {this, "setMaxStripDistance", 3} |
|
private |
◆ m_MDT_DigitContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_MDT_DigitContainerName {this, "MDT_DigitContainerName", "MDT_DIGITS"} |
|
private |
◆ m_MDT_SDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_MDT_SDOContainerName {this, "MDT_SDOContainerName", "MDT_SDO"} |
|
private |
◆ m_MDT_SimContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_MDT_SimContainerName {this, "MDT_SimContainerName", "MDT_Hits"} |
|
private |
◆ m_msg
MsgStream AthHistogramming::m_msg |
|
privateinherited |
◆ m_MuEntry_ContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_MuEntry_ContainerName {this, "MuonEntryLayer_ContainerName", "MuonEntryLayer"} |
|
private |
◆ m_name
std::string AthHistogramming::m_name |
|
privateinherited |
◆ m_noMatchWarning
Gaudi::Property<bool> NSWPRDValAlg::m_noMatchWarning {this, "suppressNoMatchWarning", false} |
|
private |
◆ m_NSWMM_ContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWMM_ContainerName {this, "NSWMM_ContainerName", "MM_Hits"} |
|
private |
◆ m_NSWMM_DigitContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWMM_DigitContainerName {this, "NSWMM_DigitContainerName", "MM_DIGITS"} |
|
private |
◆ m_NSWMM_PRDContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWMM_PRDContainerName {this, "NSWMM_PRDContainerName", "MM_Measurements"} |
|
private |
◆ m_NSWMM_RDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWMM_RDOContainerName {this, "NSWMM_RDOContainerName", "MMRDO"} |
|
private |
◆ m_NSWMM_SDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWMM_SDOContainerName {this, "NSWMM_SDOContainerName", "MM_SDO"} |
|
private |
◆ m_NSWsTGC_ContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWsTGC_ContainerName {this, "NSWsTGC_ContainerName", "sTGC_Hits"} |
|
private |
◆ m_NSWsTGC_DigitContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWsTGC_DigitContainerName {this, "NSWsTGC_DigitContainerName", "sTGC_DIGITS"} |
|
private |
◆ m_NSWsTGC_PRDContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWsTGC_PRDContainerName {this, "NSWsTGC_PRDContainerName", "STGC_Measurements"} |
|
private |
◆ m_NSWsTGC_RDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWsTGC_RDOContainerName {this, "NSWsTGC_RDOContainerName", "sTGCRDO"} |
|
private |
◆ m_NSWsTGC_SDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_NSWsTGC_SDOContainerName {this, "NSWsTGC_SDOContainerName", "sTGC_SDO"} |
|
private |
◆ m_prefix
std::string AthHistogramAlgorithm::m_prefix |
|
privateinherited |
◆ m_rootDir
std::string AthHistogramAlgorithm::m_rootDir |
|
privateinherited |
◆ m_RPC_DigitContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_RPC_DigitContainerName {this, "RPC_DigitContainerName", "RPC_DIGITS"} |
|
private |
◆ m_RPC_SDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_RPC_SDOContainerName {this, "RPC_SDOContainerName", "RPC_SDO"} |
|
private |
◆ m_RPC_SimContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_RPC_SimContainerName {this, "RPC_SimContainerName", "RPC_Hits"} |
|
private |
◆ m_streamName
std::string AthHistogramming::m_streamName |
|
privateinherited |
◆ m_TGC_DigitContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_TGC_DigitContainerName {this, "TGC_DigitContainerName", "TGC_DIGITS"} |
|
private |
◆ m_TGC_PRDContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_TGC_PRDContainerName {this, "TGC_PRDContainerName", "TGC_Measurements"} |
|
private |
◆ m_TGC_RDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_TGC_RDOContainerName {this, "TGC_RDOContainerName", "TGCRDO"} |
|
private |
◆ m_TGC_SDOContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_TGC_SDOContainerName {this, "TGC_SDOContainerName", "TGC_SDO"} |
|
private |
◆ m_TGC_SimContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_TGC_SimContainerName {this, "TGC_SimContainerName", "TGC_Hits"} |
|
private |
◆ m_tgcCabling
◆ m_tree
◆ m_treeMap
◆ m_Truth_ContainerName
Gaudi::Property<std::string> NSWPRDValAlg::m_Truth_ContainerName {this, "Truth_ContainerName", "TruthEvent"} |
|
private |
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
Gaudi::Property< bool > m_doMMRDO
std::string m_rootDir
Name of the ROOT directory.
def retrieve(aClass, aKey=None)
Gaudi::Property< uint > m_maxStripDiff
bool identifierMatch(EDM_object &data0, EDM_object &data1, uint i, uint j)
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
Gaudi::Property< bool > m_doMDTDigit
list efficiencies
translate the station name indices into the string staiton name
Gaudi::Property< bool > m_doCSCHit
Gaudi::Property< std::string > m_NSWsTGC_PRDContainerName
Gaudi::Property< bool > m_doCSCRDO
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.
Gaudi::Property< std::string > m_NSWMM_ContainerName
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
HistMap_t m_histMap
The map of histogram names to their pointers.
std::vector< std::string > * m_stationName
Gaudi::Property< bool > m_doTGCPRD
Gaudi::Property< std::string > m_CSC_DigitContainerName
ServiceHandle< ITHistSvc > m_histSvc
Default constructor: AthHistogramAlgorithm();.
StatusCode init(OWNER *instance)
Initialize method.
Gaudi::Property< std::string > m_TGC_SDOContainerName
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Gaudi::Property< std::string > m_TGC_SimContainerName
Gaudi::Property< bool > m_doMMHit
Gaudi::Property< bool > m_doNSWMatchingMuon
void setMatchedwith(TString matchedwith)
StatusCode setDataAdress(EDM_object &oData, const TString &branch_name)
Gaudi::Property< bool > m_doMMSDO
Gaudi::Property< std::string > m_NSWsTGC_DigitContainerName
void setName(TString name)
std::string m_prefix
Name of the ROOT output stream (file)
Gaudi::Property< bool > m_doMDTSDO
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
std::string m_histNamePrefix
The prefix for the histogram THx name.
Gaudi::Property< bool > m_doCSCDigit
std::vector< int > * m_stationPhi
std::string m_histTitlePrefix
The prefix for the histogram THx title.
std::vector< int > * m_channel
Gaudi::Property< std::string > m_CSC_SDOContainerName
void update_efficiency(int maximum_difference)
#define ATH_MSG_VERBOSE(x)
Gaudi::Property< std::string > m_RPC_SDOContainerName
Gaudi::Property< bool > m_doSTGCPRD
Gaudi::Property< bool > m_doSTGCHit
std::string m_histNamePostfix
The postfix for the histogram THx name.
Gaudi::Property< std::string > m_NSWsTGC_RDOContainerName
Gaudi::Property< bool > m_doTruth
std::string getTree(const std::string &file_name)
Gaudi::Property< bool > m_doRPCSDO
Gaudi::Property< std::string > m_MDT_SDOContainerName
MuonVal::MuonTesterTree m_tree
Gaudi::Property< std::string > m_MuEntry_ContainerName
Gaudi::Property< bool > m_doMMPRD
Gaudi::Property< std::string > m_TGC_DigitContainerName
Gaudi::Property< std::string > m_NSWsTGC_ContainerName
virtual void setOwner(IDataHandleHolder *o)=0
std::vector< int > * m_gas_gap
std::vector< int > * m_channel_type
Gaudi::Property< bool > m_doMMFastDigit
Gaudi::Property< std::string > m_RPC_DigitContainerName
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Gaudi::Property< bool > m_doMuEntry
virtual StatusCode sysInitialize() override
Override sysInitialize.
Gaudi::Property< std::string > m_CSC_SimContainerName
Gaudi::Property< bool > m_doTGCRDO
StatusCode NSWMatchingAlg()
Gaudi::Property< std::string > m_RPC_SimContainerName
GraphMap_t m_graphMap
The map of TGraph names to their pointers.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
std::string m_streamName
Name of the ROOT output stream (file)
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.
Gaudi::Property< std::string > m_MDT_SimContainerName
uint32_t hash_t
typedef for the internal hash
Gaudi::Property< bool > m_doCSCPRD
uint64_t crc64(const CRCTable &table, const char *data, size_t data_len)
Find the CRC-64 of a string,.
Gaudi::Property< bool > m_doTGCDigit
std::string m_histTitlePostfix
The postfix for the histogram THx title.
Gaudi::Property< bool > m_doTGCSDO
Gaudi::Property< bool > m_doNSWMatching
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ServiceHandle< MuonTGC_CablingSvc > m_tgcCabling
bool update_match(int index, int ch_candidate)
Gaudi::Property< std::string > m_NSWMM_PRDContainerName
Gaudi::Property< std::string > m_CSC_PRDContainerName
Gaudi::Property< bool > m_doSTGCDigit
hash_t hash(const std::string &histName) const
Method to calculate a 32-bit hash from a string.
Gaudi::Property< bool > m_doSTGCRDO
Gaudi::Property< bool > m_isData
def getHist(name, makehist)
std::uint64_t hash64(const void *data, std::size_t size)
Passthrough to XXH3_64bits.
Gaudi::Property< std::string > m_Truth_ContainerName
Gaudi::Property< std::string > m_NSWMM_SDOContainerName
DataObjIDColl m_extendedExtraObjects
Gaudi::Property< bool > m_doRPCDigit
void printEfficiency(std::ofstream &file)
EffMap_t m_effMap
The map of histogram names to their pointers.
Gaudi::Property< bool > m_doCSCSDO
std::string m_histTitlePrefix
The prefix for the histogram THx title.
#define ATH_MSG_WARNING(x)
Gaudi::Property< std::string > m_TGC_RDOContainerName
Gaudi::Property< bool > m_doSTGCFastDigit
std::string m_histNamePostfix
The postfix for the histogram THx name.
TreeMap_t m_treeMap
The map of TTree names to their pointers.
std::string m_histNamePrefix
The prefix for the histogram THx name.
Gaudi::Property< std::string > m_NSWMM_RDOContainerName
std::vector< int > * m_multiplet
Gaudi::Property< bool > m_doTGCHit
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
bool fill(const EventContext &ctx)
Fills the tree per call.
Gaudi::Property< bool > m_doSTGCSDO
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.
Gaudi::Property< bool > m_doMDTHit
ServiceHandle< ITHistSvc > m_histSvc
Pointer to the THistSvc (event store by default)
Gaudi::Property< std::string > m_NSWMM_DigitContainerName
Gaudi::Property< std::string > m_TGC_PRDContainerName
PublicToolHandle< Muon::ICSC_RDO_Decoder > m_csc_decoder
std::string m_name
Instance name.
std::string m_rootDir
Name of the ROOT directory.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Gaudi::Property< std::string > m_CSC_RDOContainerName
Gaudi::Property< bool > m_doMMDigit
Gaudi::Property< std::string > m_NSWsTGC_SDOContainerName
std::vector< int > * m_stationEta
bool addBranch(std::shared_ptr< IMuonTesterBranch > branch)
Branch is added to the tree without transferring the ownership.
void buildBookingString(std::string &bookingString, std::string &histName, std::string &tDir, std::string &stream, bool usePrefixPostfix=false)
Method to build individual booking string.
Gaudi::Property< bool > m_doRPCHit
Gaudi::Property< std::string > m_MDT_DigitContainerName
TH1 * bookGetPointer(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
Gaudi::Property< bool > m_noMatchWarning