![]() |
ATLAS Offline Software
|
#include <ConfigurableAlg.h>
Classes | |
| class | ConfigurableAlgImpl |
| The implementation class. More... | |
Public Member Functions | |
| ConfigurableAlg (const std::string &name, AlgType algType) | |
| virtual | ~ConfigurableAlg () |
| void | setClassName (const std::string &className) |
| void | setLegacyMode (bool isLegacyTopo) |
| const std::string & | name () const |
| const std::string & | className () const |
| std::string | fullname () const |
| unsigned int | algoId () const |
| virtual StatusCode | initialize () |
| StatusCode | reset () |
| bool | isSortingAlg () const |
| bool | isDecisionAlg () const |
| bool | isCountingAlg () const |
| bool | isLegacyTopo () const |
| unsigned int | calcDeltaPhiBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcDeltaEtaBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcInvMassBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcTMassBW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcDeltaR2BW (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned long | quadraticSumBW (int i1, int i2) |
| unsigned int | calcDeltaPhi (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcDeltaEta (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcInvMass (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcTMass (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| unsigned int | calcDeltaR2 (const TCS::GenericTOB *tob1, const TCS::GenericTOB *tob2) |
| const Parameter & | parameter (const std::string ¶meterName) const |
| const Parameter & | parameter (const std::string ¶meterName, unsigned int selection) const |
| const ParameterSpace & | parameters () const |
| void | setParameters (const ParameterSpace &) |
| void | setAlgoId (unsigned int algoId) |
| void | setL1TopoHistSvc (std::shared_ptr< IL1TopoHistSvc >) |
| sets the external hist service | |
| void | bookHistMult (std::vector< std::string > ®Name, const std::string &name, const std::string &title, const std::string &xtitle, const int binx, const int xmin, const int xmax) |
| void | bookHist (std::vector< std::string > ®Name, const std::string &name, const std::string &title, const int binx, const int xmin, const int xmax) |
| void | bookHistMult (std::vector< std::string > ®Name, const std::string &name, const std::string &title, const std::string &xtitle, const std::string &ytitle, const int binx, const int xmin, const int xmax, const int biny, const int ymin, const int ymax) |
| void | bookHist (std::vector< std::string > ®Name, const std::string &name, const std::string &title, const int binx, const int xmin, const int xmax, const int biny, const int ymin, const int ymax) |
| bool | msgLvl (const MSGTC::Level lvl) const |
| Test the output level. | |
| MsgStreamTC & | msg () const |
| The standard message stream. | |
| MsgStreamTC & | msg (const MSGTC::Level lvl) const |
| The standard message stream. | |
| const std::string & | getName () const |
| name accessor | |
Protected Types | |
| enum | AlgType { NONE , SORT , DECISION , COUNT } |
Protected Member Functions | |
| void | defineParameter (const std::string &name, TCS::parType_t value) |
| void | defineParameter (const std::string &name, TCS::parType_t value, unsigned int selection) |
| virtual StatusCode | doReset ()=0 |
| void | registerHist (TH1 *) |
| void | registerHist (TH2 *) |
| void | fillHist1D (const std::string &histName, double x) |
| void | fillHist2D (const std::string &histName, double x, double y) |
| bool | isocut (const std::string &threshold, const unsigned int bit) const |
| bool | isocut (const unsigned int threshold, const unsigned int bit) const |
Private Member Functions | |
| void | defineParameter (const Parameter &) |
| std::string | ToString (const int val) |
Private Attributes | |
| std::unique_ptr< ConfigurableAlgImpl > | m_impl |
| std::string | m_name {""} |
| std::string | m_className {""} |
| unsigned int | m_algoId {0} |
| ParameterSpace | m_parameters {""} |
| AlgType | m_algType |
| bool | m_isLegacyTopo |
| boost::thread_specific_ptr< MsgStreamTC > | m_msg_tls |
| MsgStreamTC instance (a std::cout like with print-out levels) | |
Definition at line 30 of file ConfigurableAlg.h.
|
protected |
| ConfigurableAlg::ConfigurableAlg | ( | const std::string & | name, |
| AlgType | algType ) |
Definition at line 105 of file ConfigurableAlg.cxx.
|
virtual |
Definition at line 115 of file ConfigurableAlg.cxx.
|
inline |
Definition at line 53 of file ConfigurableAlg.h.
| void ConfigurableAlg::bookHist | ( | std::vector< std::string > & | regName, |
| const std::string & | name, | ||
| const std::string & | title, | ||
| const int | binx, | ||
| const int | xmin, | ||
| const int | xmax ) |
Definition at line 270 of file ConfigurableAlg.cxx.
| void ConfigurableAlg::bookHist | ( | std::vector< std::string > & | regName, |
| const std::string & | name, | ||
| const std::string & | title, | ||
| const int | binx, | ||
| const int | xmin, | ||
| const int | xmax, | ||
| const int | biny, | ||
| const int | ymin, | ||
| const int | ymax ) |
Definition at line 347 of file ConfigurableAlg.cxx.
| void ConfigurableAlg::bookHistMult | ( | std::vector< std::string > & | regName, |
| const std::string & | name, | ||
| const std::string & | title, | ||
| const std::string & | xtitle, | ||
| const int | binx, | ||
| const int | xmin, | ||
| const int | xmax ) |
Definition at line 338 of file ConfigurableAlg.cxx.
| void ConfigurableAlg::bookHistMult | ( | std::vector< std::string > & | regName, |
| const std::string & | name, | ||
| const std::string & | title, | ||
| const std::string & | xtitle, | ||
| const std::string & | ytitle, | ||
| const int | binx, | ||
| const int | xmin, | ||
| const int | xmax, | ||
| const int | biny, | ||
| const int | ymin, | ||
| const int | ymax ) |
Definition at line 457 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcDeltaEta | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 173 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcDeltaEtaBW | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 128 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcDeltaPhi | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 165 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcDeltaPhiBW | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 120 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcDeltaR2 | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 191 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcDeltaR2BW | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 152 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcInvMass | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 181 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcInvMassBW | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 136 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcTMass | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 186 of file ConfigurableAlg.cxx.
| unsigned int ConfigurableAlg::calcTMassBW | ( | const TCS::GenericTOB * | tob1, |
| const TCS::GenericTOB * | tob2 ) |
Definition at line 144 of file ConfigurableAlg.cxx.
|
inline |
Definition at line 49 of file ConfigurableAlg.h.
|
private |
Definition at line 213 of file ConfigurableAlg.cxx.
|
protected |
Definition at line 201 of file ConfigurableAlg.cxx.
|
protected |
Definition at line 207 of file ConfigurableAlg.cxx.
|
protectedpure virtual |
Implemented in TCS::CountingAlg, TCS::DecisionAlg, and TCS::SortingAlg.
|
protected |
Definition at line 467 of file ConfigurableAlg.cxx.
|
protected |
|
inline |
Definition at line 50 of file ConfigurableAlg.h.
|
inlineinherited |
|
inlinevirtual |
Reimplemented in TCS::ADVAE_2A, TCS::AnomalyDetectionBDT, TCS::ClusterNoSort, TCS::ClusterSelect, TCS::ClusterSort, TCS::cTauMultiplicity, TCS::DeltaEtaIncl1, TCS::DeltaEtaIncl2, TCS::DeltaEtaPhiIncl1, TCS::DeltaEtaPhiIncl2, TCS::DeltaPhiIncl1, TCS::DeltaPhiIncl2, TCS::DeltaRApproxBoxCutIncl1, TCS::DeltaRApproxBoxCutIncl2, TCS::DeltaRSqrIncl1, TCS::DeltaRSqrIncl1Charge, TCS::DeltaRSqrIncl2, TCS::DeltaRSqrIncl2Charge, TCS::DisambiguationDetaDPhiIncl3, TCS::DisambiguationDRIncl2, TCS::DisambiguationDRIncl3, TCS::DisambiguationIncl2, TCS::DisambiguationIncl3, TCS::DisambiguationInvmIncl2, TCS::eEmMultiplicity, TCS::eEmNoSort, TCS::eEmSelect, TCS::eEmSort, TCS::EnergyThreshold, TCS::EtaPhiWindow, TCS::eTauMultiplicity, TCS::eTauNoSort, TCS::eTauSelect, TCS::eTauSort, TCS::EtCut, TCS::ExclusiveJets, TCS::gJetMultiplicity, TCS::gJetNoSort, TCS::gJetSelect, TCS::gJetSort, TCS::gLJetMultiplicity, TCS::gLJetNoSort, TCS::gLJetSelect, TCS::gLJetSort, TCS::InvariantMassDeltaPhiInclusive1, TCS::InvariantMassDeltaPhiInclusive2, TCS::InvariantMassDeltaPhiInclusive2Charge, TCS::InvariantMassDeltaPhiSumEtInclusive1, TCS::InvariantMassInclusive1, TCS::InvariantMassInclusive1Disambiguation2, TCS::InvariantMassInclusive2, TCS::InvariantMassInclusiveDeltaRSqrIncl1, TCS::InvariantMassInclusiveDeltaRSqrIncl1Charge, TCS::InvariantMassInclusiveDeltaRSqrIncl2, TCS::InvariantMassInclusiveDeltaRSqrIncl2Charge, TCS::InvariantMassThreeTOBsIncl1, TCS::InvariantMassThreeTOBsIncl1Charge, TCS::jEmMultiplicity, TCS::jEmNoSort, TCS::jEmSelect, TCS::jEmSort, TCS::JetHT, TCS::JetMatch, TCS::JetNoSort, TCS::JetNoSortMatch, TCS::JetSelect, TCS::JetSort, TCS::jJetMultiplicity, TCS::jJetNoSort, TCS::jJetSelect, TCS::jJetSort, TCS::jLJetMultiplicity, TCS::jLJetNoSort, TCS::jLJetSelect, TCS::jLJetSort, TCS::jTauMultiplicity, TCS::jTauNoSort, TCS::jTauSelect, TCS::jTauSort, TCS::jTENoSort, TCS::jXENoSort, TCS::jXESort, TCS::KalmanMETCorrection, TCS::LAr, TCS::LArSaturation, TCS::METCut, TCS::METNoSort, TCS::MetSort, TCS::METSortingAlg, TCS::MinDeltaPhiIncl2, TCS::Multiplicity, TCS::MultiplicityCustom, TCS::MuonAbbreviated, TCS::MuonNoSort, TCS::MuonSelect, TCS::MuonSort, TCS::MuonSort_1BC, TCS::NotMatch, TCS::Ratio2, TCS::Ratio, TCS::RatioMatch, TCS::RatioSum, TCS::SimpleCone, TCS::Sum, TCS::TauMatching, TCS::TeAsymmetry, TCS::TeATIME, TCS::TransverseMassInclusive1, and TCS::ZeroBias.
Definition at line 56 of file ConfigurableAlg.h.
|
inline |
Definition at line 64 of file ConfigurableAlg.h.
|
inline |
Definition at line 62 of file ConfigurableAlg.h.
|
inline |
Definition at line 66 of file ConfigurableAlg.h.
|
protected |
Definition at line 484 of file ConfigurableAlg.cxx.
|
protected |
Definition at line 500 of file ConfigurableAlg.cxx.
|
inline |
Definition at line 60 of file ConfigurableAlg.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 86 of file TrigConfMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 96 of file TrigConfMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 75 of file TrigConfMessaging.h.
|
inline |
Definition at line 48 of file ConfigurableAlg.h.
| const TCS::Parameter & ConfigurableAlg::parameter | ( | const std::string & | parameterName | ) | const |
Definition at line 243 of file ConfigurableAlg.cxx.
| const TCS::Parameter & ConfigurableAlg::parameter | ( | const std::string & | parameterName, |
| unsigned int | selection ) const |
Definition at line 249 of file ConfigurableAlg.cxx.
|
inline |
Definition at line 87 of file ConfigurableAlg.h.
| unsigned long ConfigurableAlg::quadraticSumBW | ( | int | i1, |
| int | i2 ) |
Definition at line 160 of file ConfigurableAlg.cxx.
|
protected |
Definition at line 262 of file ConfigurableAlg.cxx.
|
protected |
Definition at line 266 of file ConfigurableAlg.cxx.
|
inline |
Definition at line 58 of file ConfigurableAlg.h.
|
inline |
Definition at line 93 of file ConfigurableAlg.h.
|
inline |
Definition at line 43 of file ConfigurableAlg.h.
| void ConfigurableAlg::setL1TopoHistSvc | ( | std::shared_ptr< IL1TopoHistSvc > | histSvc | ) |
sets the external hist service
forwarding public interface
Definition at line 258 of file ConfigurableAlg.cxx.
|
inline |
Definition at line 45 of file ConfigurableAlg.h.
| void ConfigurableAlg::setParameters | ( | const ParameterSpace & | parameters | ) |
Definition at line 222 of file ConfigurableAlg.cxx.
|
private |
Definition at line 475 of file ConfigurableAlg.cxx.
|
private |
Definition at line 138 of file ConfigurableAlg.h.
|
private |
Definition at line 142 of file ConfigurableAlg.h.
|
private |
Definition at line 135 of file ConfigurableAlg.h.
|
private |
Definition at line 129 of file ConfigurableAlg.h.
|
private |
Definition at line 144 of file ConfigurableAlg.h.
|
mutableprivateinherited |
MsgStreamTC instance (a std::cout like with print-out levels)
Definition at line 71 of file TrigConfMessaging.h.
|
private |
Definition at line 134 of file ConfigurableAlg.h.
|
private |
Definition at line 140 of file ConfigurableAlg.h.