![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
#include <TrigEDMChecker.h>
|
| TrigEDMChecker (const std::string &name, ISvcLocator *pSvcLocator) |
|
virtual | ~TrigEDMChecker () |
|
virtual StatusCode | initialize () override |
|
virtual StatusCode | execute () override |
|
virtual StatusCode | sysInitialize () override |
| Function initialising the tool in the correct way in Athena. More...
|
|
virtual StatusCode | sysExecute (const EventContext &) override |
| override to do firstEvent method More...
|
|
template<typename T > |
StatusCode | retrieveMetadata (const std::string &folder, const std::string &key, T &out) |
| Helper function to access IOVMetaDataContainer information helped in the MetaDataStore. More...
|
|
template<typename T > |
StatusCode | retrieveMetadata (const std::string &folder, const std::string &key, T &out, const IOVTime &time, int channel=-1) |
| Helper function to access IOVMetaDataContainer information held in InputMetaDataStore, but will check IOVTime. 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 |
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. More...
|
|
const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. More...
|
|
ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. More...
|
|
|
void | updateEvtStore (Gaudi::Details::PropertyBase &prop) |
|
virtual void | handle (const Incident &inc) override |
| Function receiving incidents from IncidentSvc/TEvent Experts can override but they should ensure they add AthAnalysisAlgorithm::handle(); to the end of their own implementation. More...
|
|
virtual StatusCode | beginInputFile () |
| Function called when a new input file is opened user can read input metadata from inputMetaStore() More...
|
|
virtual StatusCode | endInputFile () |
| Function called as an input file is being closed. More...
|
|
virtual StatusCode | metaDataStop () |
| Function called before finalize user can read output metadata from outputMetaStore() More...
|
|
virtual StatusCode | firstExecute () |
| Function called when first execute is encountered user can read event information with evtStore() More...
|
|
virtual TFile * | currentFile (const char *evtSelName="EventSelector") final |
| Function returning the TFile pointer of the currently open file of the given EventSelector (in athena jobs this defaults to "EventSelector") More...
|
|
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...
|
|
|
StatusCode do_execute | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode | dumpTrigPassBits () |
|
StatusCode | dumpLVL1_ROI () |
|
StatusCode | dumpTrackParticleContainer () |
|
StatusCode dumpTrigMissingET | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode | dumpxAODTrigMissingET () |
|
StatusCode | dumpxAODJetContainer () |
|
StatusCode | dumpTrigL2BphysContainer () |
|
StatusCode | dumpTrigEFBphysContainer () |
|
StatusCode dumpTrigEFBjetContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigL2BjetContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigTauClusterContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigEMCluster | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigEMClusterContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpxAODTrigEMCluster | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpxAODTrigEMClusterContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpCombinedMuonFeature | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpCombinedMuonFeatureContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpMuonFeature | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTileMuFeatureContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTileTrackMuFeatureContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigPhotonContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigMuonEFContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigMuonEFInfoContainer | ATLAS_NOT_THREAD_SAFE () |
|
void | printMuonTrk (const TrigMuonEFTrack *muonTrack) |
|
void | printMuonTrk (const TrigMuonEFCbTrack *muonTrack) |
|
StatusCode | dumpxAODMuonContainer () |
|
StatusCode dumpTrigMuonEFIsolationContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigElectronContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode | dumpxAODTrigElectronContainer () |
|
StatusCode | dumpxAODTrigPhotonContainer () |
|
StatusCode | dumpxAODElectronContainer () |
|
StatusCode | dumpxAODPhotonContainer () |
|
StatusCode dumpTrigTauContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTrigTauTracksInfo | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode | dumpHLTResult () |
|
StatusCode | dumpTrigInDetTrackCollection () |
|
StatusCode dumpTrigVertexCollection | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpxAODTauJetContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode dumpTauJetContainer | ATLAS_NOT_THREAD_SAFE () |
|
StatusCode | dumpxAODTrackParticle () |
|
StatusCode | dumpxAODVertex () |
|
StatusCode | dumpStoreGate () |
|
StatusCode | dumpTDT () |
|
StatusCode | dumpxAODTrigMinBias () |
|
void | dumpTrigSpacePointCounts () |
|
void | dumpTrigT2MBTSBits () |
|
void | dumpTrigVertexCounts () |
|
void | dumpTrigTrackCounts () |
|
StatusCode | dumpNavigation () |
|
StatusCode | dumpTrigComposite () |
| Dump information on TrigComposite collections. More...
|
|
StatusCode | checkTrigCompositeElementLink (const xAOD::TrigComposite *tc, size_t element) |
| Dump details on element links within TrigComposites. More...
|
|
StatusCode | TrigCompositeNavigationToDot (std::string &returnValue, bool &pass) |
| Construct graph of HLT navigation in Run-3. 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...
|
|
|
bool | m_doDumpAll |
| a handle on Store Gate for access to the Event Store More...
|
|
bool | m_doDumpTrigPassBits |
|
bool | m_doDumpLVL1_ROI |
|
bool | m_doDumpTrackParticleContainer |
|
bool | m_doDumpTrigMissingET |
|
bool | m_doDumpxAODTrigMissingET |
|
bool | m_doDumpxAODJetContainer |
|
bool | m_doDumpTrigL2BphysContainer |
|
bool | m_doDumpTrigEFBphysContainer |
|
bool | m_doDumpTrigEFBjetContainer |
|
bool | m_doDumpTrigL2BjetContainer |
|
bool | m_doDumpTrigTauClusterContainer |
|
bool | m_doDumpTrigEMCluster |
|
bool | m_doDumpTrigEMClusterContainer |
|
bool | m_doDumpxAODTrigEMCluster |
|
bool | m_doDumpxAODTrigEMClusterContainer |
|
bool | m_doDumpCombinedMuonFeature |
|
bool | m_doDumpMuonFeature |
|
bool | m_doDumpTileMuFeature |
|
bool | m_doDumpTileTrackMuFeature |
|
bool | m_doDumpTrigPhotonContainer |
|
bool | m_doDumpTrigMuonEFContainer |
|
bool | m_doDumpTrigMuonEFInfoContainer |
|
bool | m_doDumpxAODMuonContainer |
|
bool | m_doDumpTrigMuonEFIsolationContainer |
|
bool | m_doDumpTrigElectronContainer |
|
bool | m_doDumpxAODTrigElectronContainer |
|
bool | m_doDumpxAODTrigPhotonContainer |
|
bool | m_doDumpxAODElectronContainer |
|
bool | m_doDumpxAODPhotonContainer |
|
bool | m_doDumpTrigTauContainer |
|
bool | m_doDumpTrigTauTracksInfo |
|
bool | m_doDumpHLTResult |
|
bool | m_doDumpTrigInDetTrackCollection |
|
bool | m_doDumpTrigVertexCollection |
|
bool | m_doDumpxAODTauJetContainer |
|
bool | m_doDumpTauJetContainer |
|
bool | m_doDumpxAODTrackParticle |
|
bool | m_doDumpxAODVertex |
|
bool | m_doDumpStoreGate |
|
bool | m_doTDTCheck |
|
bool | m_doDumpxAODTrigMinBias |
|
bool | m_doDumpAllTrigComposite |
|
std::vector< std::string > | m_dumpTrigCompositeContainers |
|
bool | m_doDumpNavigation |
|
Gaudi::Property< std::string > | m_dumpNavForChain {this, "DumpNavigationForChain", "", "Optional chain to restrict navigation dump info."} |
|
Gaudi::Property< bool > | m_excludeFailedHypoNodes |
|
bool | m_doDumpTrigCompsiteNavigation |
|
ToolHandle< Rec::IMuonPrintingTool > | m_muonPrinter {this, "MuonPrinter", "Rec::MuonPrintingTool/MuonPrintingTool"} |
|
ServiceHandle< ::IClassIDSvc > | m_clidSvc |
|
SG::ReadHandleKey< xAOD::TrackParticleContainer > | m_muonTracksKey { this, "MuonTracksKey", "HLT_IDTrack_Muon_FTF"} |
|
SG::ReadHandleKey< xAOD::TrigNavigation > | m_navigationHandleKey { this, "TrigNavigation", "TrigNavigation", "" } |
|
SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > | m_decisionsKey { this, "Decisions", "RoIDecisions", "Decisions created from TEs" } |
|
ToolHandle< HLT::Navigation > | m_navigationTool { this, "NavigationTool", "HLT::Navigation/Navigation", "" } |
|
PublicToolHandle< Trig::TrigDecisionTool > | m_trigDec { this, "TriggerDecisionTool", "Trig::TrigDecisionTool/TrigDecisionTool", ""} |
|
int | m_trackWarningNum {0} |
|
int | m_vertexWarningNum {0} |
|
ServiceHandle< StoreGateSvc > | m_inputMetaStore |
| Object accessing the input metadata store. More...
|
|
ServiceHandle< StoreGateSvc > | m_outputMetaStore |
| Object accessing the output metadata store. More...
|
|
TFile * | m_currentFile {nullptr} |
|
bool | m_doneFirstEvent {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 36 of file TrigEDMChecker.h.
◆ EffMap_t
◆ GraphMap_t
◆ hash_t
◆ HistMap_t
◆ StoreGateSvc_t
◆ TreeMap_t
◆ TrigEDMChecker()
TrigEDMChecker::TrigEDMChecker |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
pSvcLocator |
|
) |
| |
◆ ~TrigEDMChecker()
TrigEDMChecker::~TrigEDMChecker |
( |
| ) |
|
|
virtual |
◆ ATLAS_NOT_THREAD_SAFE() [1/24]
StatusCode do_execute TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [2/24]
StatusCode dumpTrigMissingET TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [3/24]
StatusCode dumpTrigEFBjetContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [4/24]
StatusCode dumpTrigL2BjetContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [5/24]
StatusCode dumpTrigTauClusterContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [6/24]
StatusCode dumpTrigEMCluster TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [7/24]
StatusCode dumpTrigEMClusterContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [8/24]
StatusCode dumpxAODTrigEMCluster TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [9/24]
StatusCode dumpxAODTrigEMClusterContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [10/24]
StatusCode dumpCombinedMuonFeature TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [11/24]
StatusCode dumpCombinedMuonFeatureContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [12/24]
StatusCode dumpMuonFeature TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [13/24]
StatusCode dumpTileMuFeatureContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [14/24]
StatusCode dumpTileTrackMuFeatureContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [15/24]
StatusCode dumpTrigPhotonContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [16/24]
StatusCode dumpTrigMuonEFContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [17/24]
StatusCode dumpTrigMuonEFInfoContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [18/24]
StatusCode dumpTrigMuonEFIsolationContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [19/24]
StatusCode dumpTrigElectronContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [20/24]
StatusCode dumpTrigTauContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [21/24]
StatusCode dumpTrigTauTracksInfo TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [22/24]
StatusCode dumpTrigVertexCollection TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [23/24]
StatusCode dumpxAODTauJetContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ ATLAS_NOT_THREAD_SAFE() [24/24]
StatusCode dumpTauJetContainer TrigEDMChecker::ATLAS_NOT_THREAD_SAFE |
( |
| ) |
|
|
private |
◆ beginInputFile()
StatusCode AthAnalysisAlgorithm::beginInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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){
◆ checkTrigCompositeElementLink()
Dump details on element links within TrigComposites.
With specific checking of the Run-3 relationships
Definition at line 4155 of file TrigEDMChecker.cxx.
4163 if (!elementLink.
isValid())
ATH_MSG_WARNING(
" Invalid element link to TrigRoiDescriptorCollection, link name:'" <<
name <<
"'");
4164 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"'' to TrigRoiDescriptor:" << *elementLink);
4171 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"' to LVL1::RecEmTauRoI:" << *elementLink);
4177 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"' to TrigComposite, TC name:'" << (*elementLink)->name() <<
"'");
4183 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"' to View:'" << *elementLink);
4185 }
else if (
name ==
"feature") {
4190 if (!elementLink.
isValid())
ATH_MSG_WARNING(
" Invalid element link to xAOD::TrigEMClusterContainer 'feature'");
4191 else ATH_MSG_DEBUG(
" Dereferenced xAOD::TrigEMClusterContainer link 'feature', Energy:" << (*elementLink)->energy());
4196 if (!elementLink.
isValid())
ATH_MSG_WARNING(
" Invalid element link to xAOD::TrigMissingETContainer 'feature'");
4197 else ATH_MSG_DEBUG(
" Dereferenced xAOD::TrigMissingETContainer link 'feature', ex:" << (*elementLink)->ex() <<
" ey:" << (*elementLink)->ey());
4204 else ATH_MSG_DEBUG(
" Dereferenced IParticle link 'feature', pt:" << (*elementLink)->pt() <<
" eta:" << (*elementLink)->eta() <<
" phi:" << (*elementLink)->phi());
4205 }
catch(std::runtime_error&
e) {
4206 ATH_MSG_WARNING(
" Cannot dereference 'feature' as IParticle: '" <<
e.what() <<
"'");
4215 return StatusCode::SUCCESS;
◆ 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;
◆ currentFile()
TFile * AthAnalysisAlgorithm::currentFile |
( |
const char * |
evtSelName = "EventSelector" | ) |
|
|
finalprotectedvirtualinherited |
Function returning the TFile pointer of the currently open file of the given EventSelector (in athena jobs this defaults to "EventSelector")
Definition at line 147 of file AthAnalysisAlgorithm.cxx.
153 IProperty* evtSelector = 0;
154 if(service(evtSelName,evtSelector,
false).isFailure()) {
155 ATH_MSG_ERROR(
"currentFile(): Couldn't find the service: " << evtSelName);
return 0;
167 const StringArrayProperty& inputCollectionsName =
dynamic_cast<const StringArrayProperty&
>(evtSelector->getProperty(
"InputCollections"));
169 ATH_MSG_VERBOSE(
"nOpenFile=" << gROOT->GetListOfFiles()->GetSize() <<
". nFilesInInputCollection=" << inputCollectionsName.value().size());
171 for(
int i=0;
i<gROOT->GetListOfFiles()->GetSize();
i++) {
172 ATH_MSG_VERBOSE(
"Open file: " << gROOT->GetListOfFiles()->At(
i)->GetName());
178 for(
int i=0;
i<gROOT->GetListOfFiles()->GetSize();
i++) {
179 TFile *
g = (TFile*)gROOT->GetListOfFiles()->At(
i);
182 TString
s(
g->GetName());
183 TObjArray*
tokens =
s.Tokenize(
"/");
184 TObjString* lastToken =
dynamic_cast<TObjString*
>(
tokens->Last());
185 TString sToCompare(
"");
186 bool shortComparison(
false);
187 if(
tokens->GetEntries()>1) {
188 TString beforeSlash((
dynamic_cast<TObjString*
>(
tokens->At(
tokens->GetEntries()-2)))->GetString());
189 if(beforeSlash.Length()>0) sToCompare += beforeSlash;
192 shortComparison=
true;
194 sToCompare += lastToken->GetString();
195 TString sToCompare_short(lastToken->GetString());
198 for(
unsigned int j=0;j<inputCollectionsName.value().
size();j++) {
199 TString
t(inputCollectionsName.value()[j].c_str());
202 ATH_MSG_VERBOSE(
"Current File is: " << inputCollectionsName.value()[j]);
206 TObjArray*
tokens =
t.Tokenize(
"/");
207 TObjString* lastToken =
dynamic_cast<TObjString*
>(
tokens->Last());
208 TString tToCompare =
"";
209 bool shortComparison2(
false);
210 if(
tokens->GetEntries()>1) {
211 TString beforeSlash((
dynamic_cast<TObjString*
>(
tokens->At(
tokens->GetEntries()-2)))->GetString());
212 if(beforeSlash.Length()>0) tToCompare += beforeSlash;
215 shortComparison2=
true;
217 tToCompare += lastToken->GetString();
218 TString tToCompare_short(lastToken->GetString());
221 if(shortComparison || shortComparison2) {
222 if(sToCompare_short.EqualTo(tToCompare_short)) {
223 ATH_MSG_VERBOSE(
"Current File is: " << inputCollectionsName.value()[j]);
228 if(sToCompare.EqualTo(tToCompare)) {
229 ATH_MSG_VERBOSE(
"Current File is: " << inputCollectionsName.value()[j]);
237 ATH_MSG_ERROR(
"currentFile(): Couldn't load InputCollections property of " << evtSelName);
return 0;
240 ATH_MSG_ERROR(
"currentFile(): Could not find the current file!");
◆ 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);
◆ 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.
◆ 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.
◆ 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()
◆ dumpHLTResult()
StatusCode TrigEDMChecker::dumpHLTResult |
( |
| ) |
|
|
private |
Definition at line 2109 of file TrigEDMChecker.cxx.
2113 ATH_MSG_INFO(
"REGTEST ==========START of HLTResult DUMP===========");
2117 if(
sc.isFailure() || !hltResult ) {
2119 return StatusCode::SUCCESS;
2121 ATH_MSG_INFO(
"REGTEST HLTResult_L2 Successfully Retrieved");
2124 ATH_MSG_INFO(
"REGTEST HLTResult_L2->size() returns " << hltResult->
size());
2128 ATH_MSG_INFO(
"REGTEST ==========END of HLTResult DUMP===========");
2132 return StatusCode::SUCCESS;
◆ dumpLVL1_ROI()
StatusCode TrigEDMChecker::dumpLVL1_ROI |
( |
| ) |
|
|
private |
Definition at line 1172 of file TrigEDMChecker.cxx.
1176 ATH_MSG_INFO(
"REGTEST ==========START of LVL1_ROI DUMP===========");
1180 if (
sc.isFailure() ) {
1182 return StatusCode::SUCCESS;
1187 LVL1_ROI::emtaus_type::const_iterator itEMTau =
1189 LVL1_ROI::emtaus_type::const_iterator itEMTau_e =
1192 for( ; itEMTau != itEMTau_e; ++itEMTau, ++j) {
1194 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI Eta is " << itEMTau->getEta());
1195 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI Phi is " << itEMTau->getPhi());
1196 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI EMClus is " << itEMTau->getEMClus());
1197 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI TauClus is " << itEMTau->getTauClus());
1198 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI EMIsol is " << itEMTau->getEMIsol());
1199 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI HadIsol is " << itEMTau->getHadIsol());
1200 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI Core is " << itEMTau->getCore());
1201 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI HadCore is " << itEMTau->getHadCore());
1202 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI roiWord is " << itEMTau->getROIWord());
1205 ATH_MSG_INFO(
"REGTEST ==========END of LVL1_ROI DUMP===========");
1207 return StatusCode::SUCCESS;
◆ dumpNavigation()
StatusCode TrigEDMChecker::dumpNavigation |
( |
| ) |
|
|
private |
Definition at line 4446 of file TrigEDMChecker.cxx.
4456 const std::vector< unsigned int > serialisedNavigation = navigationHandle->
serialized();
4457 ATH_MSG_INFO(
"Serialised navigation size: " << serialisedNavigation.size() );
4466 std::map< int, std::string > hash2string;
4467 for (
auto const& sequence :
testMenu->front()->sequenceInputTEs() ) {
4468 for (
auto const&
name : sequence ) {
4475 unsigned int chainCounter = 0;
4476 std::map< int, std::string > hash2chain;
4477 for (
auto const&
chain :
testMenu->front()->chainSignatureOutputTEs() ) {
4484 for (
auto const& signature :
chain ) {
4485 for (
auto const&
name : signature ) {
4497 if ( lhs.
getCLID() == rhs.getCLID() )
return ( lhs.
getIndex() < rhs.getIndex() );
4500 else return ( lhs.
getCLID() < rhs.getCLID() );
4502 std::map< HLT::TriggerElement::FeatureAccessHelper, std::vector< HLT::TriggerElement* >, decltype(cmpLambda) > feature2element(cmpLambda);
4505 std::vector< HLT::TriggerElement* > allTEs;
4506 testNav->
getAll( allTEs,
false );
4507 for (
auto element : allTEs ) {
4510 for (
auto helper : element->getFeatureAccessHelpers() ) {
4511 feature2element[
helper ].push_back( element );
4517 for (
auto element : allTEs ) {
4519 ATH_MSG_INFO(
"+++++++++++ " << hash2string[ element->getId() ] <<
" is terminal node" );
4521 std::queue< HLT::TriggerElement* > allAncestors;
4522 allAncestors.push( element );
4523 while ( allAncestors.size() ) {
4527 auto theseAncestors = thisElement->
getRelated( HLT::TriggerElement::Relation::seededByRelation );
4538 for (
auto ancestor : theseAncestors ) {
4539 allAncestors.push( ancestor );
4547 auto decisionOutput = outputNavigation.
ptr();
4550 std::map< HLT::TriggerElement const*, std::vector< int > > element2decisions;
4551 for (
const auto& pair : feature2element ) {
4554 std::string featureName = testNav->
label( pair.first.getCLID(), pair.first.getIndex().subTypeIndex() );
4555 auto sgKey =
evtStore()->stringToKey( featureName, pair.first.getCLID() );
4558 std::string storeFeatureName =
"feature";
4565 decision->typelessSetObjectLink( storeFeatureName, sgKey, pair.first.getCLID(), pair.first.getIndex().objectsBegin(), pair.first.getIndex().objectsEnd() );
4568 std::set< std::string > passedChains;
4572 passedChains.insert( hash2chain[ element->
getId() ] );
4575 int decisionNumber = decisionOutput->size() - 1;
4576 element2decisions[ element ].push_back( decisionNumber );
4580 for (
auto&
chain : passedChains ) {
4586 unsigned int decisionCounter = 0;
4587 for (
const auto& pair : feature2element ) {
4590 auto decision = decisionOutput->at( decisionCounter );
4594 for (
auto element : pair.second ) {
4595 auto theseAncestors = element->
getRelated( HLT::TriggerElement::Relation::seededByRelation );
4596 for (
auto ancestor : theseAncestors ) {
4597 for (
int decisionIndex : element2decisions[ ancestor ] ) {
4604 return StatusCode::SUCCESS;
◆ dumpStoreGate()
StatusCode TrigEDMChecker::dumpStoreGate |
( |
| ) |
|
|
private |
◆ dumpTDT()
StatusCode TrigEDMChecker::dumpTDT |
( |
| ) |
|
|
private |
Definition at line 4023 of file TrigEDMChecker.cxx.
4025 ATH_MSG_INFO(
"REGTEST ==========START of TDT DUMP===========" );
4028 if (
chain.empty()) {
4031 std::vector<std::string> confChains =
m_trigDec->getListOfTriggers(
chain);
4032 for (
const auto&
item : confChains) {
4035 if (
m_trigDec->getNavigationFormat() ==
"TriggerElement") {
4040 if (passFeatures.size()) {
4041 ATH_MSG_INFO(
" " <<
item <<
" Passed Final IParticle features size: " << passFeatures.size());
4043 if (!li.isValid()) {
4047 std::string state =
"ACTIVE";
4050 ATH_MSG_INFO(
" IParticle Feature from " << li.link.dataID() <<
" index:" << li.link.index() <<
" pt:" << (*li.link)->pt() <<
" eta:" << (*li.link)->eta() <<
" phi:" << (*li.link)->phi() <<
" state:" << state);
4058 if (passAndFailFeatures.size()) {
4059 ATH_MSG_INFO(
" " <<
item <<
" Passed+Failed Final IParticle features size: " << passAndFailFeatures.size());
4061 if (!li.isValid()) {
4065 std::string state =
"ACTIVE";
4068 ATH_MSG_INFO(
" IParticle Feature from " << li.link.dataID() <<
" index:" << li.link.index() <<
" pt:" << (*li.link)->pt() <<
" eta:" << (*li.link)->eta() <<
" phi:" << (*li.link)->phi() <<
" state:" << state);
4075 std::vector< LinkInfo<xAOD::IParticleContainer> > allFeatures =
m_trigDec->features<
xAOD::IParticleContainer>(
item, TrigDefs::includeFailedDecisions,
"", TrigDefs::allFeaturesOfType);
4076 if (allFeatures.size()) {
4077 ATH_MSG_INFO(
" " <<
item <<
" Passed+Failed ALL IParticle features size: " << allFeatures.size());
4079 if (!li.isValid()) {
4083 std::string state =
"ACTIVE";
4086 ATH_MSG_INFO(
" IParticle Feature from " << li.link.dataID() <<
" index:" << li.link.index() <<
" pt:" << (*li.link)->pt() <<
" eta:" << (*li.link)->eta() <<
" phi:" << (*li.link)->phi() <<
" state:" << state);
4095 if (
m_trigDec->getNavigationFormat() ==
"TrigComposite") {
4097 std::vector< LinkInfo<xAOD::IParticleContainer> > muons =
m_trigDec->features<
xAOD::IParticleContainer>(
"HLT_mu24_idperf_L1MU20", TrigDefs::Physics,
"HLT_MuonL2CBInfo");
4104 ATH_MSG_INFO(
"Muon pT: " << (*
mu.link)->pt() <<
" is from the same ROI as tracks with index "
4106 <<
", which is " <<
std::distance(startIt, stopIt) <<
" tracks, out of " << muonTracksReadHandle->
size() <<
" total tracks.");
4113 ATH_MSG_INFO(
"REGTEST ==========END of TDT DUMP===========" );
4114 return StatusCode::SUCCESS;
◆ dumpTrackParticleContainer()
StatusCode TrigEDMChecker::dumpTrackParticleContainer |
( |
| ) |
|
|
private |
track
track vertex position
access to TrackSummary information
Definition at line 1065 of file TrigEDMChecker.cxx.
1069 ATH_MSG_INFO(
"REGTEST ==========START of TrackParticleContainer DUMP===========");
1071 std::string trackPtags[]={
"HLT_InDetTrigParticleCreation_Bjet_EFID",
1072 "HLT_InDetTrigParticleCreation_Bphysics_EFID",
1073 "HLT_InDetTrigParticleCreation_Electron_EFID",
1074 "HLT_InDetTrigParticleCreation_FullScan_EFID",
1075 "HLT_InDetTrigParticleCreation_Muon_EFID",
1076 "HLT_InDetTrigParticleCreation_Photon_EFID",
1077 "HLT_InDetTrigParticleCreation_Tau_EFID"};
1083 for (
int itag=0; itag<ntag; itag++){
1086 if (
sc.isFailure()) {
1087 ATH_MSG_INFO(
"REGTEST No TrackParticleContainer found with tag " << trackPtags[itag]);
1090 ATH_MSG_INFO(
"TrackParticleContainer found with tag " << trackPtags[itag]
1091 <<
" and size " << pTrackParticleC->
size());
1095 for (
int ind=1; trackItr != trackItrE; ++trackItr,
ind++) {
1098 << trackParticle->
charge() <<
" p "
1099 << trackParticle->
p()<<
" eta " << trackParticle->
eta()
1100 <<
" phi " << trackParticle->
phi());
1108 const auto& parameterVector = perigee->parameters();
1111 " phi " <<parameterVector[
Trk::phi]);
1120 ATH_MSG_WARNING(
" Max attached track warning reached, no further warnings given");
1131 ATH_MSG_INFO(
" vertex position (" << position[0] <<
", " <<
1132 position[1] <<
", " << position[2] <<
") ");
1137 ATH_MSG_WARNING(
" Max attached vertex warning reached, no further warnings given");
1145 const auto&
parameters = perigee->parameters();
◆ dumpTrigComposite()
StatusCode TrigEDMChecker::dumpTrigComposite |
( |
| ) |
|
|
private |
Dump information on TrigComposite collections.
Only dumpTrigCompositeContainers are dumped unless doDumpAllTrigComposite is set
Definition at line 4117 of file TrigEDMChecker.cxx.
4118 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrigCompositeContainer DUMP===========" );
4124 std::string typeNameTC;
4133 if ( not
evtStore()->contains<xAOD::TrigCompositeContainer>(
key) ) {
4142 for (
auto tc: *cont ) {
4149 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrigCompositeContainer DUMP===========" );
4150 return StatusCode::SUCCESS;
◆ dumpTrigEFBphysContainer()
StatusCode TrigEDMChecker::dumpTrigEFBphysContainer |
( |
| ) |
|
|
private |
Definition at line 2344 of file TrigEDMChecker.cxx.
2348 ATH_MSG_INFO(
"REGTEST ==========START of TrigEFBphysContainer DUMP===========");
2350 std::string EFBphysTags[]={
"HLT_xAOD__TrigBphysContainer_EFBMuMuFex",
2351 "HLT_xAOD__TrigBphysContainer_EFBMuMuXFex",
2352 "HLT_xAOD__TrigBphysContainer_EFDsPhiPiFex",
2353 "HLT_xAOD__TrigBphysContainer_EFMuPairs",
2354 "HLT_xAOD__TrigBphysContainer_EFMultiMuFex",
2355 "HLT_xAOD__TrigBphysContainer_EFTrackMass"
2358 int ntag= (
int)
sizeof(EFBphysTags) /
sizeof(EFBphysTags[0]);
2361 for (
int itag=0; itag<ntag; itag++){
2364 if (
sc.isFailure()) {
2365 ATH_MSG_INFO(
"REGTEST No TrigEFBphysContainer found with tag " << EFBphysTags[itag]);
2369 ATH_MSG_INFO(
"REGTEST TrigEFBphysContainer found with tag " << EFBphysTags[itag]
2370 <<
" and size " << trigEFBphys->
size());
2379 for (
int j=0; EFBphysItr != EFBphysItrE; ++EFBphysItr, ++j ) {
2383 ATH_MSG_INFO(
"REGTEST TrigEFBphys->eta() returns " << (*EFBphysItr)->eta());
2384 ATH_MSG_INFO(
"REGTEST TrigEFBphys->phi() returns " << (*EFBphysItr)->phi());
2385 ATH_MSG_INFO(
"REGTEST TrigEFBphys->mass() returns " << (*EFBphysItr)->mass());
2386 ATH_MSG_INFO(
"REGTEST TrigEFBphys->fitmass() returns " << (*EFBphysItr)->fitmass());
2388 ATH_MSG_INFO(
"REGTEST TrigEFBphys->roiId() returns " << (*EFBphysItr)->roiId());
2389 ATH_MSG_INFO(
"REGTEST TrigEFBphys->particleType() returns " << (*EFBphysItr)->particleType());
2391 if( (*EFBphysItr)->secondaryDecay() != NULL){
2394 ATH_MSG_INFO(
"REGTEST pSecondDecay->eta() returns " << psecond->
eta());
2395 ATH_MSG_INFO(
"REGTEST pSecondDecay->phi() returns " << psecond->
phi());
2406 const std::vector<ElementLink<xAOD::TrackParticleContainer> > trackVector = (*EFBphysItr)->trackParticleLinks();
2407 if (trackVector.size() != 0) {
2408 ATH_MSG_INFO(
" REGTEST got track vector size: " << trackVector.size());
2412 std::vector<ElementLink<xAOD::TrackParticleContainer> >::const_iterator trkIt=trackVector.begin();
2413 for (
int itrk=0 ; trkIt!= trackVector.end(); ++itrk, ++trkIt) {
2414 if (!(trkIt->isValid())) {
2415 ATH_MSG_WARNING(
"TrackParticleContainer::Invalid ElementLink to track ");
2422 double phi = trackPerigee->parameters()[
Trk::phi];
2424 double px = trackPerigee->momentum()[
Trk::px];
2425 double py = trackPerigee->momentum()[
Trk::py];
2435 ATH_MSG_INFO(
"REGTEST ==========END of TrigEFBphysContainer DUMP===========");
2438 return StatusCode::SUCCESS;
◆ dumpTrigInDetTrackCollection()
StatusCode TrigEDMChecker::dumpTrigInDetTrackCollection |
( |
| ) |
|
|
private |
Definition at line 2140 of file TrigEDMChecker.cxx.
2142 std::string TrigInDetTrackTags[]={
"HLT_TrigIDSCAN_Jet",
2143 "HLT_TrigIDSCAN_Tau",
2144 "HLT_TrigIDSCAN_eGamma",
2145 "HLT_TrigIDSCAN_Muon",
2146 "HLT_TrigIDSCAN_muonIso",
2147 "HLT_TrigIDSCAN_Bphysics",
2148 "HLT_TrigIDSCAN_FullScan",
2149 "HLT_TrigIDSCAN_Cosmics",
2150 "HLT_TrigIDSCAN_eGamma_Brem",
2151 "HLT_TrigIDSCAN_Tile",
2152 "HLT_TrigSiTrack_eGamma",
2153 "HLT_TrigSiTrack_Muon",
2154 "HLT_TrigSiTrack_muonIso",
2155 "HLT_TrigSiTrack_Tau",
2156 "HLT_TrigSiTrack_Jet",
2157 "HLT_TrigSiTrack_Bphysics",
2158 "HLT_TrigSiTrack_FullScan",
2159 "HLT_TrigSiTrack_Cosmics",
2160 "HLT_TRTSegmentFinder",
2167 bool gotTruthMap =
false;
2169 if (
evtStore()->contains<TrigInDetTrackTruthMap>(
"TrigInDetTrackTruthMap")) {
2173 ATH_MSG_WARNING(
" could not retrieve TrackTruthMap with key TrigInDetTruthMap");
2179 else ATH_MSG_DEBUG(
" didn't find any TrackTruthMap objects with key TrigInDetTruthMap");
2181 ATH_MSG_INFO(
"REGTEST ==========START of TrigInDetTrackCollection DUMP===========");
2183 for (
int iTag=0; iTag < ntag; iTag++) {
2186 if (
sc.isFailure()) {
2187 ATH_MSG_DEBUG(
"REGTEST No TrigInDetTrackCollection found with key " << TrigInDetTrackTags[iTag]);
2190 ATH_MSG_INFO(
"REGTEST TrigInDetTrackCollections retrieved with key "
2191 << TrigInDetTrackTags[iTag]);
2193 ATH_MSG_INFO(
"REGTEST TrigInDetTrackCollection->size() returns " << trigInDetTrackCollection->
size());
2198 for (
int j=0; trkItr != trkItrE; ++trkItr, ++j ) {
2200 ATH_MSG_INFO(
"REGTEST Looking at TrigInDetTrack " << j);
2202 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->algorithmId() returns " << (*trkItr)->algorithmId());
2203 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->chi2() returns " << (*trkItr)->chi2());
2204 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NStrawHits() returns " << (*trkItr)->NStrawHits());
2206 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NStraw() returns " << (*trkItr)->NStraw());
2207 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NStrawTime() returns " << (*trkItr)->NStrawTime());
2208 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NTRHits() returns " << (*trkItr)->NTRHits());
2210 ATH_MSG_INFO(
"REGTEST Looking at TrigInDetFitTrack->param()");
2213 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->a0() returns " << my_param->
a0());
2214 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->z0() returns " << my_param->
z0());
2215 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->phi0() returns " << my_param->
phi0());
2216 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->eta() returns " << my_param->
eta());
2217 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->pT() returns " << my_param->
pT());
2218 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->ea0() returns " << my_param->
ea0());
2219 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->ez0() returns " << my_param->
ez0());
2220 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->ephi0() returns " << my_param->
ephi0());
2221 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->eeta() returns " << my_param->
eeta());
2222 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->epT() returns " << my_param->
epT());
2225 ATH_MSG_INFO(
"REGTEST Looking at covarience matrix: ");
2227 const std::vector<double>*
const my_cov = my_param->
cov();
2229 ATH_MSG_INFO(
"REGTEST covarience matrix NULL (not stored)");
2231 std::vector<double> tempcov = *my_cov;
2234 for(iter = tempcov.begin(),
k=0; iter != tempcov.end(); ++iter, ++
k){
2235 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->cov() element " <<
k <<
" is " << (*iter));
2239 if (!(pTruthMap->hasTruth((*trkItr)))) {
2248 ATH_MSG_INFO(
"REGTEST number of matched truth hits: Si: " << pTruthMap->bestMatchSiHits((*trkItr))
2249 <<
" TRT: " << pTruthMap->bestMatchTRTHits((*trkItr)));
2250 if (pTruthMap->bestMatchSiHits((*trkItr)) > 0) {
2255 if (pSiTruth->
cptr() != 0) {
2260 if (pTruthMap->bestMatchTRTHits((*trkItr)) > 0) {
2264 if (pTRTtruth->
cptr() != 0) {
2274 ATH_MSG_INFO(
"REGTEST ==========END of TrigInDetTrackCollection DUMP===========");
2277 return StatusCode::SUCCESS;
◆ dumpTrigL2BphysContainer()
StatusCode TrigEDMChecker::dumpTrigL2BphysContainer |
( |
| ) |
|
|
private |
Definition at line 2442 of file TrigEDMChecker.cxx.
2445 ATH_MSG_INFO(
"REGTEST ==========START of TrigL2BphysContainer DUMP===========");
2447 std::string L2BphysTags[]={
"HLT_xAOD__TrigBphysContainer_L2BMuMuFex",
2448 "HLT_xAOD__TrigBphysContainer_L2BMuMuXFex",
2449 "HLT_xAOD__TrigBphysContainer_L2DsPhiPiFexDs",
2450 "HLT_xAOD__TrigBphysContainer_L2DsPhiPiFexPhi",
2451 "HLT_xAOD__TrigBphysContainer_L2JpsieeFex",
2452 "HLT_xAOD__TrigBphysContainer_L2MultiMuFex",
2453 "HLT_xAOD__TrigBphysContainer_L2TrackMass",
2455 const int ntag = (
int)
sizeof(L2BphysTags) /
sizeof(L2BphysTags[0]);
2458 for (
int itag=0; itag<ntag; itag++){
2461 if (
sc.isFailure()) {
2462 ATH_MSG_INFO(
"REGTEST No TrigL2BphysContainer found with tag " << L2BphysTags[itag]);
2466 ATH_MSG_INFO(
"REGTEST TrigL2BphysContainer found with tag " << L2BphysTags[itag]
2467 <<
" and size " << trigL2Bphys->
size());
2476 for (
int j=0; L2BphysItr != L2BphysItrE; ++L2BphysItr, ++j ) {
2480 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->eta() returns " << (*L2BphysItr)->eta());
2481 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->phi() returns " << (*L2BphysItr)->phi());
2482 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->mass() returns " << (*L2BphysItr)->mass());
2483 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->fitmass() returns " << (*L2BphysItr)->fitmass());
2485 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->roiId() returns " << (*L2BphysItr)->roiId());
2486 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->particleType() returns " << (*L2BphysItr)->particleType());
2488 if( (*L2BphysItr)->secondaryDecay() != NULL){
2491 ATH_MSG_INFO(
"REGTEST pSecondDecay->eta() returns " << psecond->
eta());
2492 ATH_MSG_INFO(
"REGTEST pSecondDecay->phi() returns " << psecond->
phi());
2500 const std::vector<ElementLink<xAOD::TrackParticleContainer> > trackVector = (*L2BphysItr)->trackParticleLinks();
2501 if (trackVector.size() != 0) {
2502 ATH_MSG_INFO(
" REGTEST got track vector size: " << trackVector.size());
2506 std::vector<ElementLink<xAOD::TrackParticleContainer> >::const_iterator trkIt=trackVector.begin();
2507 for (
int itrk=0 ; trkIt!= trackVector.end(); ++itrk, ++trkIt) {
2508 if (!(trkIt->isValid())) {
2509 ATH_MSG_WARNING(
"TrackParticleContainer::Invalid ElementLink to track ");
2516 double phi = trackPerigee->parameters()[
Trk::phi];
2518 double px = trackPerigee->momentum()[
Trk::px];
2519 double py = trackPerigee->momentum()[
Trk::py];
2529 ATH_MSG_INFO(
"REGTEST ==========END of TrigL2BphysContainer DUMP===========");
2532 return StatusCode::SUCCESS;
◆ dumpTrigPassBits()
StatusCode TrigEDMChecker::dumpTrigPassBits |
( |
| ) |
|
|
private |
Definition at line 583 of file TrigEDMChecker.cxx.
584 const std::string
name=
"HLT_xAOD__TrigPassBitsContainer_passbits";
587 if (
sc.isFailure() ){
592 for(
const auto bits:*xbitscont){
597 ATH_MSG_DEBUG(
"Analyzing bits for " << bits->containerClid() <<
" of size " << bits->size() <<
" with bit size " << bits->passBits().size());
602 for (
int j=0; itr != itrE; ++itr, ++j ) {
611 return StatusCode::SUCCESS;
◆ dumpTrigSpacePointCounts()
void TrigEDMChecker::dumpTrigSpacePointCounts |
( |
| ) |
|
|
private |
Definition at line 614 of file TrigEDMChecker.cxx.
618 std::string METTag=
"HLT_xAOD__TrigSpacePointCountsContainer_spacepoints";
626 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << SpacePointCountsCont->
size() <<
" elements");
628 std::string
s;
char buff[128];
629 std::vector<float> getVec;
633 for(
uint i = 0;
i < SpacePointCountsCont->
size();
i++) {
634 getVec = SpacePointCountsCont->
at(
i)->contentsPixelClusEndcapC();
636 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
637 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of contentsPixelClusEndcapC() = %10.2f ",
s.c_str(),
sum );
640 getVec = SpacePointCountsCont->
at(
i)->contentsPixelClusBarrel();
642 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
643 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of contentsPixelClusBarrel() = %10.2f ",
s.c_str(),
sum );
646 getVec = SpacePointCountsCont->
at(
i)->contentsPixelClusEndcapA();
648 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
649 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of contentsPixelClusEndcapA() = %10.2f ",
s.c_str(),
sum );
652 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusTotBins() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusTotBins() );
655 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusTotMin() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusTotMin() );
658 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusTotMax() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusTotMax() );
661 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusSizeBins() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusSizeBins() );
664 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusSizeMin() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusSizeMin() );
667 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusSizeMax() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusSizeMax() );
670 snprintf(
buff,
sizeof(
buff),
"REGTEST %s sctSpEndcapC() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->sctSpEndcapC() );
673 snprintf(
buff,
sizeof(
buff),
"REGTEST %s sctSpBarrel() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->sctSpBarrel() );
676 snprintf(
buff,
sizeof(
buff),
"REGTEST %s sctSpEndcapA() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->sctSpEndcapA() );
◆ dumpTrigT2MBTSBits()
void TrigEDMChecker::dumpTrigT2MBTSBits |
( |
| ) |
|
|
private |
Definition at line 682 of file TrigEDMChecker.cxx.
685 std::string METTag=
"HLT_xAOD__TrigT2MbtsBitsContainer_T2Mbts";
693 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << T2MbtsBitsCont->
size() <<
" elements");
695 std::string
s;
char buff[380];
696 std::vector<float> getVec;
701 getVec = T2MbtsBitsCont->
at(
i)->triggerEnergies();
703 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
704 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of triggerEnergies() = %10.2f ",
s.c_str(),
sum );
707 getVec = T2MbtsBitsCont->
at(
i)->triggerTimes();
709 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
710 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of triggerTimes() = %10.2f ",
s.c_str(),
sum );
◆ dumpTrigTrackCounts()
void TrigEDMChecker::dumpTrigTrackCounts |
( |
| ) |
|
|
private |
Definition at line 750 of file TrigEDMChecker.cxx.
753 std::string METTag=
"HLT_xAOD__TrigTrackCountsContainer_trackcounts";
761 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << T2TrackCountsCont->
size() <<
" elements");
763 std::string
s;
char buff[380];
764 std::vector<float> getVec;
768 for(
uint i = 0;
i < T2TrackCountsCont->
size();
i++) {
769 getVec = T2TrackCountsCont->
at(
i)->z0_pt();
771 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
772 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of z0_pt = %10.2f ",
s.c_str(),
sum );
775 getVec = T2TrackCountsCont->
at(
i)->eta_phi();
777 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
778 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of eta_phi() = %10.2f ",
s.c_str(),
sum );
781 snprintf(
buff,
sizeof(
buff),
"REGTEST %s z0Bins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->z0Bins() );
784 snprintf(
buff,
sizeof(
buff),
"REGTEST %s z0Min() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->z0Min() );
787 snprintf(
buff,
sizeof(
buff),
"REGTEST %s z0Max() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->z0Max() );
790 snprintf(
buff,
sizeof(
buff),
"REGTEST %s ptBins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->ptBins() );
793 snprintf(
buff,
sizeof(
buff),
"REGTEST %s ptMin() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->ptMin() );
796 snprintf(
buff,
sizeof(
buff),
"REGTEST %s ptMax() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->ptMax() );
799 snprintf(
buff,
sizeof(
buff),
"REGTEST %s etaBins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->etaBins() );
802 snprintf(
buff,
sizeof(
buff),
"REGTEST %s etaMin() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->etaMin() );
805 snprintf(
buff,
sizeof(
buff),
"REGTEST %s etaMax() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->etaMax() );
808 snprintf(
buff,
sizeof(
buff),
"REGTEST %s phiBins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->phiBins() );
811 snprintf(
buff,
sizeof(
buff),
"REGTEST %s phiMin() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->phiMin() );
814 snprintf(
buff,
sizeof(
buff),
"REGTEST %s phiMax() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->phiMax() );
◆ dumpTrigVertexCounts()
void TrigEDMChecker::dumpTrigVertexCounts |
( |
| ) |
|
|
private |
Definition at line 716 of file TrigEDMChecker.cxx.
719 std::string METTag=
"HLT_xAOD__TrigVertexCountsContainer_vertexcounts";
727 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << T2VertexCountsCont->
size() <<
" elements");
729 std::string
s;
char buff[380];
730 std::vector<float> fgetVec;
732 std::vector<unsigned int> ugetVec;
733 unsigned int usum(0);
736 for(
uint i = 0;
i < T2VertexCountsCont->
size();
i++) {
737 ugetVec = T2VertexCountsCont->
at(
i)->vtxNtrks();
738 for (
uint j = 0; j < ugetVec.size(); ++j) usum += ugetVec[j];
739 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of vtxNtrks() = %u ",
s.c_str(), usum );
742 fgetVec = T2VertexCountsCont->
at(
i)->vtxTrkPtSqSum();
743 for (
uint j = 0; j < fgetVec.size(); ++j) fsum += fgetVec[j];
744 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of vtxTrkPtSqSum() = %10.2f ",
s.c_str(), fsum );
◆ dumpxAODElectronContainer()
StatusCode TrigEDMChecker::dumpxAODElectronContainer |
( |
| ) |
|
|
private |
Definition at line 1770 of file TrigEDMChecker.cxx.
1774 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::ElectronContainer DUMP===========" );
1778 if (
sc.isFailure()) {
1779 ATH_MSG_INFO(
"REGTEST No Electron container HLT_xAOD__ElectronContainer_egamma_Electrons");
1780 return StatusCode::SUCCESS;
1782 float val_float=-99;
1783 unsigned int isEMbit=0;
1786 ATH_MSG_INFO(
" REGTEST: xAOD Reconstruction variables: ");
1791 for (
const auto eg : *elCont){
1797 if(
eg->selectionisEM(isEMbit,
"isEMVLoose"))
1798 ATH_MSG_INFO(
" REGTEST: isEMVLoose " << std::hex << isEMbit << std::dec);
1800 if(
eg->selectionisEM(isEMbit,
"isEMLoose"))
1801 ATH_MSG_INFO(
" REGTEST: isEMLoose " << std::hex << isEMbit << std::dec);
1803 if(
eg->selectionisEM(isEMbit,
"isEMMedium"))
1804 ATH_MSG_INFO(
" REGTEST: isEMMedium " << std::hex << isEMbit << std::dec);
1806 if(
eg->selectionisEM(isEMbit,
"isEMTight"))
1807 ATH_MSG_INFO(
" REGTEST: isEMTight " << std::hex << isEMbit << std::dec);
1809 if(
eg->selectionisEM(isEMbit,
"isEMLHVLoose"))
1810 ATH_MSG_INFO(
" REGTEST: isEMLHVLoose " << std::hex << isEMbit << std::dec);
1812 if(
eg->selectionisEM(isEMbit,
"isEMLHLoose"))
1813 ATH_MSG_INFO(
" REGTEST: isEMLHLoose " << std::hex << isEMbit << std::dec);
1815 if(
eg->selectionisEM(isEMbit,
"isEMLHMedium"))
1816 ATH_MSG_INFO(
" REGTEST: isEMLHMedium " << std::hex << isEMbit << std::dec);
1818 if(
eg->selectionisEM(isEMbit,
"isEMLHTight"))
1819 ATH_MSG_INFO(
" REGTEST: isEMLHTight " << std::hex << isEMbit << std::dec);
1821 if(accLH.isAvailable(*
eg))
1825 if(accLHCalo.isAvailable(*
eg))
1829 if(
eg->passSelection(
pid,
"LHVLoose"))
1833 if(
eg->passSelection(
pid,
"LHLoose"))
1837 if(
eg->passSelection(
pid,
"LHMedium"))
1841 if(
eg->passSelection(
pid,
"LHTight"))
1846 ATH_MSG_INFO(
" REGTEST: problems with egamma pointer" );
1847 return StatusCode::SUCCESS;
1850 if (
eg->caloCluster()) {
1851 ATH_MSG_INFO(
" REGTEST: egamma cluster transverse energy: " <<
eg->caloCluster()->et() );
1852 ATH_MSG_INFO(
" REGTEST: egamma cluster eta: " <<
eg->caloCluster()->eta() );
1853 ATH_MSG_INFO(
" REGTEST: egamma cluster phi: " <<
eg->caloCluster()->phi() );
1854 double tmpeta = -999.;
1855 double tmpphi = -999.;
1858 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. etaCalo = " << tmpeta);
1859 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. phiCalo = " << tmpphi);
1861 ATH_MSG_INFO(
" REGTEST: problems with egamma cluster pointer" );
1863 ATH_MSG_INFO(
"REGTEST: Check the original (uncalibrated)");
1865 if (!orig.isAvailable(*
eg->caloCluster()) || !orig(*
eg->caloCluster()).isValid()){
1870 ATH_MSG_INFO(
"REGTEST:: Compare new and old clusters");
1871 ATH_MSG_INFO(
"REGTEST:: Original Cluster e,eta,phi" << origClus->
e() <<
" " << origClus->
eta() <<
" " << origClus->
phi());
1872 ATH_MSG_INFO(
"REGTEST:: MVA Cluster e,eta,phi" <<
eg->caloCluster()->e() <<
" " <<
eg->caloCluster()->eta() <<
" " <<
eg->caloCluster()->phi());
1875 if(
eg->trackParticle()){
1877 ATH_MSG_INFO(
" REGTEST: charge= " <<
eg->trackParticle()->charge());
1878 ATH_MSG_INFO(
" REGTEST: E/p= " <<
eg->caloCluster()->et() /
eg->trackParticle()->pt() );
1880 ATH_MSG_INFO(
" REGTEST: Delta eta 1st sampling= " << val_float);
1882 ATH_MSG_INFO(
" REGTEST: Delta phi 2nd sampling= " << val_float);
1884 ATH_MSG_INFO(
" REGTEST: no electron eg->trackParticle() pointer");
1919 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::ElectronContainer DUMP===========" );
1921 return StatusCode::SUCCESS;
◆ dumpxAODJetContainer()
StatusCode TrigEDMChecker::dumpxAODJetContainer |
( |
| ) |
|
|
private |
Definition at line 2539 of file TrigEDMChecker.cxx.
2543 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::JetContainer DUMP===========");
2545 std::string containerName[30] = {
"HLT_xAOD__JetContainer_a4tcemjesFS",
2546 "HLT_xAOD__JetContainer_a4tcemsubFS",
2547 "HLT_xAOD__JetContainer_a4tcemsubjesFS",
2548 "HLT_xAOD__JetContainer_a4tcemnojcalibFS",
2549 "HLT_xAOD__JetContainer_a4tcemjesPS",
2550 "HLT_xAOD__JetContainer_a4tcemnojcalibPS",
2551 "HLT_xAOD__JetContainer_a4tclcwjesFS",
2552 "HLT_xAOD__JetContainer_a4tclcwsubFS",
2553 "HLT_xAOD__JetContainer_a4tclcwsubjesFS",
2554 "HLT_xAOD__JetContainer_a4tclcwnojcalibFS",
2555 "HLT_xAOD__JetContainer_a4tclcwjesPS",
2556 "HLT_xAOD__JetContainer_a4tclcwnojcalibPS",
2557 "HLT_xAOD__JetContainer_a4TTemnojcalibFS",
2558 "HLT_xAOD__JetContainer_a4TThadnojcalibFS",
2559 "HLT_xAOD__JetContainer_a10tcemjesFS",
2560 "HLT_xAOD__JetContainer_a10tcemsubFS",
2561 "HLT_xAOD__JetContainer_a10tcemsubjesFS",
2562 "HLT_xAOD__JetContainer_a10tcemnojcalibFS",
2563 "HLT_xAOD__JetContainer_a10tcemjesPS",
2564 "HLT_xAOD__JetContainer_a10tcemnojcalibPS",
2565 "HLT_xAOD__JetContainer_a10tclcwjesFS",
2566 "HLT_xAOD__JetContainer_a10tclcwsubFS",
2567 "HLT_xAOD__JetContainer_a10tclcwsubjesFS",
2568 "HLT_xAOD__JetContainer_a10tclcwnojcalibFS",
2569 "HLT_xAOD__JetContainer_a10tclcwjesPS",
2570 "HLT_xAOD__JetContainer_a10tclcwnojcalibPS",
2571 "HLT_xAOD__JetContainer_a10TTemnojcalibFS",
2572 "HLT_xAOD__JetContainer_a10TThadnojcalibFS",
2573 "HLT_xAOD__JetContainer_a10r_tcemsubjesFS",
2574 "HLT_xAOD__JetContainer_TrigHLTJetDSSelectorCollection"};
2575 float containerSizeParameter[30] = {0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4, 0.4,
2576 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 0.4};
2577 int containerInputType[30] = {1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2,
2578 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2, 1, 1};
2579 int containerSignalState[30] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1,
2580 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0};
2581 bool onefilled =
false;
2583 for (
int icont=0; icont<30; ++icont) {
2588 if (
sc.isFailure()) {
2593 int jetContsize = jetCont->
size();
2594 ATH_MSG_INFO(
"REGTEST Got jet container " << containerName[icont] <<
", size: " << jetContsize);
2595 if (jetContsize != 0) {
2598 for(
const auto thisjet : *jetCont) {
2609 ATH_MSG_INFO(
"REGTEST rapidity: " << thisjet->rapidity() );
2614 ATH_MSG_INFO(
"REGTEST algorithm (kt: 0, cam: 1, antikt: 2, ...): " << thisjet->getAlgorithmType() <<
"; should be 2");
2615 if(thisjet->getAlgorithmType() != 2)
ATH_MSG_WARNING(
"Jet algorithm different from container");
2616 ATH_MSG_INFO(
"REGTEST size parameter: " << thisjet->getSizeParameter() <<
"; should be " << containerSizeParameter[icont]);
2617 if(thisjet->getSizeParameter() != containerSizeParameter[icont])
ATH_MSG_WARNING(
"Jet size different from container");
2618 ATH_MSG_INFO(
"REGTEST input (LCTopo: 0, EMTopo: 1, TopoTower: 2, ...): " << thisjet->getInputType() <<
"; should be " << containerInputType[icont]);
2619 if(thisjet->getInputType() != containerInputType[icont])
ATH_MSG_WARNING(
"Jet input different from container");
2620 ATH_MSG_INFO(
"REGTEST constituents signal state (uncalibrated: 0, calibrated: 1): " << thisjet->getConstituentsSignalState() <<
"; should be " << containerSignalState[icont]);
2621 if(thisjet->getConstituentsSignalState() != containerSignalState[icont])
ATH_MSG_WARNING(
"Jet constituents' signal state different from container");
2622 ATH_MSG_INFO(
"REGTEST number of constituents: " << thisjet->numConstituents() );
2629 unsigned int constitContsize = constitCont.
size();
2630 ATH_MSG_INFO(
"REGTEST Got constituent vector, size: " << constitContsize <<
"; should be " << thisjet->numConstituents());
2631 if(constitContsize != thisjet->numConstituents())
ATH_MSG_WARNING(
"Constituents container size different from number of constituents");
2633 if (constitContsize != 0) {
2731 std::vector<int> vecvalueint;
2733 int vecsize = vecvalueint.size();
2734 ATH_MSG_INFO(
"REGTEST Got NumTrkPt1000 vector, size: " << vecsize);
2737 for(
const auto & thisvalue : vecvalueint){
2739 ATH_MSG_INFO(
"REGTEST NumTrkPt1000 #" << j <<
": " << thisvalue);
2741 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2742 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2746 int vecsize = vecvalueint.size();
2747 ATH_MSG_INFO(
"REGTEST Got Got NumTrkPt500 vector, size: " << vecsize);
2750 for(
const auto & thisvalue : vecvalueint){
2752 ATH_MSG_INFO(
"REGTEST NumTrkPt500 #" << j <<
": " << thisvalue);
2754 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2755 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2761 std::vector<float> vecvalue;
2763 int vecsize = vecvalue.size();
2764 ATH_MSG_INFO(
"REGTEST Got JVF vector, size: " << vecsize);
2767 for(
const auto & thisvalue : vecvalue){
2769 ATH_MSG_INFO(
"REGTEST JVF #" << j <<
": " << thisvalue);
2771 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2772 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2776 int vecsize = vecvalue.size();
2777 ATH_MSG_INFO(
"REGTEST Got SumPtTrkPt1000 vector, size: " << vecsize);
2780 for(
const auto & thisvalue : vecvalue){
2782 ATH_MSG_INFO(
"REGTEST SumPtTrkPt1000 #" << j <<
": " << thisvalue);
2784 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2785 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2789 int vecsize = vecvalue.size();
2790 ATH_MSG_INFO(
"REGTEST Got SumPtTrkPt500 vector, size: " << vecsize);
2793 for(
const auto & thisvalue : vecvalue){
2795 ATH_MSG_INFO(
"REGTEST SumPtTrkPt500 #" << j <<
": " << thisvalue);
2797 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2798 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2802 int vecsize = vecvalue.size();
2803 ATH_MSG_INFO(
"REGTEST Got TrackWidthPt1000 vector, size: " << vecsize);
2806 for(
const auto & thisvalue : vecvalue){
2808 ATH_MSG_INFO(
"REGTEST TrackWidthPt1000 #" << j <<
": " << thisvalue);
2810 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2811 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2815 int vecsize = vecvalue.size();
2816 ATH_MSG_INFO(
"REGTEST Got TrackWidthPt500 vector, size: " << vecsize);
2819 for(
const auto & thisvalue : vecvalue){
2821 ATH_MSG_INFO(
"REGTEST TrackWidthPt500 #" << j <<
": " << thisvalue);
2823 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2824 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2828 int vecsize = vecvalue.size();
2829 ATH_MSG_INFO(
"REGTEST Got EnergyPerSampling vector, size: " << vecsize);
2832 for(
const auto & thisvalue : vecvalue){
2834 ATH_MSG_INFO(
"REGTEST EnergyPerSampling #" << j <<
": " << thisvalue);
2836 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2837 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2866 return StatusCode::SUCCESS;
2870 if (jetContsize ==
i)
ATH_MSG_INFO(
"REGTEST size of jet container == number of displayed jets: " << (jetContsize ==
i) );
2875 if (!onefilled)
ATH_MSG_DEBUG(
"There was no filled jet containers");
2877 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::JetContainer DUMP===========");
2881 return StatusCode::SUCCESS;
◆ dumpxAODMuonContainer()
StatusCode TrigEDMChecker::dumpxAODMuonContainer |
( |
| ) |
|
|
private |
Definition at line 1346 of file TrigEDMChecker.cxx.
1350 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::MuonContainer DUMP===========" );
1354 if (
sc.isFailure()) {
1355 ATH_MSG_INFO(
"REGTEST No muon container HLT_xAOD__MuonContainer_MuonEFInfo");
1356 return StatusCode::SUCCESS;
1362 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::MuonContainer DUMP===========" );
1364 return StatusCode::SUCCESS;
◆ dumpxAODPhotonContainer()
StatusCode TrigEDMChecker::dumpxAODPhotonContainer |
( |
| ) |
|
|
private |
Definition at line 1926 of file TrigEDMChecker.cxx.
1930 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::PhotonContainer DUMP===========" );
1934 if (
sc.isFailure()) {
1935 ATH_MSG_INFO(
"REGTEST No Photon container HLT_xAOD__PhotonContainer_egamma_Photons");
1936 return StatusCode::SUCCESS;
1939 float val_float=-99;
1940 unsigned int isEMbit=0;
1942 ATH_MSG_INFO(
" REGTEST: xAOD Reconstruction variables: ");
1944 for (
const auto eg : *phCont){
1950 ATH_MSG_INFO(
" REGTEST: isEMLoose " <<
eg->selectionisEM(isEMbit,
"isEMLoose"));
1951 ATH_MSG_INFO(
" REGTEST: isEMLoose bit " << std::hex << isEMbit << std::dec);
1952 ATH_MSG_INFO(
" REGTEST: isEMMedium " <<
eg->selectionisEM(isEMbit,
"isEMMedium"));
1953 ATH_MSG_INFO(
" REGTEST: isEMMedium bit " << std::hex << isEMbit << std::dec);
1954 ATH_MSG_INFO(
" REGTEST: isEMTight " <<
eg->selectionisEM(isEMbit,
"isEMTight"));
1955 ATH_MSG_INFO(
" REGTEST: isEMTight bit " << std::hex << isEMbit << std::dec);
1957 ATH_MSG_INFO(
" REGTEST: problems with egamma pointer" );
1958 return StatusCode::SUCCESS;
1961 if (
eg->caloCluster()) {
1962 ATH_MSG_INFO(
" REGTEST: egamma cluster transverse energy: " <<
eg->caloCluster()->et() );
1963 ATH_MSG_INFO(
" REGTEST: egamma cluster eta: " <<
eg->caloCluster()->eta() );
1964 ATH_MSG_INFO(
" REGTEST: egamma cluster phi: " <<
eg->caloCluster()->phi() );
1965 double tmpeta = -999.;
1966 double tmpphi = -999.;
1969 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. etaCalo = " << tmpeta);
1970 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. phiCalo = " << tmpphi);
1972 ATH_MSG_INFO(
" REGTEST: problems with egamma cluster pointer" );
1974 ATH_MSG_INFO(
"REGTEST: Check the original (uncalibrated)");
1976 if (!orig.isAvailable(*
eg->caloCluster()) || !orig(*
eg->caloCluster()).isValid()){
1981 ATH_MSG_INFO(
"REGTEST:: Compare new and old clusters");
1982 ATH_MSG_INFO(
"REGTEST:: Original Cluster e,eta,phi" << origClus->
e() <<
" " << origClus->
eta() <<
" " << origClus->
phi());
1983 ATH_MSG_INFO(
"REGTEST:: MVA Cluster e,eta,phi" <<
eg->caloCluster()->e() <<
" " <<
eg->caloCluster()->eta() <<
" " <<
eg->caloCluster()->phi());
2011 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::PhotonContainer DUMP===========" );
2013 return StatusCode::SUCCESS;
◆ dumpxAODTrackParticle()
StatusCode TrigEDMChecker::dumpxAODTrackParticle |
( |
| ) |
|
|
private |
Definition at line 3867 of file TrigEDMChecker.cxx.
3871 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrackParticle DUMP===========");
3873 std::vector<std::string> SGkeys;
3874 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Bjet_EFID");
3875 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Bphysics_EFID");
3876 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Electron_EFID");
3877 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_FullScan_EFID");
3878 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Muon_EFID");
3879 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Photon_EFID");
3880 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Tau_EFID");
3887 if (
sc.isFailure()) {
3888 ATH_MSG_INFO(
"REGTEST No track particle container found with key " << SGkeys.at(
SGkey));
3891 ATH_MSG_INFO(
"REGTEST TrackParticleContainer retrieved with key " << SGkeys.at(
SGkey)
3892 <<
" and size " << trackParticleContainer->
size());
3897 for (
int index = 0; trackParticleItr != trackParticleLast; ++trackParticleItr, ++
index) {
3901 ATH_MSG_INFO(
"REGTEST pt: " << (*trackParticleItr)->pt()
3902 <<
"/eta: " << (*trackParticleItr)->eta()
3903 <<
"/phi: " << (*trackParticleItr)->phi()
3904 <<
"/m: " << (*trackParticleItr)->m()
3905 <<
"/e: " << (*trackParticleItr)->e()
3906 <<
"/rapidity: " << (*trackParticleItr)->rapidity());
3908 ATH_MSG_INFO(
"REGTEST Defining parameters functions:");
3909 ATH_MSG_INFO(
"REGTEST charge: " << (*trackParticleItr)->charge()
3910 <<
"/d0: " << (*trackParticleItr)->d0()
3911 <<
"/z0: " << (*trackParticleItr)->z0()
3912 <<
"/phi0: " << (*trackParticleItr)->phi0()
3913 <<
"/theta: " << (*trackParticleItr)->theta()
3914 <<
"/qOverP: " << (*trackParticleItr)->qOverP()
3915 <<
"/vx: " << (*trackParticleItr)->vx()
3916 <<
"/vy: " << (*trackParticleItr)->vy()
3917 <<
"/vz: " << (*trackParticleItr)->vz());
3922 ATH_MSG_INFO(
"REGTEST chiSquared: " << (*trackParticleItr)->chiSquared()
3923 <<
"/numberDoF: " << (*trackParticleItr)->numberDoF());
3928 msg() << MSG::INFO <<
"REGTEST ";
3933 msg() <<
"/numberOfBLayerHits not found";
3940 msg() <<
"/numberOfPixelHits not found";
3947 msg() <<
"/numberOfPixelHoles not found";
3954 msg() <<
"/numberOfSCTHits not found";
3961 msg() <<
"/numberOfSCTHoles not found";
3968 msg() <<
"/numberOfTRTHits not found";
3975 msg() <<
"/numberOfTRTHoles not found";
3981 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrackParticle DUMP===========");
◆ dumpxAODTrigElectronContainer()
StatusCode TrigEDMChecker::dumpxAODTrigElectronContainer |
( |
| ) |
|
|
private |
Definition at line 1669 of file TrigEDMChecker.cxx.
1673 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrigElectronContainer DUMP===========" );
1677 if (
sc.isFailure()) {
1678 ATH_MSG_INFO(
"REGTEST No TrigElectron container HLT_xAOD__TrigElectronContainer_L2ElectronFex");
1679 return StatusCode::SUCCESS;
1682 for (
const auto eg : *elCont){
1683 ATH_MSG_INFO(
"REGTEST TrigElectron->Phi() returns " <<
eg->phi());
1684 ATH_MSG_INFO(
"REGTEST TrigElectron->Eta() returns " <<
eg->eta());
1685 ATH_MSG_INFO(
"REGTEST TrigElectron->rEta returns " <<
eg->rcore());
1686 ATH_MSG_INFO(
"REGTEST TrigElectron->eratio() returns " <<
eg->eratio());
1688 ATH_MSG_INFO(
"REGTEST TrigElectron->etHad() returns " <<
eg->etHad());
1690 ATH_MSG_INFO(
"REGTEST TrigElectron caloEta = " <<
eg->caloEta());
1691 ATH_MSG_INFO(
"REGTEST TrigElectron dPhiCalo" <<
eg->trkClusDphi());
1692 ATH_MSG_INFO(
"REGTEST TrigElectron dEtaCalo" <<
eg->trkClusDeta());
1696 ATH_MSG_INFO(
"REGTEST TrigElectron nStrawHits" <<
eg->nTRTHiThresholdHits());
1698 if(
eg->emCluster()){
1699 ATH_MSG_INFO(
"REGTEST TrigElectron EMCluster retrieved");
1700 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster->energy() returns " <<
eg->emCluster()->energy());
1701 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster->phi() returns " <<
eg->emCluster()->phi());
1702 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster->eta() returns " <<
eg->emCluster()->eta());
1703 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster check Element Link");
1704 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster energy = " <<
eg->emCluster()->energy());
1705 ATH_MSG_INFO(
"REGTEST TrigElectron ElementLink emCluster energy = " << (*
eg->emClusterLink())->energy());
1707 else ATH_MSG_INFO(
"REGTEST TrigElectron No EMCluster retrieved!");
1708 ATH_MSG_INFO(
"REGTEST TrigElectron Check TrackParticle");
1709 if(
eg->trackParticle()){
1710 ATH_MSG_INFO(
"REGTEST TrigElectron TrackParticle retrieved");
1711 ATH_MSG_INFO(
"REGTEST TrigElectron trackParticle->pt() returns " <<
eg->trackParticle()->pt());
1712 ATH_MSG_INFO(
"REGTEST TrigElectron trackParticle->phi() returns " <<
eg->trackParticle()->phi());
1713 ATH_MSG_INFO(
"REGTEST TrigElectron trackParticle->eta() returns " <<
eg->trackParticle()->eta());
1714 ATH_MSG_INFO(
"REGTEST TrigElectron check TrackParticle Element Link");
1715 ATH_MSG_INFO(
"REGTEST TrigElectron TrackParticle pt = " <<
eg->trackParticle()->pt());
1716 ATH_MSG_INFO(
"REGTEST TrigElectron ElementLink TrackParticle pt = " << (*
eg->trackParticleLink())->pt());
1718 else ATH_MSG_INFO(
"REGTEST TrigElectron No TrackParticle retrieved!");
1720 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrigElectronContainer DUMP===========" );
1722 return StatusCode::SUCCESS;
◆ dumpxAODTrigMinBias()
StatusCode TrigEDMChecker::dumpxAODTrigMinBias |
( |
| ) |
|
|
private |
◆ dumpxAODTrigMissingET()
StatusCode TrigEDMChecker::dumpxAODTrigMissingET |
( |
| ) |
|
|
private |
Definition at line 834 of file TrigEDMChecker.cxx.
839 std::string METTags[]={
"HLT_xAOD__TrigMissingETContainer_EFJetEtSum",
"HLT_xAOD__TrigMissingETContainer_TrigEFMissingET",
"HLT_xAOD__TrigMissingETContainer_TrigL2MissingET_FEB",
"HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl"};
841 for(
int itag=0; itag <ntag; itag++) {
848 ATH_MSG_INFO(
"Accessing " << METTags[itag] <<
" with " << MissingETCont->
size() <<
" elements");
853 std::string
s;
char buff[3000];
855 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Ex = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->ex() );
857 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Ey = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->ey() );
859 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Ez = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->ez() );
861 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SumET = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->sumEt() );
863 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SumE = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->sumE() );
865 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Flag = %d",
s.c_str(), MissingETCont->
at(
i)->flag() );
867 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Flag = %d",
s.c_str(), MissingETCont->
at(
i)->roiWord() );
870 unsigned int Nc = MissingETCont->
at(
i)->getNumberOfComponents();
872 s=
"REGTEST __name____status_usedChannels__sumOfSigns__calib1_calib0";
873 s+=
"/MeV__ex/MeV_____ey/MeV_____ez/MeV___sumE/MeV__sumEt/CLHEP::MeV";
877 for(
uint j = 0; j < Nc; j++) {
879 std::string
name = MissingETCont->
at(
i)->nameOfComponent(j);
880 const short status = MissingETCont->
at(
i)->statusComponent(j);
881 const unsigned short usedChan = MissingETCont->
at(
i)->usedChannelsComponent(j);
882 const short sumOfSigns = MissingETCont->
at(
i)->sumOfSignsComponent(j);
883 const float calib0 = MissingETCont->
at(
i)->calib0Component(j);
884 const float calib1 = MissingETCont->
at(
i)->calib1Component(j);
885 const float ex = MissingETCont->
at(
i)->exComponent(j);
886 const float ey = MissingETCont->
at(
i)->eyComponent(j);
887 const float ez = MissingETCont->
at(
i)->ezComponent(j);
888 const float sumE = MissingETCont->
at(
i)->sumEComponent(j);
889 const float sumEt = MissingETCont->
at(
i)->sumEtComponent(j);
892 "REGTEST %s %6d %12d %10d %6.2f %6.3f %10.2f %10.2f %10.2f %10.2f %10.2f",
893 name.c_str(),
status, usedChan, sumOfSigns, calib1, calib0,
894 ex, ey, ez, sumE, sumEt);
901 return StatusCode::SUCCESS;
◆ dumpxAODTrigPhotonContainer()
StatusCode TrigEDMChecker::dumpxAODTrigPhotonContainer |
( |
| ) |
|
|
private |
Definition at line 1727 of file TrigEDMChecker.cxx.
1731 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrigPhotonContainer DUMP===========" );
1735 if (
sc.isFailure()) {
1736 ATH_MSG_INFO(
"REGTEST No TrigPhoton container HLT_xAOD__TrigPhotonContainer_L2PhotonFex");
1737 return StatusCode::SUCCESS;
1740 for (
const auto eg : *phCont){
1744 ATH_MSG_INFO(
"REGTEST TrigPhoton->dPhi() returns " <<
eg->dPhi());
1745 ATH_MSG_INFO(
"REGTEST TrigPhoton->dEta() returns " <<
eg->dEta());
1746 ATH_MSG_INFO(
"REGTEST TrigPhoton->rEta returns " <<
eg->rcore());
1747 ATH_MSG_INFO(
"REGTEST TrigPhoton->eratio() returns " <<
eg->eratio());
1749 ATH_MSG_INFO(
"REGTEST TrigPhoton->etHad() returns " <<
eg->etHad());
1752 if(
eg->emCluster()){
1753 ATH_MSG_INFO(
"REGTEST TrigPhoton EMCluster retrieved");
1754 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster->energy() returns " <<
eg->emCluster()->energy());
1755 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster->phi() returns " <<
eg->emCluster()->phi());
1756 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster->eta() returns " <<
eg->emCluster()->eta());
1757 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster check Element Link");
1758 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster energy = " <<
eg->emCluster()->energy());
1759 ATH_MSG_INFO(
"REGTEST TrigPhoton ElementLink emCluster energy = " << (*
eg->emClusterLink())->energy());
1761 else ATH_MSG_INFO(
"REGTEST TrigPhoton No EMCluster retrieved!");
1763 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrigPhotonContainer DUMP===========" );
1765 return StatusCode::SUCCESS;
◆ dumpxAODVertex()
StatusCode TrigEDMChecker::dumpxAODVertex |
( |
| ) |
|
|
private |
Definition at line 3987 of file TrigEDMChecker.cxx.
3991 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::Vertex DUMP===========");
3995 if (
sc.isFailure()) {
3997 return StatusCode::FAILURE;
4004 for (
int index = 0; vertexItr != vertexLast; ++vertexItr, ++
index) {
4009 <<
"/y: " << (*vertexItr)->y()
4010 <<
"/z: " << (*vertexItr)->z());
4013 ATH_MSG_INFO(
"REGTEST chiSquared: " << (*vertexItr)->chiSquared()
4014 <<
"/numberDoF: " << (*vertexItr)->numberDoF());
4017 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::Vertex DUMP===========");
4020 return StatusCode::SUCCESS;
◆ 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 ) );
◆ endInputFile()
StatusCode AthAnalysisAlgorithm::endInputFile |
( |
| ) |
|
|
protectedvirtualinherited |
Function called as an input file is being closed.
Dummy implementation that can be overridden by the derived tool.
Definition at line 122 of file AthAnalysisAlgorithm.cxx.
125 return StatusCode::SUCCESS;
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
StatusCode TrigEDMChecker::execute |
( |
| ) |
|
|
overridevirtual |
◆ 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();
◆ firstExecute()
StatusCode AthAnalysisAlgorithm::firstExecute |
( |
| ) |
|
|
protectedvirtualinherited |
◆ 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 ) );
◆ handle()
void AthAnalysisAlgorithm::handle |
( |
const Incident & |
inc | ) |
|
|
overrideprotectedvirtualinherited |
Function receiving incidents from IncidentSvc/TEvent Experts can override but they should ensure they add AthAnalysisAlgorithm::handle(); to the end of their own implementation.
Definition at line 83 of file AthAnalysisAlgorithm.cxx.
89 if( inc.type() == IncidentType::BeginInputFile ) {
93 throw std::runtime_error(
"Couldn't call beginInputFile()" );
95 }
else if(inc.type() == IncidentType::EndInputFile ) {
98 throw std::runtime_error(
"Couldn't call endInputFile()" );
100 }
else if(inc.type() ==
"MetaDataStop" ) {
103 throw std::runtime_error(
"Couldn't call metaDataStop()" );
◆ 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 TrigEDMChecker::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.
◆ inputMetaStore() [1/2]
◆ inputMetaStore() [2/2]
◆ metaDataStop()
StatusCode AthAnalysisAlgorithm::metaDataStop |
( |
| ) |
|
|
protectedvirtualinherited |
Function called before finalize user can read output metadata from outputMetaStore()
Dummy implementation that can be overridden by the derived tool.
Definition at line 130 of file AthAnalysisAlgorithm.cxx.
133 return StatusCode::SUCCESS;
◆ 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.
◆ outputMetaStore() [1/2]
◆ outputMetaStore() [2/2]
◆ printMuonTrk() [1/2]
◆ printMuonTrk() [2/2]
◆ renounce()
◆ renounceArray()
◆ retrieveMetadata() [1/2]
template<typename T >
StatusCode AthAnalysisAlgorithm::retrieveMetadata |
( |
const std::string & |
folder, |
|
|
const std::string & |
key, |
|
|
T & |
out |
|
) |
| |
|
inlineinherited |
◆ retrieveMetadata() [2/2]
template<typename T >
StatusCode AthAnalysisAlgorithm::retrieveMetadata |
( |
const std::string & |
folder, |
|
|
const std::string & |
key, |
|
|
T & |
out, |
|
|
const IOVTime & |
time, |
|
|
int |
channel = -1 |
|
) |
| |
|
inlineinherited |
◆ sysExecute()
StatusCode AthAnalysisAlgorithm::sysExecute |
( |
const EventContext & |
ctx | ) |
|
|
overridevirtualinherited |
override to do firstEvent method
Definition at line 72 of file AthAnalysisAlgorithm.cxx.
77 return StatusCode::FAILURE;
80 return AthHistogramAlgorithm::sysExecute(ctx);
◆ sysInitialize()
StatusCode AthAnalysisAlgorithm::sysInitialize |
( |
| ) |
|
|
overridevirtualinherited |
Function initialising the tool in the correct way in Athena.
Reimplemented from AthHistogramAlgorithm.
Definition at line 50 of file AthAnalysisAlgorithm.cxx.
57 incSvc->removeListener(
this, IncidentType::BeginInputFile );
58 incSvc->addListener(
this, IncidentType::BeginInputFile, 0,
true );
59 incSvc->removeListener(
this, IncidentType::EndInputFile );
60 incSvc->addListener(
this, IncidentType::EndInputFile, 0,
true );
61 incSvc->removeListener(
this,
"MetaDataStop" );
62 incSvc->addListener(
this,
"MetaDataStop", 0,
true );
69 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 ) );
◆ TrigCompositeNavigationToDot()
StatusCode TrigEDMChecker::TrigCompositeNavigationToDot |
( |
std::string & |
returnValue, |
|
|
bool & |
pass |
|
) |
| |
|
private |
Construct graph of HLT navigation in Run-3.
- Parameters
-
returnValue | String to populate with dot graph. |
pass | When using a chain filter, if the chain group passed raw. |
Navigates all TrigComposite objects in store gate and forms a relational graph in the dot format
Definition at line 4220 of file TrigEDMChecker.cxx.
4226 std::vector<std::string>
keys;
4233 std::string typeNameTC;
4239 chainIDs.insert( chainID.numeric() );
4244 pass = cg->
isPassed(TrigDefs::requireDecision);
4249 chainIDs.insert( chainID_tmp.numeric() );
4251 if (legMultiplicites.size() == 0) {
4252 ATH_MSG_ERROR(
"chain " << chainID_tmp <<
" has invalid configuration, no multiplicity data.");
4253 }
else if (legMultiplicites.size() > 1) {
4256 for (
size_t legNumeral = 0; legNumeral < legMultiplicites.size(); ++legNumeral) {
4258 chainIDs.insert( legID.
numeric() );
4267 std::stringstream
ss;
4268 ss <<
"digraph {" << std::endl;
4269 ss <<
" node [shape=rectangle]" << std::endl;
4270 ss <<
" rankdir = BT" << std::endl;
4273 for (
const std::string&
key :
keys) {
4280 ATH_MSG_DEBUG(
"Processing collection " <<
key <<
" to be added to the navigation graph");
4282 bool writtenHeader =
false;
4283 for (
const Decision* tc : *container ) {
4287 std::vector<ElementLink<DecisionContainer>> seedELs = tc->objectCollectionLinks<
DecisionContainer>(
"seed");
4288 const bool isHypoAlgNode = tc->name() ==
"H";
4289 const bool isComboHypoAlgNode = tc->name() ==
"CH";
4290 const std::vector<DecisionID>&
decisions = tc->decisions();
4294 bool doDump =
false;
4297 if (chainIDs.count(
id) == 1) {
4305 const std::vector<DecisionID>& seedDecisions = (*s)->decisions();
4307 if (chainIDs.count(
id) == 1) {
4318 if (!writtenHeader) {
4319 writtenHeader =
true;
4320 ss <<
" subgraph " <<
key <<
" {" << std::endl;
4321 ss <<
" label=\"" <<
key <<
"\"" << std::endl;
4323 const std::string
scheme =
"rdpu9";
4324 std::string
color =
"1";
4325 if (tc->name() ==
"L1") {
color =
"1"; }
4326 else if (tc->name() ==
"F") {
color =
"2"; }
4327 else if (tc->name() ==
"IM") {
color =
"3"; }
4328 else if (tc->name() ==
"H") {
color =
"4"; }
4329 else if (tc->name() ==
"CH") {
color =
"5"; }
4330 else if (tc->name() ==
"SF") {
color =
"6"; }
4331 else if (tc->name() ==
"HLTPassRaw") {
color =
"7"; }
4332 ss <<
" \"" << selfKey <<
"_" << selfIndex <<
"\" [colorscheme="<<
scheme<<
",style=filled,fillcolor="<<
color<<
",label=<<B>Container</B>=" << typeNameTC;
4333 if (tc->name() !=
"")
ss <<
" <B>Name</B>=" << tc->name();
4334 ss <<
"<BR/><B>Key</B>=" <<
key <<
"<BR/><B>Index</B>=" << selfIndex;
4335 const bool isRemapped = tc->isRemapped();
4336 if (isHypoAlgNode)
ss <<
" <B>linksRemapped</B>=" << (isRemapped ?
"Y" :
"N");
4338 ss <<
"<BR/><B>Pass</B>=";
4342 std::string highlight = (dID.numeric() == chainID.numeric() ?
"<B>[CHAIN:" :
"");
4346 ss << std::hex << highlight << decisionID << (!highlight.empty() ?
"]</B>" :
"") << std::dec <<
",";
4353 ss <<
">]" << std::endl;
4355 size_t seedCount = 0;
4356 for (
size_t i = 0;
i < tc->linkColNames().size(); ++
i) {
4357 const std::string link = tc->linkColNames().at(
i);
4358 if (link ==
"seed" || link ==
"seed__COLL") {
4360 const uint32_t seedKey = tc->linkColKeys().at(
i);
4361 const uint32_t seedIndex = tc->linkColIndices().at(
i);
4365 const std::vector<DecisionID> seedDecisions = (*seedEL)->decisions();
4366 bool doSeedLink =
false;
4368 if (chainIDs.count(
id) == 1) {
4377 ss <<
" \"" << selfKey <<
"_" << selfIndex <<
"\" -> \"" << seedKey <<
"_" << seedIndex <<
"\" [colorscheme="<<
scheme<<
",color=9,fontcolor=8,label=\"seed\"]" << std::endl;
4380 std::string linkColour =
"12";
4381 std::string linkBackground =
"11";
4382 const std::string extScheme =
"paired12";
4383 if (link ==
"roi") { linkColour=
"2"; linkBackground=
"1"; }
4384 else if (link ==
"initialRoI") { linkColour=
"2"; linkBackground=
"1"; }
4385 else if (link ==
"initialRecRoI") { linkColour=
"8"; linkBackground=
"7"; }
4386 else if (link ==
"feature") { linkColour=
"4"; linkBackground=
"3"; }
4387 else if (link ==
"view") { linkColour=
"10"; linkBackground=
"9"; }
4388 const CLID linkCLID =
static_cast<CLID>( tc->linkColClids().at(
i) );
4394 const unsigned index = (isRemapped ? tc->linkColIndicesRemap().at(
i) : tc->linkColIndices().at(
i));
4397 const std::string* keyStr =
evtStore()->keyToString(
key, checkCLID);
4398 if (keyStr !=
nullptr && checkCLID != linkCLID) {
4399 std::string tnameOfCheck;
4400 m_clidSvc->getTypeNameOfID(checkCLID, tnameOfCheck).ignore();
4401 ATH_MSG_ERROR(
"Inconsistent CLID " << checkCLID <<
" [" << tnameOfCheck <<
"] stored in storegate for key " <<
key
4402 <<
". We were expecting " << linkCLID <<
" [" << tname <<
"]");
4405 std::string tnameEscape;
4406 for (std::string::const_iterator
i = tname.begin();
i != tname.end(); ++
i) {
4407 unsigned char c = *
i;
4409 tnameEscape +=
"<";
4410 }
else if (
c ==
'>') {
4411 tnameEscape +=
">";
4418 ss <<
" \"" << selfKey <<
"_" << selfIndex <<
"\" -> \"" <<
key <<
"_" <<
index <<
"\" ";
4419 ss <<
"[colorscheme="<<extScheme<<
",color="<<linkColour<<
",fontcolor="<<linkColour<<
",arrowhead=empty,label=\"" << link <<
"\"]" << std::endl;
4422 const bool linkToSelf = (selfKey ==
key and selfIndex ==
index);
4425 ss <<
" \"" <<
key <<
"_" <<
index <<
"\" [colorscheme="<<extScheme<<
",style=filled,fillcolor="<<linkBackground<<
",label=<<B>Container</B>=" << tnameEscape <<
"<BR/><B>Key</B>=";
4426 if (keyStr !=
nullptr)
ss << *keyStr;
4427 else ss <<
"[<I>KEY "<<
key <<
" NOT IN STORE</I>] ";
4428 ss <<
"<BR/><B>Index</B>=" <<
index <<
">]";
4435 if (writtenHeader) {
4436 ss <<
" }" << std::endl;
4440 ss <<
"}" << std::endl;
4442 returnValue.assign(
ss.str() );
4443 return StatusCode::SUCCESS;
◆ updateEvtStore()
void AthAnalysisAlgorithm::updateEvtStore |
( |
Gaudi::Details::PropertyBase & |
prop | ) |
|
|
protectedinherited |
◆ updateVHKA()
◆ m_clidSvc
◆ m_currentFile
TFile* AthAnalysisAlgorithm::m_currentFile {nullptr} |
|
privateinherited |
◆ m_decisionsKey
◆ m_detStore
◆ m_doDumpAll
bool TrigEDMChecker::m_doDumpAll |
|
private |
◆ m_doDumpAllTrigComposite
bool TrigEDMChecker::m_doDumpAllTrigComposite |
|
private |
◆ m_doDumpCombinedMuonFeature
bool TrigEDMChecker::m_doDumpCombinedMuonFeature |
|
private |
◆ m_doDumpHLTResult
bool TrigEDMChecker::m_doDumpHLTResult |
|
private |
◆ m_doDumpLVL1_ROI
bool TrigEDMChecker::m_doDumpLVL1_ROI |
|
private |
◆ m_doDumpMuonFeature
bool TrigEDMChecker::m_doDumpMuonFeature |
|
private |
◆ m_doDumpNavigation
bool TrigEDMChecker::m_doDumpNavigation |
|
private |
◆ m_doDumpStoreGate
bool TrigEDMChecker::m_doDumpStoreGate |
|
private |
◆ m_doDumpTauJetContainer
bool TrigEDMChecker::m_doDumpTauJetContainer |
|
private |
◆ m_doDumpTileMuFeature
bool TrigEDMChecker::m_doDumpTileMuFeature |
|
private |
◆ m_doDumpTileTrackMuFeature
bool TrigEDMChecker::m_doDumpTileTrackMuFeature |
|
private |
◆ m_doDumpTrackParticleContainer
bool TrigEDMChecker::m_doDumpTrackParticleContainer |
|
private |
◆ m_doDumpTrigCompsiteNavigation
bool TrigEDMChecker::m_doDumpTrigCompsiteNavigation |
|
private |
◆ m_doDumpTrigEFBjetContainer
bool TrigEDMChecker::m_doDumpTrigEFBjetContainer |
|
private |
◆ m_doDumpTrigEFBphysContainer
bool TrigEDMChecker::m_doDumpTrigEFBphysContainer |
|
private |
◆ m_doDumpTrigElectronContainer
bool TrigEDMChecker::m_doDumpTrigElectronContainer |
|
private |
◆ m_doDumpTrigEMCluster
bool TrigEDMChecker::m_doDumpTrigEMCluster |
|
private |
◆ m_doDumpTrigEMClusterContainer
bool TrigEDMChecker::m_doDumpTrigEMClusterContainer |
|
private |
◆ m_doDumpTrigInDetTrackCollection
bool TrigEDMChecker::m_doDumpTrigInDetTrackCollection |
|
private |
◆ m_doDumpTrigL2BjetContainer
bool TrigEDMChecker::m_doDumpTrigL2BjetContainer |
|
private |
◆ m_doDumpTrigL2BphysContainer
bool TrigEDMChecker::m_doDumpTrigL2BphysContainer |
|
private |
◆ m_doDumpTrigMissingET
bool TrigEDMChecker::m_doDumpTrigMissingET |
|
private |
◆ m_doDumpTrigMuonEFContainer
bool TrigEDMChecker::m_doDumpTrigMuonEFContainer |
|
private |
◆ m_doDumpTrigMuonEFInfoContainer
bool TrigEDMChecker::m_doDumpTrigMuonEFInfoContainer |
|
private |
◆ m_doDumpTrigMuonEFIsolationContainer
bool TrigEDMChecker::m_doDumpTrigMuonEFIsolationContainer |
|
private |
◆ m_doDumpTrigPassBits
bool TrigEDMChecker::m_doDumpTrigPassBits |
|
private |
◆ m_doDumpTrigPhotonContainer
bool TrigEDMChecker::m_doDumpTrigPhotonContainer |
|
private |
◆ m_doDumpTrigTauClusterContainer
bool TrigEDMChecker::m_doDumpTrigTauClusterContainer |
|
private |
◆ m_doDumpTrigTauContainer
bool TrigEDMChecker::m_doDumpTrigTauContainer |
|
private |
◆ m_doDumpTrigTauTracksInfo
bool TrigEDMChecker::m_doDumpTrigTauTracksInfo |
|
private |
◆ m_doDumpTrigVertexCollection
bool TrigEDMChecker::m_doDumpTrigVertexCollection |
|
private |
◆ m_doDumpxAODElectronContainer
bool TrigEDMChecker::m_doDumpxAODElectronContainer |
|
private |
◆ m_doDumpxAODJetContainer
bool TrigEDMChecker::m_doDumpxAODJetContainer |
|
private |
◆ m_doDumpxAODMuonContainer
bool TrigEDMChecker::m_doDumpxAODMuonContainer |
|
private |
◆ m_doDumpxAODPhotonContainer
bool TrigEDMChecker::m_doDumpxAODPhotonContainer |
|
private |
◆ m_doDumpxAODTauJetContainer
bool TrigEDMChecker::m_doDumpxAODTauJetContainer |
|
private |
◆ m_doDumpxAODTrackParticle
bool TrigEDMChecker::m_doDumpxAODTrackParticle |
|
private |
◆ m_doDumpxAODTrigElectronContainer
bool TrigEDMChecker::m_doDumpxAODTrigElectronContainer |
|
private |
◆ m_doDumpxAODTrigEMCluster
bool TrigEDMChecker::m_doDumpxAODTrigEMCluster |
|
private |
◆ m_doDumpxAODTrigEMClusterContainer
bool TrigEDMChecker::m_doDumpxAODTrigEMClusterContainer |
|
private |
◆ m_doDumpxAODTrigMinBias
bool TrigEDMChecker::m_doDumpxAODTrigMinBias |
|
private |
◆ m_doDumpxAODTrigMissingET
bool TrigEDMChecker::m_doDumpxAODTrigMissingET |
|
private |
◆ m_doDumpxAODTrigPhotonContainer
bool TrigEDMChecker::m_doDumpxAODTrigPhotonContainer |
|
private |
◆ m_doDumpxAODVertex
bool TrigEDMChecker::m_doDumpxAODVertex |
|
private |
◆ m_doneFirstEvent
bool AthAnalysisAlgorithm::m_doneFirstEvent {false} |
|
privateinherited |
◆ m_doTDTCheck
bool TrigEDMChecker::m_doTDTCheck |
|
private |
◆ m_dumpNavForChain
Gaudi::Property<std::string> TrigEDMChecker::m_dumpNavForChain {this, "DumpNavigationForChain", "", "Optional chain to restrict navigation dump info."} |
|
private |
◆ m_dumpTrigCompositeContainers
std::vector<std::string> TrigEDMChecker::m_dumpTrigCompositeContainers |
|
private |
◆ m_effMap
◆ m_evtStore
◆ m_excludeFailedHypoNodes
Gaudi::Property<bool> TrigEDMChecker::m_excludeFailedHypoNodes |
|
private |
Initial value:{this, "excludeFailedHypoNodes", false,
"Optional flag to exclude nodes which fail the hypothesis tool for a chain when dumping navigation graphs."}
Definition at line 188 of file TrigEDMChecker.h.
◆ 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_inputMetaStore
◆ m_msg
MsgStream AthHistogramming::m_msg |
|
privateinherited |
◆ m_muonPrinter
◆ m_muonTracksKey
◆ m_name
std::string AthHistogramming::m_name |
|
privateinherited |
◆ m_navigationHandleKey
◆ m_navigationTool
◆ m_outputMetaStore
◆ m_prefix
std::string AthHistogramAlgorithm::m_prefix |
|
privateinherited |
◆ m_rootDir
std::string AthHistogramAlgorithm::m_rootDir |
|
privateinherited |
◆ m_streamName
std::string AthHistogramming::m_streamName |
|
privateinherited |
◆ m_trackWarningNum
int TrigEDMChecker::m_trackWarningNum {0} |
|
private |
◆ m_treeMap
◆ m_trigDec
◆ m_varHandleArraysDeclared
◆ m_vertexWarningNum
int TrigEDMChecker::m_vertexWarningNum {0} |
|
private |
◆ 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)
JetConstituentVector::iterator iterator
SG::ReadHandleKey< xAOD::TrigNavigation > m_navigationHandleKey
const ServiceHandle< ITHistSvc > & histSvc() const
The standard THistSvc (for writing histograms and TTrees and more to a root file) Returns (kind of) a...
virtual double phi() const
The azimuthal angle ( ) of the particle.
@ numberOfPixelHits
number of pixel layers on track with absence of hits
Gaudi::Property< bool > m_excludeFailedHypoNodes
@ numberOfPixelHoles
number of pixel layers on track with absence of hits [unit8_t].
@ GhostTruthParticleCount
bool m_doDumpTrigEMCluster
bool m_doDumpxAODJetContainer
double ez0() const
variance of longitudinal impact parameter
Const iterator class for DataVector/DataList.
void myReplace(std::string &str, const std::string &oldStr, const std::string &newStr)
Helper method to replace sub-string.
double charge() const
Return charge of the particle.
MsgStream m_msg
Cached Message Stream.
HistMap_t m_histMap
The map of histogram names to their pointers.
virtual StatusCode endInputFile()
Function called as an input file is being closed.
bool starts_with(const char *s, const char *prefix)
Test whether one null-terminated byte string starts with another.
void getAll(std::vector< TriggerElement * > &output, const bool activeOnly=true) const
The query returning a collection of all TriggerElements.
ToolHandle< Rec::IMuonPrintingTool > m_muonPrinter
bool m_doDumpTrigInDetTrackCollection
bool isPassThrough() const
forced-accepted (FA) event configuration the FA request(s) are set per chain and hlt level by the tig...
virtual StatusCode firstExecute()
Function called when first execute is encountered user can read event information with evtStore()
Scalar phi() const
phi method
ServiceHandle< ITHistSvc > m_histSvc
Default constructor: AthHistogramAlgorithm();.
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
std::vector< Identifier > ID
bool m_doDumpxAODTrigMissingET
std::string label(class_id_type clid, const index_or_label_type &sti_or_label) const
const std::string & chain_name() const
TrigCompositeUtils::DecisionID numeric() const
numeric ID
@ e2ts1
2nd max in strips calc by summing 3 strips
StatusCode book(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
Helper class to provide type-safe access to aux data.
bool m_doDumpTrigMuonEFContainer
bool m_doDumpTrigElectronContainer
bool m_doDumpTrigL2BphysContainer
void surfaceCoordinate(double c)
Setter: surface reference coordinate for non-perigee surfaces.
ElementLink< CONTAINER > objectLink(const std::string &name) const
Get the link with the requested name.
Decision * newDecisionIn(DecisionContainer *dc, const std::string &name)
Helper method to create a Decision object, place it in the container and return a pointer to it.
Gaudi::Property< std::string > m_dumpNavForChain
Scalar eta() const
pseudorapidity method
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
std::vector< std::string > m_dumpTrigCompositeContainers
Scalar theta() const
theta method
virtual double p() const =0
momentum magnitude
bool deserialize(const std::vector< uint32_t > &input)
pType particleType() const
accessor method: particle Type
ServiceHandle< StoreGateSvc > m_inputMetaStore
Object accessing the input metadata store.
const TrackSummary * trackSummary() const
accessor function for TrackSummary.
te_id_type getId() const
reset internals.
class_id_type getCLID() const
Class ID of object.
static bool isTerminalNode(const TriggerElement *te)
queries if node is terminal (no more TriggerElement are seeded by it)
@ ptcone20
Track isolation.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
sgkey_t key() const
Get the key that we reference, as a hash.
std::vector< SG::VarHandleKeyArray * > m_vhka
void eta(const double eta)
Setter: pseudorapidity.
bool msgLvl(const MSG::Level lvl) const
size_t size() const
number of constituents
bool m_doDumpxAODTauJetContainer
double epT() const
variance of transverse momentum
void z0(const double z0)
Setter: longitudinal impact parameter.
SG::WriteHandle< DecisionContainer > createAndStore(const SG::WriteHandleKey< DecisionContainer > &key, const EventContext &ctx)
Creates and right away records the DecisionContainer with the key.
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
@ numberOfTRTHits
number of TRT hits [unit8_t].
float mass() const
accessor method: mass
const ServiceHandle< StoreGateSvc > & inputMetaStore() const
Const accessor for the input metadata store.
#define ATH_MSG_VERBOSE(x)
int barcode() const
Return the barcode of the target particle.
HLT chain configuration information.
const TrigBphys_v1 * secondaryDecay() const
accessor method: secondary decay particle
AthAnalysisAlgorithm(const std::string &name)
Constructor taking just a name.
bool m_doDumpTrackParticleContainer
std::string m_histNamePostfix
The postfix for the histogram THx name.
bool isValid() const
Test to see if the link can be dereferenced.
std::string getTree(const std::string &file_name)
@ numberOfBLayerHits
these are the hits in the first pixel layer, i.e.
const std::vector< uint32_t > & linkColClids() const
Raw access to the persistent link CLIDs.
const std::vector< unsigned int > & serialized() const
expose the navigation information (in serialized form)
Trk::RecVertex inherits from Trk::Vertex.
@ numberOfBLayerHits
these are the hits in the 0th pixel layer?
const std::vector< TriggerElement * > & getRelated(Relation rel) const
returns reference to the likns to other TriggerElements related by relation r
bool m_doDumpxAODTrigEMCluster
virtual void setOwner(IDataHandleHolder *o)=0
bool m_doDumpTrigMuonEFInfoContainer
bool m_doDumpxAODTrigEMClusterContainer
bool m_doDumpxAODTrigElectronContainer
HepMC::ConstGenParticlePtr cptr() const
Dereference.
bool m_doDumpTrigEMClusterContainer
static const CLID & ID()
the CLID of T
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
a link optimized in size for a GenParticle in a McEventCollection
Description of a calorimeter cluster.
bool m_doDumpAllTrigComposite
uint32_t containerClid() const
CLID of the target container.
static HLTHash string2hash(const std::string &, const std::string &category="TE")
hash function translating TE names into identifiers
virtual double eta() const
The pseudorapidity ( ) of the particle.
bool m_doDumpxAODElectronContainer
bool m_doDumpTrigCompsiteNavigation
bool m_doDumpTrigPhotonContainer
@ etcone20
Calorimeter isolation.
void surfaceType(TrigSurfaceType s)
Setter: surface type PERIGEE=0, BARREL=1, ENDCAP=2.
::StatusCode StatusCode
StatusCode definition for legacy code.
@ numberOfSCTHits
number of SCT holes
pointer_type ptr()
Dereference the pointer.
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
uint32_t size() const
The size of the target container.
Type describing which elements in a container passed a trigger chain.
Default, invalid implementation of ClassID_traits.
uint32_t roiId() const
accessor method: ID of L1 RoI
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
void dumpTrigT2MBTSBits()
bool m_doDumpTrigEFBphysContainer
void dumpTrigTrackCounts()
bool m_doDumpxAODPhotonContainer
virtual double eta() const =0
pseudo rapidity
void cov(const std::vector< double > *cov)
Setter: covariance matrix of track parameters.
virtual StatusCode metaDataStop()
Function called before finalize user can read output metadata from outputMetaStore()
bool m_doDumpxAODMuonContainer
The Navigation class, organizes TriggerElements into the tree structure.
GraphMap_t m_graphMap
The map of TGraph names to their pointers.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
bool m_doDumpxAODTrackParticle
const Amg::Vector3D & position() const
return position of vertex
std::string m_streamName
Name of the ROOT output stream (file)
HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basic...
@ numberOfSCTHoles
number of SCT holes [unit8_t].
Class used to describe composite objects in the HLT.
bool m_doDumpCombinedMuonFeature
float fitmass() const
accessor method: mass from vertex fit
bool isAccepted() const
gets HLT decision
bool m_doDumpTrigTauContainer
uint32_t hash_t
typedef for the internal hash
uint32_t CLID
The Class ID type.
uint64_t crc64(const CRCTable &table, const char *data, size_t data_len)
Find the CRC-64 of a string,.
virtual double phi() const =0
phi in [-pi,pi[
std::string m_histTitlePostfix
The postfix for the histogram THx title.
bool isEmpty() const
true if result is empty
Top level AOD object storing LVL1 RoIs.
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
double eeta() const
variance of pseudorapidity
double ea0() const
variance of transverse impact parameter
bool m_doDumpTrigEFBjetContainer
bool m_doDumpTileTrackMuFeature
bool isPassed(unsigned int condition=TrigDefs::Physics) const
tells if chain group passed
ServiceHandle< ::IClassIDSvc > m_clidSvc
@ numberOfTRTHits
number of TRT outliers
void dumpTrigVertexCounts()
const VxCandidate * reconstructedVertex() const
Get a pointer to the primary vertex.
A summary of the information contained by a track.
double ephi0() const
variance of azimuthal angle of the momentum
std::string to_string(const DetectorType &type)
const std::vector< uint32_t > & passBits() const
The internal bitmap created with the hypo decisions.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_muonTracksKey
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
hash_t hash(const std::string &histName) const
Method to calculate a 32-bit hash from a string.
def getHist(name, makehist)
uint32_t sgkey_t
Type used for hashed StoreGate key+CLID pairs.
virtual StatusCode sysInitialize()
Initialization method invoked by the framework.
Eigen::Matrix< double, 3, 1 > Vector3D
float phi() const
accessor method: phi
bool m_doDumpTrigMuonEFIsolationContainer
const std::vector< std::string > & linkColNames() const
Raw access to the persistent link names.
@ PHICALOFRAME
Phi in the calo frame (for egamma)
HLT::Identifier createLegName(const HLT::Identifier &chainIdentifier, size_t counter)
Generate the HLT::Identifier which corresponds to a specific leg of a given chain.
const Trk::Perigee * measuredPerigee() const
Accessor method for Perigee.
std::uint64_t hash64(const void *data, std::size_t size)
Passthrough to XXH3_64bits.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
void dumpTrigSpacePointCounts()
void linkToPrevious(Decision *d, const std::string &previousCollectionKey, size_t previousIndex)
Links to the previous object, location of previous 'seed' decision supplied by hand.
DataObjIDColl m_extendedExtraObjects
void a0(const double a0)
Setter: transverse impact parameter.
bool m_doDumpTrigVertexCollection
bool isLegId(const HLT::Identifier &legIdentifier)
Recognise whether the chain ID is a leg ID.
virtual StatusCode beginInputFile()
Function called when a new input file is opened user can read input metadata from inputMetaStore()
int32_t getIndexFromLeg(const HLT::Identifier &legIdentifier)
Extract the numeric index of a leg identifier.
EffMap_t m_effMap
The map of histogram names to their pointers.
std::set< DecisionID > DecisionIDContainer
const ObjectIndex & getIndex() const
index in the external ojects array
std::string m_histTitlePrefix
The prefix for the histogram THx title.
def time(flags, cells_name, *args, **kw)
the FeatureAccessHelper is a class used to keep track of features attached to this TE.
#define ATH_MSG_WARNING(x)
bool m_doDumpxAODTrigPhotonContainer
TreeMap_t m_treeMap
The map of TTree names to their pointers.
index_type index() const
Get the index of the element inside of its container.
std::string m_histNamePrefix
The prefix for the histogram THx name.
bool m_doDumpTrigTauClusterContainer
bool m_doDumpTauJetContainer
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
ToolHandle< HLT::Navigation > m_navigationTool
StatusCode checkTrigCompositeElementLink(const xAOD::TrigComposite *tc, size_t element)
Dump details on element links within TrigComposites.
unsigned int size() const
@ numberOfSCTHits
number of hits in SCT [unit8_t].
TH1 * hist(const std::string &histName, const std::string &tDir="", const std::string &stream="")
Simplify the retrieval of registered histograms of any type.
Interface to the raw trigger navigation information of the event.
SG::WriteHandleKey< TrigCompositeUtils::DecisionContainer > m_decisionsKey
ServiceHandle< ITHistSvc > m_histSvc
Pointer to the THistSvc (event store by default)
const std::vector< FeatureAccessHelper > & getFeatureAccessHelpers() const
returns all features which ara attached to this TE
A vector of jet constituents at the scale used during jet finding.
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
#define ATLAS_THREAD_SAFE
const T * at(size_type n) const
Access an element, as an rvalue.
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
ServiceHandle< StoreGateSvc > m_outputMetaStore
Object accessing the output metadata store.
unsigned int nrMatches() const
returns number of matching particles
const emtaus_type & getEmTauROIs() const
Get all the em/tau RoIs in the event.
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
std::vector< std::string > getListOfTriggers() const
float eta() const
accessor method: eta
bool m_doDumpTrigMissingET
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
@ ETACALOFRAME
Eta in the calo frame (for egamma)
std::string m_name
Instance name.
void phi0(const double phi0)
Setter: azimuthal angle of the momentum.
PublicToolHandle< Trig::TrigDecisionTool > m_trigDec
@ numberOfTRTHoles
number of TRT holes [unit8_t].
@ e335
uncalibrated energy (sum of cells) of the third sampling in a rectangle of size 3x5
bool m_doDumpxAODTrigMinBias
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
const Track * originalTrack() const
Return pointer to associated track.
bool m_doDumpTrigTauTracksInfo
size_type size() const noexcept
Returns the number of elements in the collection.
const std::vector< size_t > leg_multiplicities() const
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
bool m_doDumpTrigL2BjetContainer
virtual double e() const
The total energy of the particle.
bool m_doDumpTileMuFeature
void pT(const double pT)
Setter: transverse momentum.
Class describing a Bphysics online composite object.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
static std::string retrieveMetadata(const std::string &folder, const std::string &key, const ServiceHandle< StoreGateSvc > &inputMetaStore)
method that always returns as a string you can use from, e.g, pyROOT with evt = ROOT....
void buildBookingString(std::string &bookingString, std::string &histName, std::string &tDir, std::string &stream, bool usePrefixPostfix=false)
Method to build individual booking string.
bool m_doDumpAll
a handle on Store Gate for access to the Event Store
TH1 * bookGetPointer(const TH1 &hist, const std::string &tDir="", const std::string &stream="")
Simplify the booking and registering (into THistSvc) of histograms.
bool m_doDumpTrigPassBits