|
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 34 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 4154 of file TrigEDMChecker.cxx.
4162 if (!elementLink.
isValid())
ATH_MSG_WARNING(
" Invalid element link to TrigRoiDescriptorCollection, link name:'" <<
name <<
"'");
4163 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"'' to TrigRoiDescriptor:" << *elementLink);
4170 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"' to LVL1::RecEmTauRoI:" << *elementLink);
4176 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"' to TrigComposite, TC name:'" << (*elementLink)->name() <<
"'");
4182 else ATH_MSG_DEBUG(
" Dereferenced link '" <<
name <<
"' to View:'" << *elementLink);
4184 }
else if (
name ==
"feature") {
4189 if (!elementLink.
isValid())
ATH_MSG_WARNING(
" Invalid element link to xAOD::TrigEMClusterContainer 'feature'");
4190 else ATH_MSG_DEBUG(
" Dereferenced xAOD::TrigEMClusterContainer link 'feature', Energy:" << (*elementLink)->energy());
4195 if (!elementLink.
isValid())
ATH_MSG_WARNING(
" Invalid element link to xAOD::TrigMissingETContainer 'feature'");
4196 else ATH_MSG_DEBUG(
" Dereferenced xAOD::TrigMissingETContainer link 'feature', ex:" << (*elementLink)->ex() <<
" ey:" << (*elementLink)->ey());
4203 else ATH_MSG_DEBUG(
" Dereferenced IParticle link 'feature', pt:" << (*elementLink)->pt() <<
" eta:" << (*elementLink)->eta() <<
" phi:" << (*elementLink)->phi());
4204 }
catch(std::runtime_error&
e) {
4205 ATH_MSG_WARNING(
" Cannot dereference 'feature' as IParticle: '" <<
e.what() <<
"'");
4214 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 SmartIF<IProperty> evtSelector{service(evtSelName,
false)};
155 ATH_MSG_ERROR(
"currentFile(): Couldn't find the service: " << evtSelName);
return 0;
160 const StringArrayProperty& inputCollectionsName =
dynamic_cast<const StringArrayProperty&
>(evtSelector->getProperty(
"InputCollections"));
162 ATH_MSG_VERBOSE(
"nOpenFile=" << gROOT->GetListOfFiles()->GetSize() <<
". nFilesInInputCollection=" << inputCollectionsName.value().size());
164 for(
int i=0;
i<gROOT->GetListOfFiles()->GetSize();
i++) {
165 ATH_MSG_VERBOSE(
"Open file: " << gROOT->GetListOfFiles()->At(
i)->GetName());
171 for(
int i=0;
i<gROOT->GetListOfFiles()->GetSize();
i++) {
172 TFile *
g = (TFile*)gROOT->GetListOfFiles()->At(
i);
175 TString
s(
g->GetName());
176 TObjArray*
tokens =
s.Tokenize(
"/");
177 TObjString* lastToken =
dynamic_cast<TObjString*
>(
tokens->Last());
178 TString sToCompare(
"");
179 bool shortComparison(
false);
180 if(
tokens->GetEntries()>1) {
181 TString beforeSlash((
dynamic_cast<TObjString*
>(
tokens->At(
tokens->GetEntries()-2)))->GetString());
182 if(beforeSlash.Length()>0) sToCompare += beforeSlash;
185 shortComparison=
true;
187 sToCompare += lastToken->GetString();
188 TString sToCompare_short(lastToken->GetString());
191 for(
unsigned int j=0;j<inputCollectionsName.value().
size();j++) {
192 TString
t(inputCollectionsName.value()[j].c_str());
195 ATH_MSG_VERBOSE(
"Current File is: " << inputCollectionsName.value()[j]);
199 TObjArray*
tokens =
t.Tokenize(
"/");
200 TObjString* lastToken =
dynamic_cast<TObjString*
>(
tokens->Last());
201 TString tToCompare =
"";
202 bool shortComparison2(
false);
203 if(
tokens->GetEntries()>1) {
204 TString beforeSlash((
dynamic_cast<TObjString*
>(
tokens->At(
tokens->GetEntries()-2)))->GetString());
205 if(beforeSlash.Length()>0) tToCompare += beforeSlash;
208 shortComparison2=
true;
210 tToCompare += lastToken->GetString();
211 TString tToCompare_short(lastToken->GetString());
214 if(shortComparison || shortComparison2) {
215 if(sToCompare_short.EqualTo(tToCompare_short)) {
216 ATH_MSG_VERBOSE(
"Current File is: " << inputCollectionsName.value()[j]);
221 if(sToCompare.EqualTo(tToCompare)) {
222 ATH_MSG_VERBOSE(
"Current File is: " << inputCollectionsName.value()[j]);
230 ATH_MSG_ERROR(
"currentFile(): Couldn't load InputCollections property of " << evtSelName);
return 0;
233 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);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ dumpHLTResult()
StatusCode TrigEDMChecker::dumpHLTResult |
( |
| ) |
|
|
private |
Definition at line 2108 of file TrigEDMChecker.cxx.
2112 ATH_MSG_INFO(
"REGTEST ==========START of HLTResult DUMP===========");
2116 if(
sc.isFailure() || !hltResult ) {
2118 return StatusCode::SUCCESS;
2120 ATH_MSG_INFO(
"REGTEST HLTResult_L2 Successfully Retrieved");
2123 ATH_MSG_INFO(
"REGTEST HLTResult_L2->size() returns " << hltResult->
size());
2127 ATH_MSG_INFO(
"REGTEST ==========END of HLTResult DUMP===========");
2131 return StatusCode::SUCCESS;
◆ dumpLVL1_ROI()
StatusCode TrigEDMChecker::dumpLVL1_ROI |
( |
| ) |
|
|
private |
Definition at line 1171 of file TrigEDMChecker.cxx.
1175 ATH_MSG_INFO(
"REGTEST ==========START of LVL1_ROI DUMP===========");
1179 if (
sc.isFailure() ) {
1181 return StatusCode::SUCCESS;
1186 LVL1_ROI::emtaus_type::const_iterator itEMTau =
1188 LVL1_ROI::emtaus_type::const_iterator itEMTau_e =
1191 for( ; itEMTau != itEMTau_e; ++itEMTau, ++j) {
1193 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI Eta is " << itEMTau->getEta());
1194 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI Phi is " << itEMTau->getPhi());
1195 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI EMClus is " << itEMTau->getEMClus());
1196 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI TauClus is " << itEMTau->getTauClus());
1197 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI EMIsol is " << itEMTau->getEMIsol());
1198 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI HadIsol is " << itEMTau->getHadIsol());
1199 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI Core is " << itEMTau->getCore());
1200 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI HadCore is " << itEMTau->getHadCore());
1201 ATH_MSG_INFO(
"REGTEST LVL1 EmTauROI roiWord is " << itEMTau->getROIWord());
1204 ATH_MSG_INFO(
"REGTEST ==========END of LVL1_ROI DUMP===========");
1206 return StatusCode::SUCCESS;
◆ dumpNavigation()
StatusCode TrigEDMChecker::dumpNavigation |
( |
| ) |
|
|
private |
Definition at line 4445 of file TrigEDMChecker.cxx.
4455 const std::vector< unsigned int > serialisedNavigation = navigationHandle->
serialized();
4456 ATH_MSG_INFO(
"Serialised navigation size: " << serialisedNavigation.size() );
4465 std::map< int, std::string > hash2string;
4466 for (
auto const& sequence :
testMenu->front()->sequenceInputTEs() ) {
4467 for (
auto const&
name : sequence ) {
4474 unsigned int chainCounter = 0;
4475 std::map< int, std::string > hash2chain;
4476 for (
auto const&
chain :
testMenu->front()->chainSignatureOutputTEs() ) {
4483 for (
auto const& signature :
chain ) {
4484 for (
auto const&
name : signature ) {
4496 if ( lhs.
getCLID() == rhs.getCLID() )
return ( lhs.
getIndex() < rhs.getIndex() );
4499 else return ( lhs.
getCLID() < rhs.getCLID() );
4501 std::map< HLT::TriggerElement::FeatureAccessHelper, std::vector< HLT::TriggerElement* >, decltype(cmpLambda) > feature2element(cmpLambda);
4504 std::vector< HLT::TriggerElement* > allTEs;
4505 testNav->
getAll( allTEs,
false );
4506 for (
auto element : allTEs ) {
4509 for (
auto helper : element->getFeatureAccessHelpers() ) {
4510 feature2element[
helper ].push_back( element );
4516 for (
auto element : allTEs ) {
4518 ATH_MSG_INFO(
"+++++++++++ " << hash2string[ element->getId() ] <<
" is terminal node" );
4520 std::queue< HLT::TriggerElement* > allAncestors;
4521 allAncestors.push( element );
4522 while ( allAncestors.size() ) {
4526 auto theseAncestors = thisElement->
getRelated( HLT::TriggerElement::Relation::seededByRelation );
4537 for (
auto ancestor : theseAncestors ) {
4538 allAncestors.push( ancestor );
4546 auto decisionOutput = outputNavigation.
ptr();
4549 std::map< HLT::TriggerElement const*, std::vector< int > > element2decisions;
4550 for (
const auto& pair : feature2element ) {
4553 std::string featureName = testNav->
label( pair.first.getCLID(), pair.first.getIndex().subTypeIndex() );
4554 auto sgKey =
evtStore()->stringToKey( featureName, pair.first.getCLID() );
4557 std::string storeFeatureName =
"feature";
4564 decision->typelessSetObjectLink( storeFeatureName, sgKey, pair.first.getCLID(), pair.first.getIndex().objectsBegin(), pair.first.getIndex().objectsEnd() );
4567 std::set< std::string > passedChains;
4571 passedChains.insert( hash2chain[ element->
getId() ] );
4574 int decisionNumber = decisionOutput->size() - 1;
4575 element2decisions[ element ].push_back( decisionNumber );
4579 for (
auto&
chain : passedChains ) {
4585 unsigned int decisionCounter = 0;
4586 for (
const auto& pair : feature2element ) {
4589 auto decision = decisionOutput->at( decisionCounter );
4593 for (
auto element : pair.second ) {
4594 auto theseAncestors = element->
getRelated( HLT::TriggerElement::Relation::seededByRelation );
4595 for (
auto ancestor : theseAncestors ) {
4596 for (
int decisionIndex : element2decisions[ ancestor ] ) {
4603 return StatusCode::SUCCESS;
◆ dumpStoreGate()
StatusCode TrigEDMChecker::dumpStoreGate |
( |
| ) |
|
|
private |
◆ dumpTDT()
StatusCode TrigEDMChecker::dumpTDT |
( |
| ) |
|
|
private |
Definition at line 4022 of file TrigEDMChecker.cxx.
4024 ATH_MSG_INFO(
"REGTEST ==========START of TDT DUMP===========" );
4027 if (
chain.empty()) {
4030 std::vector<std::string> confChains =
m_trigDec->getListOfTriggers(
chain);
4031 for (
const auto&
item : confChains) {
4034 if (
m_trigDec->getNavigationFormat() ==
"TriggerElement") {
4039 if (passFeatures.size()) {
4040 ATH_MSG_INFO(
" " <<
item <<
" Passed Final IParticle features size: " << passFeatures.size());
4042 if (!li.isValid()) {
4046 std::string state =
"ACTIVE";
4049 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);
4057 if (passAndFailFeatures.size()) {
4058 ATH_MSG_INFO(
" " <<
item <<
" Passed+Failed Final IParticle features size: " << passAndFailFeatures.size());
4060 if (!li.isValid()) {
4064 std::string state =
"ACTIVE";
4067 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);
4074 std::vector< LinkInfo<xAOD::IParticleContainer> > allFeatures =
m_trigDec->features<
xAOD::IParticleContainer>(
item, TrigDefs::includeFailedDecisions,
"", TrigDefs::allFeaturesOfType);
4075 if (allFeatures.size()) {
4076 ATH_MSG_INFO(
" " <<
item <<
" Passed+Failed ALL IParticle features size: " << allFeatures.size());
4078 if (!li.isValid()) {
4082 std::string state =
"ACTIVE";
4085 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);
4094 if (
m_trigDec->getNavigationFormat() ==
"TrigComposite") {
4096 std::vector< LinkInfo<xAOD::IParticleContainer> > muons =
m_trigDec->features<
xAOD::IParticleContainer>(
"HLT_mu24_idperf_L1MU20", TrigDefs::Physics,
"HLT_MuonL2CBInfo");
4103 ATH_MSG_INFO(
"Muon pT: " << (*
mu.link)->pt() <<
" is from the same ROI as tracks with index "
4105 <<
", which is " <<
std::distance(startIt, stopIt) <<
" tracks, out of " << muonTracksReadHandle->
size() <<
" total tracks.");
4112 ATH_MSG_INFO(
"REGTEST ==========END of TDT DUMP===========" );
4113 return StatusCode::SUCCESS;
◆ dumpTrackParticleContainer()
StatusCode TrigEDMChecker::dumpTrackParticleContainer |
( |
| ) |
|
|
private |
track
track vertex position
access to TrackSummary information
Definition at line 1064 of file TrigEDMChecker.cxx.
1068 ATH_MSG_INFO(
"REGTEST ==========START of TrackParticleContainer DUMP===========");
1070 std::string trackPtags[]={
"HLT_InDetTrigParticleCreation_Bjet_EFID",
1071 "HLT_InDetTrigParticleCreation_Bphysics_EFID",
1072 "HLT_InDetTrigParticleCreation_Electron_EFID",
1073 "HLT_InDetTrigParticleCreation_FullScan_EFID",
1074 "HLT_InDetTrigParticleCreation_Muon_EFID",
1075 "HLT_InDetTrigParticleCreation_Photon_EFID",
1076 "HLT_InDetTrigParticleCreation_Tau_EFID"};
1082 for (
int itag=0; itag<ntag; itag++){
1085 if (
sc.isFailure()) {
1086 ATH_MSG_INFO(
"REGTEST No TrackParticleContainer found with tag " << trackPtags[itag]);
1089 ATH_MSG_INFO(
"TrackParticleContainer found with tag " << trackPtags[itag]
1090 <<
" and size " << pTrackParticleC->
size());
1094 for (
int ind=1; trackItr != trackItrE; ++trackItr,
ind++) {
1097 << trackParticle->
charge() <<
" p "
1098 << trackParticle->
p()<<
" eta " << trackParticle->
eta()
1099 <<
" phi " << trackParticle->
phi());
1107 const auto& parameterVector = perigee->parameters();
1110 " phi " <<parameterVector[
Trk::phi]);
1119 ATH_MSG_WARNING(
" Max attached track warning reached, no further warnings given");
1130 ATH_MSG_INFO(
" vertex position (" << position[0] <<
", " <<
1131 position[1] <<
", " << position[2] <<
") ");
1136 ATH_MSG_WARNING(
" Max attached vertex warning reached, no further warnings given");
1144 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 4116 of file TrigEDMChecker.cxx.
4117 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrigCompositeContainer DUMP===========" );
4123 std::string typeNameTC;
4132 if ( not
evtStore()->contains<xAOD::TrigCompositeContainer>(
key) ) {
4141 for (
auto tc: *cont ) {
4148 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrigCompositeContainer DUMP===========" );
4149 return StatusCode::SUCCESS;
◆ dumpTrigEFBphysContainer()
StatusCode TrigEDMChecker::dumpTrigEFBphysContainer |
( |
| ) |
|
|
private |
Definition at line 2343 of file TrigEDMChecker.cxx.
2347 ATH_MSG_INFO(
"REGTEST ==========START of TrigEFBphysContainer DUMP===========");
2349 std::string EFBphysTags[]={
"HLT_xAOD__TrigBphysContainer_EFBMuMuFex",
2350 "HLT_xAOD__TrigBphysContainer_EFBMuMuXFex",
2351 "HLT_xAOD__TrigBphysContainer_EFDsPhiPiFex",
2352 "HLT_xAOD__TrigBphysContainer_EFMuPairs",
2353 "HLT_xAOD__TrigBphysContainer_EFMultiMuFex",
2354 "HLT_xAOD__TrigBphysContainer_EFTrackMass"
2357 int ntag= (
int)
sizeof(EFBphysTags) /
sizeof(EFBphysTags[0]);
2360 for (
int itag=0; itag<ntag; itag++){
2363 if (
sc.isFailure()) {
2364 ATH_MSG_INFO(
"REGTEST No TrigEFBphysContainer found with tag " << EFBphysTags[itag]);
2368 ATH_MSG_INFO(
"REGTEST TrigEFBphysContainer found with tag " << EFBphysTags[itag]
2369 <<
" and size " << trigEFBphys->
size());
2378 for (
int j=0; EFBphysItr != EFBphysItrE; ++EFBphysItr, ++j ) {
2382 ATH_MSG_INFO(
"REGTEST TrigEFBphys->eta() returns " << (*EFBphysItr)->eta());
2383 ATH_MSG_INFO(
"REGTEST TrigEFBphys->phi() returns " << (*EFBphysItr)->phi());
2384 ATH_MSG_INFO(
"REGTEST TrigEFBphys->mass() returns " << (*EFBphysItr)->mass());
2385 ATH_MSG_INFO(
"REGTEST TrigEFBphys->fitmass() returns " << (*EFBphysItr)->fitmass());
2387 ATH_MSG_INFO(
"REGTEST TrigEFBphys->roiId() returns " << (*EFBphysItr)->roiId());
2388 ATH_MSG_INFO(
"REGTEST TrigEFBphys->particleType() returns " << (*EFBphysItr)->particleType());
2390 if( (*EFBphysItr)->secondaryDecay() != NULL){
2393 ATH_MSG_INFO(
"REGTEST pSecondDecay->eta() returns " << psecond->
eta());
2394 ATH_MSG_INFO(
"REGTEST pSecondDecay->phi() returns " << psecond->
phi());
2405 const std::vector<ElementLink<xAOD::TrackParticleContainer> > trackVector = (*EFBphysItr)->trackParticleLinks();
2406 if (trackVector.size() != 0) {
2407 ATH_MSG_INFO(
" REGTEST got track vector size: " << trackVector.size());
2411 std::vector<ElementLink<xAOD::TrackParticleContainer> >::const_iterator trkIt=trackVector.begin();
2412 for (
int itrk=0 ; trkIt!= trackVector.end(); ++itrk, ++trkIt) {
2413 if (!(trkIt->isValid())) {
2414 ATH_MSG_WARNING(
"TrackParticleContainer::Invalid ElementLink to track ");
2421 double phi = trackPerigee->parameters()[
Trk::phi];
2423 double px = trackPerigee->momentum()[
Trk::px];
2424 double py = trackPerigee->momentum()[
Trk::py];
2434 ATH_MSG_INFO(
"REGTEST ==========END of TrigEFBphysContainer DUMP===========");
2437 return StatusCode::SUCCESS;
◆ dumpTrigInDetTrackCollection()
StatusCode TrigEDMChecker::dumpTrigInDetTrackCollection |
( |
| ) |
|
|
private |
Definition at line 2139 of file TrigEDMChecker.cxx.
2141 std::string TrigInDetTrackTags[]={
"HLT_TrigIDSCAN_Jet",
2142 "HLT_TrigIDSCAN_Tau",
2143 "HLT_TrigIDSCAN_eGamma",
2144 "HLT_TrigIDSCAN_Muon",
2145 "HLT_TrigIDSCAN_muonIso",
2146 "HLT_TrigIDSCAN_Bphysics",
2147 "HLT_TrigIDSCAN_FullScan",
2148 "HLT_TrigIDSCAN_Cosmics",
2149 "HLT_TrigIDSCAN_eGamma_Brem",
2150 "HLT_TrigIDSCAN_Tile",
2151 "HLT_TrigSiTrack_eGamma",
2152 "HLT_TrigSiTrack_Muon",
2153 "HLT_TrigSiTrack_muonIso",
2154 "HLT_TrigSiTrack_Tau",
2155 "HLT_TrigSiTrack_Jet",
2156 "HLT_TrigSiTrack_Bphysics",
2157 "HLT_TrigSiTrack_FullScan",
2158 "HLT_TrigSiTrack_Cosmics",
2159 "HLT_TRTSegmentFinder",
2166 bool gotTruthMap =
false;
2168 if (
evtStore()->contains<TrigInDetTrackTruthMap>(
"TrigInDetTrackTruthMap")) {
2172 ATH_MSG_WARNING(
" could not retrieve TrackTruthMap with key TrigInDetTruthMap");
2178 else ATH_MSG_DEBUG(
" didn't find any TrackTruthMap objects with key TrigInDetTruthMap");
2180 ATH_MSG_INFO(
"REGTEST ==========START of TrigInDetTrackCollection DUMP===========");
2182 for (
int iTag=0; iTag < ntag; iTag++) {
2185 if (
sc.isFailure()) {
2186 ATH_MSG_DEBUG(
"REGTEST No TrigInDetTrackCollection found with key " << TrigInDetTrackTags[iTag]);
2189 ATH_MSG_INFO(
"REGTEST TrigInDetTrackCollections retrieved with key "
2190 << TrigInDetTrackTags[iTag]);
2192 ATH_MSG_INFO(
"REGTEST TrigInDetTrackCollection->size() returns " << trigInDetTrackCollection->
size());
2197 for (
int j=0; trkItr != trkItrE; ++trkItr, ++j ) {
2199 ATH_MSG_INFO(
"REGTEST Looking at TrigInDetTrack " << j);
2201 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->algorithmId() returns " << (*trkItr)->algorithmId());
2202 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->chi2() returns " << (*trkItr)->chi2());
2203 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NStrawHits() returns " << (*trkItr)->NStrawHits());
2205 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NStraw() returns " << (*trkItr)->NStraw());
2206 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NStrawTime() returns " << (*trkItr)->NStrawTime());
2207 ATH_MSG_INFO(
"REGTEST TrigInDetTrack->NTRHits() returns " << (*trkItr)->NTRHits());
2209 ATH_MSG_INFO(
"REGTEST Looking at TrigInDetFitTrack->param()");
2212 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->a0() returns " << my_param->
a0());
2213 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->z0() returns " << my_param->
z0());
2214 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->phi0() returns " << my_param->
phi0());
2215 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->eta() returns " << my_param->
eta());
2216 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->pT() returns " << my_param->
pT());
2217 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->ea0() returns " << my_param->
ea0());
2218 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->ez0() returns " << my_param->
ez0());
2219 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->ephi0() returns " << my_param->
ephi0());
2220 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->eeta() returns " << my_param->
eeta());
2221 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->epT() returns " << my_param->
epT());
2224 ATH_MSG_INFO(
"REGTEST Looking at covarience matrix: ");
2226 const std::vector<double>*
const my_cov = my_param->
cov();
2228 ATH_MSG_INFO(
"REGTEST covarience matrix NULL (not stored)");
2230 std::vector<double> tempcov = *my_cov;
2233 for(iter = tempcov.begin(),
k=0; iter != tempcov.end(); ++iter, ++
k){
2234 ATH_MSG_INFO(
"REGTEST TrigInDetTrackFitPar->cov() element " <<
k <<
" is " << (*iter));
2238 if (!(pTruthMap->hasTruth((*trkItr)))) {
2247 ATH_MSG_INFO(
"REGTEST number of matched truth hits: Si: " << pTruthMap->bestMatchSiHits((*trkItr))
2248 <<
" TRT: " << pTruthMap->bestMatchTRTHits((*trkItr)));
2249 if (pTruthMap->bestMatchSiHits((*trkItr)) > 0) {
2254 if (pSiTruth->
cptr() != 0) {
2259 if (pTruthMap->bestMatchTRTHits((*trkItr)) > 0) {
2263 if (pTRTtruth->
cptr() != 0) {
2273 ATH_MSG_INFO(
"REGTEST ==========END of TrigInDetTrackCollection DUMP===========");
2276 return StatusCode::SUCCESS;
◆ dumpTrigL2BphysContainer()
StatusCode TrigEDMChecker::dumpTrigL2BphysContainer |
( |
| ) |
|
|
private |
Definition at line 2441 of file TrigEDMChecker.cxx.
2444 ATH_MSG_INFO(
"REGTEST ==========START of TrigL2BphysContainer DUMP===========");
2446 std::string L2BphysTags[]={
"HLT_xAOD__TrigBphysContainer_L2BMuMuFex",
2447 "HLT_xAOD__TrigBphysContainer_L2BMuMuXFex",
2448 "HLT_xAOD__TrigBphysContainer_L2DsPhiPiFexDs",
2449 "HLT_xAOD__TrigBphysContainer_L2DsPhiPiFexPhi",
2450 "HLT_xAOD__TrigBphysContainer_L2JpsieeFex",
2451 "HLT_xAOD__TrigBphysContainer_L2MultiMuFex",
2452 "HLT_xAOD__TrigBphysContainer_L2TrackMass",
2454 const int ntag = (
int)
sizeof(L2BphysTags) /
sizeof(L2BphysTags[0]);
2457 for (
int itag=0; itag<ntag; itag++){
2460 if (
sc.isFailure()) {
2461 ATH_MSG_INFO(
"REGTEST No TrigL2BphysContainer found with tag " << L2BphysTags[itag]);
2465 ATH_MSG_INFO(
"REGTEST TrigL2BphysContainer found with tag " << L2BphysTags[itag]
2466 <<
" and size " << trigL2Bphys->
size());
2475 for (
int j=0; L2BphysItr != L2BphysItrE; ++L2BphysItr, ++j ) {
2479 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->eta() returns " << (*L2BphysItr)->eta());
2480 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->phi() returns " << (*L2BphysItr)->phi());
2481 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->mass() returns " << (*L2BphysItr)->mass());
2482 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->fitmass() returns " << (*L2BphysItr)->fitmass());
2484 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->roiId() returns " << (*L2BphysItr)->roiId());
2485 ATH_MSG_INFO(
"REGTEST TrigL2Bphys->particleType() returns " << (*L2BphysItr)->particleType());
2487 if( (*L2BphysItr)->secondaryDecay() != NULL){
2490 ATH_MSG_INFO(
"REGTEST pSecondDecay->eta() returns " << psecond->
eta());
2491 ATH_MSG_INFO(
"REGTEST pSecondDecay->phi() returns " << psecond->
phi());
2499 const std::vector<ElementLink<xAOD::TrackParticleContainer> > trackVector = (*L2BphysItr)->trackParticleLinks();
2500 if (trackVector.size() != 0) {
2501 ATH_MSG_INFO(
" REGTEST got track vector size: " << trackVector.size());
2505 std::vector<ElementLink<xAOD::TrackParticleContainer> >::const_iterator trkIt=trackVector.begin();
2506 for (
int itrk=0 ; trkIt!= trackVector.end(); ++itrk, ++trkIt) {
2507 if (!(trkIt->isValid())) {
2508 ATH_MSG_WARNING(
"TrackParticleContainer::Invalid ElementLink to track ");
2515 double phi = trackPerigee->parameters()[
Trk::phi];
2517 double px = trackPerigee->momentum()[
Trk::px];
2518 double py = trackPerigee->momentum()[
Trk::py];
2528 ATH_MSG_INFO(
"REGTEST ==========END of TrigL2BphysContainer DUMP===========");
2531 return StatusCode::SUCCESS;
◆ dumpTrigPassBits()
StatusCode TrigEDMChecker::dumpTrigPassBits |
( |
| ) |
|
|
private |
Definition at line 582 of file TrigEDMChecker.cxx.
583 const std::string
name=
"HLT_xAOD__TrigPassBitsContainer_passbits";
586 if (
sc.isFailure() ){
591 for(
const auto bits:*xbitscont){
596 ATH_MSG_DEBUG(
"Analyzing bits for " << bits->containerClid() <<
" of size " << bits->size() <<
" with bit size " << bits->passBits().size());
601 for (
int j=0; itr != itrE; ++itr, ++j ) {
610 return StatusCode::SUCCESS;
◆ dumpTrigSpacePointCounts()
void TrigEDMChecker::dumpTrigSpacePointCounts |
( |
| ) |
|
|
private |
Definition at line 613 of file TrigEDMChecker.cxx.
617 std::string METTag=
"HLT_xAOD__TrigSpacePointCountsContainer_spacepoints";
625 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << SpacePointCountsCont->
size() <<
" elements");
627 std::string
s;
char buff[128];
628 std::vector<float> getVec;
632 for(
uint i = 0;
i < SpacePointCountsCont->
size();
i++) {
633 getVec = SpacePointCountsCont->
at(
i)->contentsPixelClusEndcapC();
635 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
636 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of contentsPixelClusEndcapC() = %10.2f ",
s.c_str(),
sum );
639 getVec = SpacePointCountsCont->
at(
i)->contentsPixelClusBarrel();
641 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
642 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of contentsPixelClusBarrel() = %10.2f ",
s.c_str(),
sum );
645 getVec = SpacePointCountsCont->
at(
i)->contentsPixelClusEndcapA();
647 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
648 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of contentsPixelClusEndcapA() = %10.2f ",
s.c_str(),
sum );
651 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusTotBins() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusTotBins() );
654 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusTotMin() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusTotMin() );
657 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusTotMax() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusTotMax() );
660 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusSizeBins() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusSizeBins() );
663 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusSizeMin() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusSizeMin() );
666 snprintf(
buff,
sizeof(
buff),
"REGTEST %s pixelClusSizeMax() = %10.2f ",
s.c_str(), SpacePointCountsCont->
at(
i)->pixelClusSizeMax() );
669 snprintf(
buff,
sizeof(
buff),
"REGTEST %s sctSpEndcapC() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->sctSpEndcapC() );
672 snprintf(
buff,
sizeof(
buff),
"REGTEST %s sctSpBarrel() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->sctSpBarrel() );
675 snprintf(
buff,
sizeof(
buff),
"REGTEST %s sctSpEndcapA() = %u ",
s.c_str(), SpacePointCountsCont->
at(
i)->sctSpEndcapA() );
◆ dumpTrigT2MBTSBits()
void TrigEDMChecker::dumpTrigT2MBTSBits |
( |
| ) |
|
|
private |
Definition at line 681 of file TrigEDMChecker.cxx.
684 std::string METTag=
"HLT_xAOD__TrigT2MbtsBitsContainer_T2Mbts";
692 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << T2MbtsBitsCont->
size() <<
" elements");
694 std::string
s;
char buff[380];
695 std::vector<float> getVec;
700 getVec = T2MbtsBitsCont->
at(
i)->triggerEnergies();
702 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
703 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of triggerEnergies() = %10.2f ",
s.c_str(),
sum );
706 getVec = T2MbtsBitsCont->
at(
i)->triggerTimes();
708 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
709 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of triggerTimes() = %10.2f ",
s.c_str(),
sum );
◆ dumpTrigTrackCounts()
void TrigEDMChecker::dumpTrigTrackCounts |
( |
| ) |
|
|
private |
Definition at line 749 of file TrigEDMChecker.cxx.
752 std::string METTag=
"HLT_xAOD__TrigTrackCountsContainer_trackcounts";
760 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << T2TrackCountsCont->
size() <<
" elements");
762 std::string
s;
char buff[380];
763 std::vector<float> getVec;
767 for(
uint i = 0;
i < T2TrackCountsCont->
size();
i++) {
768 getVec = T2TrackCountsCont->
at(
i)->z0_pt();
770 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
771 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of z0_pt = %10.2f ",
s.c_str(),
sum );
774 getVec = T2TrackCountsCont->
at(
i)->eta_phi();
776 for (
uint j = 0; j < getVec.size(); ++j)
sum += getVec[j];
777 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of eta_phi() = %10.2f ",
s.c_str(),
sum );
780 snprintf(
buff,
sizeof(
buff),
"REGTEST %s z0Bins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->z0Bins() );
783 snprintf(
buff,
sizeof(
buff),
"REGTEST %s z0Min() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->z0Min() );
786 snprintf(
buff,
sizeof(
buff),
"REGTEST %s z0Max() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->z0Max() );
789 snprintf(
buff,
sizeof(
buff),
"REGTEST %s ptBins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->ptBins() );
792 snprintf(
buff,
sizeof(
buff),
"REGTEST %s ptMin() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->ptMin() );
795 snprintf(
buff,
sizeof(
buff),
"REGTEST %s ptMax() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->ptMax() );
798 snprintf(
buff,
sizeof(
buff),
"REGTEST %s etaBins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->etaBins() );
801 snprintf(
buff,
sizeof(
buff),
"REGTEST %s etaMin() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->etaMin() );
804 snprintf(
buff,
sizeof(
buff),
"REGTEST %s etaMax() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->etaMax() );
807 snprintf(
buff,
sizeof(
buff),
"REGTEST %s phiBins() = %u ",
s.c_str(), T2TrackCountsCont->
at(
i)->phiBins() );
810 snprintf(
buff,
sizeof(
buff),
"REGTEST %s phiMin() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->phiMin() );
813 snprintf(
buff,
sizeof(
buff),
"REGTEST %s phiMax() = %10.2f ",
s.c_str(), T2TrackCountsCont->
at(
i)->phiMax() );
◆ dumpTrigVertexCounts()
void TrigEDMChecker::dumpTrigVertexCounts |
( |
| ) |
|
|
private |
Definition at line 715 of file TrigEDMChecker.cxx.
718 std::string METTag=
"HLT_xAOD__TrigVertexCountsContainer_vertexcounts";
726 ATH_MSG_INFO(
"Accessing " << METTag <<
" with " << T2VertexCountsCont->
size() <<
" elements");
728 std::string
s;
char buff[380];
729 std::vector<float> fgetVec;
731 std::vector<unsigned int> ugetVec;
732 unsigned int usum(0);
735 for(
uint i = 0;
i < T2VertexCountsCont->
size();
i++) {
736 ugetVec = T2VertexCountsCont->
at(
i)->vtxNtrks();
737 for (
uint j = 0; j < ugetVec.size(); ++j) usum += ugetVec[j];
738 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of vtxNtrks() = %u ",
s.c_str(), usum );
741 fgetVec = T2VertexCountsCont->
at(
i)->vtxTrkPtSqSum();
742 for (
uint j = 0; j < fgetVec.size(); ++j) fsum += fgetVec[j];
743 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SUM of vtxTrkPtSqSum() = %10.2f ",
s.c_str(), fsum );
◆ dumpxAODElectronContainer()
StatusCode TrigEDMChecker::dumpxAODElectronContainer |
( |
| ) |
|
|
private |
Definition at line 1769 of file TrigEDMChecker.cxx.
1773 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::ElectronContainer DUMP===========" );
1777 if (
sc.isFailure()) {
1778 ATH_MSG_INFO(
"REGTEST No Electron container HLT_xAOD__ElectronContainer_egamma_Electrons");
1779 return StatusCode::SUCCESS;
1781 float val_float=-99;
1782 unsigned int isEMbit=0;
1785 ATH_MSG_INFO(
" REGTEST: xAOD Reconstruction variables: ");
1790 for (
const auto eg : *elCont){
1796 if(
eg->selectionisEM(isEMbit,
"isEMVLoose"))
1797 ATH_MSG_INFO(
" REGTEST: isEMVLoose " << std::hex << isEMbit << std::dec);
1799 if(
eg->selectionisEM(isEMbit,
"isEMLoose"))
1800 ATH_MSG_INFO(
" REGTEST: isEMLoose " << std::hex << isEMbit << std::dec);
1802 if(
eg->selectionisEM(isEMbit,
"isEMMedium"))
1803 ATH_MSG_INFO(
" REGTEST: isEMMedium " << std::hex << isEMbit << std::dec);
1805 if(
eg->selectionisEM(isEMbit,
"isEMTight"))
1806 ATH_MSG_INFO(
" REGTEST: isEMTight " << std::hex << isEMbit << std::dec);
1808 if(
eg->selectionisEM(isEMbit,
"isEMLHVLoose"))
1809 ATH_MSG_INFO(
" REGTEST: isEMLHVLoose " << std::hex << isEMbit << std::dec);
1811 if(
eg->selectionisEM(isEMbit,
"isEMLHLoose"))
1812 ATH_MSG_INFO(
" REGTEST: isEMLHLoose " << std::hex << isEMbit << std::dec);
1814 if(
eg->selectionisEM(isEMbit,
"isEMLHMedium"))
1815 ATH_MSG_INFO(
" REGTEST: isEMLHMedium " << std::hex << isEMbit << std::dec);
1817 if(
eg->selectionisEM(isEMbit,
"isEMLHTight"))
1818 ATH_MSG_INFO(
" REGTEST: isEMLHTight " << std::hex << isEMbit << std::dec);
1820 if(accLH.isAvailable(*
eg))
1824 if(accLHCalo.isAvailable(*
eg))
1828 if(
eg->passSelection(
pid,
"LHVLoose"))
1832 if(
eg->passSelection(
pid,
"LHLoose"))
1836 if(
eg->passSelection(
pid,
"LHMedium"))
1840 if(
eg->passSelection(
pid,
"LHTight"))
1845 ATH_MSG_INFO(
" REGTEST: problems with egamma pointer" );
1846 return StatusCode::SUCCESS;
1849 if (
eg->caloCluster()) {
1850 ATH_MSG_INFO(
" REGTEST: egamma cluster transverse energy: " <<
eg->caloCluster()->et() );
1851 ATH_MSG_INFO(
" REGTEST: egamma cluster eta: " <<
eg->caloCluster()->eta() );
1852 ATH_MSG_INFO(
" REGTEST: egamma cluster phi: " <<
eg->caloCluster()->phi() );
1853 double tmpeta = -999.;
1854 double tmpphi = -999.;
1857 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. etaCalo = " << tmpeta);
1858 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. phiCalo = " << tmpphi);
1860 ATH_MSG_INFO(
" REGTEST: problems with egamma cluster pointer" );
1862 ATH_MSG_INFO(
"REGTEST: Check the original (uncalibrated)");
1864 if (!orig.isAvailable(*
eg->caloCluster()) || !orig(*
eg->caloCluster()).isValid()){
1869 ATH_MSG_INFO(
"REGTEST:: Compare new and old clusters");
1870 ATH_MSG_INFO(
"REGTEST:: Original Cluster e,eta,phi" << origClus->
e() <<
" " << origClus->
eta() <<
" " << origClus->
phi());
1871 ATH_MSG_INFO(
"REGTEST:: MVA Cluster e,eta,phi" <<
eg->caloCluster()->e() <<
" " <<
eg->caloCluster()->eta() <<
" " <<
eg->caloCluster()->phi());
1874 if(
eg->trackParticle()){
1876 ATH_MSG_INFO(
" REGTEST: charge= " <<
eg->trackParticle()->charge());
1877 ATH_MSG_INFO(
" REGTEST: E/p= " <<
eg->caloCluster()->et() /
eg->trackParticle()->pt() );
1879 ATH_MSG_INFO(
" REGTEST: Delta eta 1st sampling= " << val_float);
1881 ATH_MSG_INFO(
" REGTEST: Delta phi 2nd sampling= " << val_float);
1883 ATH_MSG_INFO(
" REGTEST: no electron eg->trackParticle() pointer");
1918 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::ElectronContainer DUMP===========" );
1920 return StatusCode::SUCCESS;
◆ dumpxAODJetContainer()
StatusCode TrigEDMChecker::dumpxAODJetContainer |
( |
| ) |
|
|
private |
Definition at line 2538 of file TrigEDMChecker.cxx.
2542 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::JetContainer DUMP===========");
2544 std::string containerName[30] = {
"HLT_xAOD__JetContainer_a4tcemjesFS",
2545 "HLT_xAOD__JetContainer_a4tcemsubFS",
2546 "HLT_xAOD__JetContainer_a4tcemsubjesFS",
2547 "HLT_xAOD__JetContainer_a4tcemnojcalibFS",
2548 "HLT_xAOD__JetContainer_a4tcemjesPS",
2549 "HLT_xAOD__JetContainer_a4tcemnojcalibPS",
2550 "HLT_xAOD__JetContainer_a4tclcwjesFS",
2551 "HLT_xAOD__JetContainer_a4tclcwsubFS",
2552 "HLT_xAOD__JetContainer_a4tclcwsubjesFS",
2553 "HLT_xAOD__JetContainer_a4tclcwnojcalibFS",
2554 "HLT_xAOD__JetContainer_a4tclcwjesPS",
2555 "HLT_xAOD__JetContainer_a4tclcwnojcalibPS",
2556 "HLT_xAOD__JetContainer_a4TTemnojcalibFS",
2557 "HLT_xAOD__JetContainer_a4TThadnojcalibFS",
2558 "HLT_xAOD__JetContainer_a10tcemjesFS",
2559 "HLT_xAOD__JetContainer_a10tcemsubFS",
2560 "HLT_xAOD__JetContainer_a10tcemsubjesFS",
2561 "HLT_xAOD__JetContainer_a10tcemnojcalibFS",
2562 "HLT_xAOD__JetContainer_a10tcemjesPS",
2563 "HLT_xAOD__JetContainer_a10tcemnojcalibPS",
2564 "HLT_xAOD__JetContainer_a10tclcwjesFS",
2565 "HLT_xAOD__JetContainer_a10tclcwsubFS",
2566 "HLT_xAOD__JetContainer_a10tclcwsubjesFS",
2567 "HLT_xAOD__JetContainer_a10tclcwnojcalibFS",
2568 "HLT_xAOD__JetContainer_a10tclcwjesPS",
2569 "HLT_xAOD__JetContainer_a10tclcwnojcalibPS",
2570 "HLT_xAOD__JetContainer_a10TTemnojcalibFS",
2571 "HLT_xAOD__JetContainer_a10TThadnojcalibFS",
2572 "HLT_xAOD__JetContainer_a10r_tcemsubjesFS",
2573 "HLT_xAOD__JetContainer_TrigHLTJetDSSelectorCollection"};
2574 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,
2575 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};
2576 int containerInputType[30] = {1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2,
2577 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 2, 2, 1, 1};
2578 int containerSignalState[30] = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1,
2579 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0};
2580 bool onefilled =
false;
2582 for (
int icont=0; icont<30; ++icont) {
2587 if (
sc.isFailure()) {
2592 int jetContsize = jetCont->
size();
2593 ATH_MSG_INFO(
"REGTEST Got jet container " << containerName[icont] <<
", size: " << jetContsize);
2594 if (jetContsize != 0) {
2597 for(
const auto thisjet : *jetCont) {
2608 ATH_MSG_INFO(
"REGTEST rapidity: " << thisjet->rapidity() );
2613 ATH_MSG_INFO(
"REGTEST algorithm (kt: 0, cam: 1, antikt: 2, ...): " << thisjet->getAlgorithmType() <<
"; should be 2");
2614 if(thisjet->getAlgorithmType() != 2)
ATH_MSG_WARNING(
"Jet algorithm different from container");
2615 ATH_MSG_INFO(
"REGTEST size parameter: " << thisjet->getSizeParameter() <<
"; should be " << containerSizeParameter[icont]);
2616 if(thisjet->getSizeParameter() != containerSizeParameter[icont])
ATH_MSG_WARNING(
"Jet size different from container");
2617 ATH_MSG_INFO(
"REGTEST input (LCTopo: 0, EMTopo: 1, TopoTower: 2, ...): " << thisjet->getInputType() <<
"; should be " << containerInputType[icont]);
2618 if(thisjet->getInputType() != containerInputType[icont])
ATH_MSG_WARNING(
"Jet input different from container");
2619 ATH_MSG_INFO(
"REGTEST constituents signal state (uncalibrated: 0, calibrated: 1): " << thisjet->getConstituentsSignalState() <<
"; should be " << containerSignalState[icont]);
2620 if(thisjet->getConstituentsSignalState() != containerSignalState[icont])
ATH_MSG_WARNING(
"Jet constituents' signal state different from container");
2621 ATH_MSG_INFO(
"REGTEST number of constituents: " << thisjet->numConstituents() );
2628 unsigned int constitContsize = constitCont.
size();
2629 ATH_MSG_INFO(
"REGTEST Got constituent vector, size: " << constitContsize <<
"; should be " << thisjet->numConstituents());
2630 if(constitContsize != thisjet->numConstituents())
ATH_MSG_WARNING(
"Constituents container size different from number of constituents");
2632 if (constitContsize != 0) {
2730 std::vector<int> vecvalueint;
2732 int vecsize = vecvalueint.size();
2733 ATH_MSG_INFO(
"REGTEST Got NumTrkPt1000 vector, size: " << vecsize);
2736 for(
const auto & thisvalue : vecvalueint){
2738 ATH_MSG_INFO(
"REGTEST NumTrkPt1000 #" << j <<
": " << thisvalue);
2740 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2741 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2745 int vecsize = vecvalueint.size();
2746 ATH_MSG_INFO(
"REGTEST Got Got NumTrkPt500 vector, size: " << vecsize);
2749 for(
const auto & thisvalue : vecvalueint){
2751 ATH_MSG_INFO(
"REGTEST NumTrkPt500 #" << j <<
": " << thisvalue);
2753 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2754 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2760 std::vector<float> vecvalue;
2762 int vecsize = vecvalue.size();
2763 ATH_MSG_INFO(
"REGTEST Got JVF vector, size: " << vecsize);
2766 for(
const auto & thisvalue : vecvalue){
2768 ATH_MSG_INFO(
"REGTEST JVF #" << j <<
": " << thisvalue);
2770 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2771 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2775 int vecsize = vecvalue.size();
2776 ATH_MSG_INFO(
"REGTEST Got SumPtTrkPt1000 vector, size: " << vecsize);
2779 for(
const auto & thisvalue : vecvalue){
2781 ATH_MSG_INFO(
"REGTEST SumPtTrkPt1000 #" << j <<
": " << thisvalue);
2783 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2784 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2788 int vecsize = vecvalue.size();
2789 ATH_MSG_INFO(
"REGTEST Got SumPtTrkPt500 vector, size: " << vecsize);
2792 for(
const auto & thisvalue : vecvalue){
2794 ATH_MSG_INFO(
"REGTEST SumPtTrkPt500 #" << j <<
": " << thisvalue);
2796 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2797 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2801 int vecsize = vecvalue.size();
2802 ATH_MSG_INFO(
"REGTEST Got TrackWidthPt1000 vector, size: " << vecsize);
2805 for(
const auto & thisvalue : vecvalue){
2807 ATH_MSG_INFO(
"REGTEST TrackWidthPt1000 #" << j <<
": " << thisvalue);
2809 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2810 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2814 int vecsize = vecvalue.size();
2815 ATH_MSG_INFO(
"REGTEST Got TrackWidthPt500 vector, size: " << vecsize);
2818 for(
const auto & thisvalue : vecvalue){
2820 ATH_MSG_INFO(
"REGTEST TrackWidthPt500 #" << j <<
": " << thisvalue);
2822 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2823 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2827 int vecsize = vecvalue.size();
2828 ATH_MSG_INFO(
"REGTEST Got EnergyPerSampling vector, size: " << vecsize);
2831 for(
const auto & thisvalue : vecvalue){
2833 ATH_MSG_INFO(
"REGTEST EnergyPerSampling #" << j <<
": " << thisvalue);
2835 ATH_MSG_INFO(
"REGTEST size of attribute vector == number of displayed attributes: " << (vecsize == j) );
2836 if (vecsize != j)
ATH_MSG_WARNING(
"REGTEST Problem with displaying this attribute");
2865 return StatusCode::SUCCESS;
2869 if (jetContsize ==
i)
ATH_MSG_INFO(
"REGTEST size of jet container == number of displayed jets: " << (jetContsize ==
i) );
2874 if (!onefilled)
ATH_MSG_DEBUG(
"There was no filled jet containers");
2876 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::JetContainer DUMP===========");
2880 return StatusCode::SUCCESS;
◆ dumpxAODMuonContainer()
StatusCode TrigEDMChecker::dumpxAODMuonContainer |
( |
| ) |
|
|
private |
Definition at line 1345 of file TrigEDMChecker.cxx.
1349 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::MuonContainer DUMP===========" );
1353 if (
sc.isFailure()) {
1354 ATH_MSG_INFO(
"REGTEST No muon container HLT_xAOD__MuonContainer_MuonEFInfo");
1355 return StatusCode::SUCCESS;
1361 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::MuonContainer DUMP===========" );
1363 return StatusCode::SUCCESS;
◆ dumpxAODPhotonContainer()
StatusCode TrigEDMChecker::dumpxAODPhotonContainer |
( |
| ) |
|
|
private |
Definition at line 1925 of file TrigEDMChecker.cxx.
1929 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::PhotonContainer DUMP===========" );
1933 if (
sc.isFailure()) {
1934 ATH_MSG_INFO(
"REGTEST No Photon container HLT_xAOD__PhotonContainer_egamma_Photons");
1935 return StatusCode::SUCCESS;
1938 float val_float=-99;
1939 unsigned int isEMbit=0;
1941 ATH_MSG_INFO(
" REGTEST: xAOD Reconstruction variables: ");
1943 for (
const auto eg : *phCont){
1949 ATH_MSG_INFO(
" REGTEST: isEMLoose " <<
eg->selectionisEM(isEMbit,
"isEMLoose"));
1950 ATH_MSG_INFO(
" REGTEST: isEMLoose bit " << std::hex << isEMbit << std::dec);
1951 ATH_MSG_INFO(
" REGTEST: isEMMedium " <<
eg->selectionisEM(isEMbit,
"isEMMedium"));
1952 ATH_MSG_INFO(
" REGTEST: isEMMedium bit " << std::hex << isEMbit << std::dec);
1953 ATH_MSG_INFO(
" REGTEST: isEMTight " <<
eg->selectionisEM(isEMbit,
"isEMTight"));
1954 ATH_MSG_INFO(
" REGTEST: isEMTight bit " << std::hex << isEMbit << std::dec);
1956 ATH_MSG_INFO(
" REGTEST: problems with egamma pointer" );
1957 return StatusCode::SUCCESS;
1960 if (
eg->caloCluster()) {
1961 ATH_MSG_INFO(
" REGTEST: egamma cluster transverse energy: " <<
eg->caloCluster()->et() );
1962 ATH_MSG_INFO(
" REGTEST: egamma cluster eta: " <<
eg->caloCluster()->eta() );
1963 ATH_MSG_INFO(
" REGTEST: egamma cluster phi: " <<
eg->caloCluster()->phi() );
1964 double tmpeta = -999.;
1965 double tmpphi = -999.;
1968 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. etaCalo = " << tmpeta);
1969 ATH_MSG_INFO(
" REGTEST: egamma cluster calo-frame coords. phiCalo = " << tmpphi);
1971 ATH_MSG_INFO(
" REGTEST: problems with egamma cluster pointer" );
1973 ATH_MSG_INFO(
"REGTEST: Check the original (uncalibrated)");
1975 if (!orig.isAvailable(*
eg->caloCluster()) || !orig(*
eg->caloCluster()).isValid()){
1980 ATH_MSG_INFO(
"REGTEST:: Compare new and old clusters");
1981 ATH_MSG_INFO(
"REGTEST:: Original Cluster e,eta,phi" << origClus->
e() <<
" " << origClus->
eta() <<
" " << origClus->
phi());
1982 ATH_MSG_INFO(
"REGTEST:: MVA Cluster e,eta,phi" <<
eg->caloCluster()->e() <<
" " <<
eg->caloCluster()->eta() <<
" " <<
eg->caloCluster()->phi());
2010 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::PhotonContainer DUMP===========" );
2012 return StatusCode::SUCCESS;
◆ dumpxAODTrackParticle()
StatusCode TrigEDMChecker::dumpxAODTrackParticle |
( |
| ) |
|
|
private |
Definition at line 3866 of file TrigEDMChecker.cxx.
3870 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrackParticle DUMP===========");
3872 std::vector<std::string> SGkeys;
3873 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Bjet_EFID");
3874 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Bphysics_EFID");
3875 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Electron_EFID");
3876 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_FullScan_EFID");
3877 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Muon_EFID");
3878 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Photon_EFID");
3879 SGkeys.push_back(
"HLT_xAOD__TrackParticleContainer_InDetTrigTrackingxAODCnv_Tau_EFID");
3886 if (
sc.isFailure()) {
3887 ATH_MSG_INFO(
"REGTEST No track particle container found with key " << SGkeys.at(
SGkey));
3890 ATH_MSG_INFO(
"REGTEST TrackParticleContainer retrieved with key " << SGkeys.at(
SGkey)
3891 <<
" and size " << trackParticleContainer->
size());
3896 for (
int index = 0; trackParticleItr != trackParticleLast; ++trackParticleItr, ++
index) {
3900 ATH_MSG_INFO(
"REGTEST pt: " << (*trackParticleItr)->pt()
3901 <<
"/eta: " << (*trackParticleItr)->eta()
3902 <<
"/phi: " << (*trackParticleItr)->phi()
3903 <<
"/m: " << (*trackParticleItr)->m()
3904 <<
"/e: " << (*trackParticleItr)->e()
3905 <<
"/rapidity: " << (*trackParticleItr)->rapidity());
3907 ATH_MSG_INFO(
"REGTEST Defining parameters functions:");
3908 ATH_MSG_INFO(
"REGTEST charge: " << (*trackParticleItr)->charge()
3909 <<
"/d0: " << (*trackParticleItr)->d0()
3910 <<
"/z0: " << (*trackParticleItr)->z0()
3911 <<
"/phi0: " << (*trackParticleItr)->phi0()
3912 <<
"/theta: " << (*trackParticleItr)->theta()
3913 <<
"/qOverP: " << (*trackParticleItr)->qOverP()
3914 <<
"/vx: " << (*trackParticleItr)->vx()
3915 <<
"/vy: " << (*trackParticleItr)->vy()
3916 <<
"/vz: " << (*trackParticleItr)->vz());
3921 ATH_MSG_INFO(
"REGTEST chiSquared: " << (*trackParticleItr)->chiSquared()
3922 <<
"/numberDoF: " << (*trackParticleItr)->numberDoF());
3927 msg() << MSG::INFO <<
"REGTEST ";
3932 msg() <<
"/numberOfBLayerHits not found";
3939 msg() <<
"/numberOfPixelHits not found";
3946 msg() <<
"/numberOfPixelHoles not found";
3953 msg() <<
"/numberOfSCTHits not found";
3960 msg() <<
"/numberOfSCTHoles not found";
3967 msg() <<
"/numberOfTRTHits not found";
3974 msg() <<
"/numberOfTRTHoles not found";
3980 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrackParticle DUMP===========");
◆ dumpxAODTrigElectronContainer()
StatusCode TrigEDMChecker::dumpxAODTrigElectronContainer |
( |
| ) |
|
|
private |
Definition at line 1668 of file TrigEDMChecker.cxx.
1672 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrigElectronContainer DUMP===========" );
1676 if (
sc.isFailure()) {
1677 ATH_MSG_INFO(
"REGTEST No TrigElectron container HLT_xAOD__TrigElectronContainer_L2ElectronFex");
1678 return StatusCode::SUCCESS;
1681 for (
const auto eg : *elCont){
1682 ATH_MSG_INFO(
"REGTEST TrigElectron->Phi() returns " <<
eg->phi());
1683 ATH_MSG_INFO(
"REGTEST TrigElectron->Eta() returns " <<
eg->eta());
1684 ATH_MSG_INFO(
"REGTEST TrigElectron->rEta returns " <<
eg->rcore());
1685 ATH_MSG_INFO(
"REGTEST TrigElectron->eratio() returns " <<
eg->eratio());
1687 ATH_MSG_INFO(
"REGTEST TrigElectron->etHad() returns " <<
eg->etHad());
1689 ATH_MSG_INFO(
"REGTEST TrigElectron caloEta = " <<
eg->caloEta());
1690 ATH_MSG_INFO(
"REGTEST TrigElectron dPhiCalo" <<
eg->trkClusDphi());
1691 ATH_MSG_INFO(
"REGTEST TrigElectron dEtaCalo" <<
eg->trkClusDeta());
1695 ATH_MSG_INFO(
"REGTEST TrigElectron nStrawHits" <<
eg->nTRTHiThresholdHits());
1697 if(
eg->emCluster()){
1698 ATH_MSG_INFO(
"REGTEST TrigElectron EMCluster retrieved");
1699 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster->energy() returns " <<
eg->emCluster()->energy());
1700 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster->phi() returns " <<
eg->emCluster()->phi());
1701 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster->eta() returns " <<
eg->emCluster()->eta());
1702 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster check Element Link");
1703 ATH_MSG_INFO(
"REGTEST TrigElectron emCluster energy = " <<
eg->emCluster()->energy());
1704 ATH_MSG_INFO(
"REGTEST TrigElectron ElementLink emCluster energy = " << (*
eg->emClusterLink())->energy());
1706 else ATH_MSG_INFO(
"REGTEST TrigElectron No EMCluster retrieved!");
1707 ATH_MSG_INFO(
"REGTEST TrigElectron Check TrackParticle");
1708 if(
eg->trackParticle()){
1709 ATH_MSG_INFO(
"REGTEST TrigElectron TrackParticle retrieved");
1710 ATH_MSG_INFO(
"REGTEST TrigElectron trackParticle->pt() returns " <<
eg->trackParticle()->pt());
1711 ATH_MSG_INFO(
"REGTEST TrigElectron trackParticle->phi() returns " <<
eg->trackParticle()->phi());
1712 ATH_MSG_INFO(
"REGTEST TrigElectron trackParticle->eta() returns " <<
eg->trackParticle()->eta());
1713 ATH_MSG_INFO(
"REGTEST TrigElectron check TrackParticle Element Link");
1714 ATH_MSG_INFO(
"REGTEST TrigElectron TrackParticle pt = " <<
eg->trackParticle()->pt());
1715 ATH_MSG_INFO(
"REGTEST TrigElectron ElementLink TrackParticle pt = " << (*
eg->trackParticleLink())->pt());
1717 else ATH_MSG_INFO(
"REGTEST TrigElectron No TrackParticle retrieved!");
1719 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrigElectronContainer DUMP===========" );
1721 return StatusCode::SUCCESS;
◆ dumpxAODTrigMinBias()
StatusCode TrigEDMChecker::dumpxAODTrigMinBias |
( |
| ) |
|
|
private |
◆ dumpxAODTrigMissingET()
StatusCode TrigEDMChecker::dumpxAODTrigMissingET |
( |
| ) |
|
|
private |
Definition at line 833 of file TrigEDMChecker.cxx.
838 std::string METTags[]={
"HLT_xAOD__TrigMissingETContainer_EFJetEtSum",
"HLT_xAOD__TrigMissingETContainer_TrigEFMissingET",
"HLT_xAOD__TrigMissingETContainer_TrigL2MissingET_FEB",
"HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl"};
840 for(
int itag=0; itag <ntag; itag++) {
847 ATH_MSG_INFO(
"Accessing " << METTags[itag] <<
" with " << MissingETCont->
size() <<
" elements");
852 std::string
s;
char buff[3000];
854 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Ex = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->ex() );
856 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Ey = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->ey() );
858 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Ez = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->ez() );
860 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SumET = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->sumEt() );
862 snprintf(
buff,
sizeof(
buff),
"REGTEST %s SumE = %10.2f CLHEP::MeV",
s.c_str(), MissingETCont->
at(
i)->sumE() );
864 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Flag = %d",
s.c_str(), MissingETCont->
at(
i)->flag() );
866 snprintf(
buff,
sizeof(
buff),
"REGTEST %s Flag = %d",
s.c_str(), MissingETCont->
at(
i)->roiWord() );
869 unsigned int Nc = MissingETCont->
at(
i)->getNumberOfComponents();
871 s=
"REGTEST __name____status_usedChannels__sumOfSigns__calib1_calib0";
872 s+=
"/MeV__ex/MeV_____ey/MeV_____ez/MeV___sumE/MeV__sumEt/CLHEP::MeV";
876 for(
uint j = 0; j < Nc; j++) {
878 std::string
name = MissingETCont->
at(
i)->nameOfComponent(j);
879 const short status = MissingETCont->
at(
i)->statusComponent(j);
880 const unsigned short usedChan = MissingETCont->
at(
i)->usedChannelsComponent(j);
881 const short sumOfSigns = MissingETCont->
at(
i)->sumOfSignsComponent(j);
882 const float calib0 = MissingETCont->
at(
i)->calib0Component(j);
883 const float calib1 = MissingETCont->
at(
i)->calib1Component(j);
884 const float ex = MissingETCont->
at(
i)->exComponent(j);
885 const float ey = MissingETCont->
at(
i)->eyComponent(j);
886 const float ez = MissingETCont->
at(
i)->ezComponent(j);
887 const float sumE = MissingETCont->
at(
i)->sumEComponent(j);
888 const float sumEt = MissingETCont->
at(
i)->sumEtComponent(j);
891 "REGTEST %s %6d %12d %10d %6.2f %6.3f %10.2f %10.2f %10.2f %10.2f %10.2f",
892 name.c_str(),
status, usedChan, sumOfSigns, calib1, calib0,
893 ex, ey, ez, sumE, sumEt);
900 return StatusCode::SUCCESS;
◆ dumpxAODTrigPhotonContainer()
StatusCode TrigEDMChecker::dumpxAODTrigPhotonContainer |
( |
| ) |
|
|
private |
Definition at line 1726 of file TrigEDMChecker.cxx.
1730 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::TrigPhotonContainer DUMP===========" );
1734 if (
sc.isFailure()) {
1735 ATH_MSG_INFO(
"REGTEST No TrigPhoton container HLT_xAOD__TrigPhotonContainer_L2PhotonFex");
1736 return StatusCode::SUCCESS;
1739 for (
const auto eg : *phCont){
1743 ATH_MSG_INFO(
"REGTEST TrigPhoton->dPhi() returns " <<
eg->dPhi());
1744 ATH_MSG_INFO(
"REGTEST TrigPhoton->dEta() returns " <<
eg->dEta());
1745 ATH_MSG_INFO(
"REGTEST TrigPhoton->rEta returns " <<
eg->rcore());
1746 ATH_MSG_INFO(
"REGTEST TrigPhoton->eratio() returns " <<
eg->eratio());
1748 ATH_MSG_INFO(
"REGTEST TrigPhoton->etHad() returns " <<
eg->etHad());
1751 if(
eg->emCluster()){
1752 ATH_MSG_INFO(
"REGTEST TrigPhoton EMCluster retrieved");
1753 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster->energy() returns " <<
eg->emCluster()->energy());
1754 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster->phi() returns " <<
eg->emCluster()->phi());
1755 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster->eta() returns " <<
eg->emCluster()->eta());
1756 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster check Element Link");
1757 ATH_MSG_INFO(
"REGTEST TrigPhoton emCluster energy = " <<
eg->emCluster()->energy());
1758 ATH_MSG_INFO(
"REGTEST TrigPhoton ElementLink emCluster energy = " << (*
eg->emClusterLink())->energy());
1760 else ATH_MSG_INFO(
"REGTEST TrigPhoton No EMCluster retrieved!");
1762 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::TrigPhotonContainer DUMP===========" );
1764 return StatusCode::SUCCESS;
◆ dumpxAODVertex()
StatusCode TrigEDMChecker::dumpxAODVertex |
( |
| ) |
|
|
private |
Definition at line 3986 of file TrigEDMChecker.cxx.
3990 ATH_MSG_INFO(
"REGTEST ==========START of xAOD::Vertex DUMP===========");
3994 if (
sc.isFailure()) {
3996 return StatusCode::FAILURE;
4003 for (
int index = 0; vertexItr != vertexLast; ++vertexItr, ++
index) {
4008 <<
"/y: " << (*vertexItr)->y()
4009 <<
"/z: " << (*vertexItr)->z());
4012 ATH_MSG_INFO(
"REGTEST chiSquared: " << (*vertexItr)->chiSquared()
4013 <<
"/numberDoF: " << (*vertexItr)->numberDoF());
4016 ATH_MSG_INFO(
"REGTEST ==========END of xAOD::Vertex DUMP===========");
4019 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 4219 of file TrigEDMChecker.cxx.
4225 std::vector<std::string>
keys;
4232 std::string typeNameTC;
4238 chainIDs.insert( chainID.numeric() );
4243 pass = cg->
isPassed(TrigDefs::requireDecision);
4248 chainIDs.insert( chainID_tmp.numeric() );
4250 if (legMultiplicites.size() == 0) {
4251 ATH_MSG_ERROR(
"chain " << chainID_tmp <<
" has invalid configuration, no multiplicity data.");
4252 }
else if (legMultiplicites.size() > 1) {
4255 for (
size_t legNumeral = 0; legNumeral < legMultiplicites.size(); ++legNumeral) {
4257 chainIDs.insert( legID.
numeric() );
4266 std::stringstream
ss;
4267 ss <<
"digraph {" << std::endl;
4268 ss <<
" node [shape=rectangle]" << std::endl;
4269 ss <<
" rankdir = BT" << std::endl;
4272 for (
const std::string&
key :
keys) {
4274 if ( not
key.starts_with(
"HLTNav_") ) {
4279 ATH_MSG_DEBUG(
"Processing collection " <<
key <<
" to be added to the navigation graph");
4281 bool writtenHeader =
false;
4282 for (
const Decision* tc : *container ) {
4286 std::vector<ElementLink<DecisionContainer>> seedELs = tc->objectCollectionLinks<
DecisionContainer>(
"seed");
4287 const bool isHypoAlgNode = tc->name() ==
"H";
4288 const bool isComboHypoAlgNode = tc->name() ==
"CH";
4289 const std::vector<DecisionID>&
decisions = tc->decisions();
4293 bool doDump =
false;
4296 if (chainIDs.count(
id) == 1) {
4304 const std::vector<DecisionID>& seedDecisions = (*s)->decisions();
4306 if (chainIDs.count(
id) == 1) {
4317 if (!writtenHeader) {
4318 writtenHeader =
true;
4319 ss <<
" subgraph " <<
key <<
" {" << std::endl;
4320 ss <<
" label=\"" <<
key <<
"\"" << std::endl;
4322 const std::string
scheme =
"rdpu9";
4323 std::string
color =
"1";
4324 if (tc->name() ==
"L1") {
color =
"1"; }
4325 else if (tc->name() ==
"F") {
color =
"2"; }
4326 else if (tc->name() ==
"IM") {
color =
"3"; }
4327 else if (tc->name() ==
"H") {
color =
"4"; }
4328 else if (tc->name() ==
"CH") {
color =
"5"; }
4329 else if (tc->name() ==
"SF") {
color =
"6"; }
4330 else if (tc->name() ==
"HLTPassRaw") {
color =
"7"; }
4331 ss <<
" \"" << selfKey <<
"_" << selfIndex <<
"\" [colorscheme="<<
scheme<<
",style=filled,fillcolor="<<
color<<
",label=<<B>Container</B>=" << typeNameTC;
4332 if (tc->name() !=
"")
ss <<
" <B>Name</B>=" << tc->name();
4333 ss <<
"<BR/><B>Key</B>=" <<
key <<
"<BR/><B>Index</B>=" << selfIndex;
4334 const bool isRemapped = tc->isRemapped();
4335 if (isHypoAlgNode)
ss <<
" <B>linksRemapped</B>=" << (isRemapped ?
"Y" :
"N");
4337 ss <<
"<BR/><B>Pass</B>=";
4341 std::string highlight = (dID.numeric() == chainID.numeric() ?
"<B>[CHAIN:" :
"");
4345 ss << std::hex << highlight << decisionID << (!highlight.empty() ?
"]</B>" :
"") << std::dec <<
",";
4352 ss <<
">]" << std::endl;
4354 size_t seedCount = 0;
4355 for (
size_t i = 0;
i < tc->linkColNames().size(); ++
i) {
4356 const std::string link = tc->linkColNames().at(
i);
4357 if (link ==
"seed" || link ==
"seed__COLL") {
4359 const uint32_t seedKey = tc->linkColKeys().at(
i);
4360 const uint32_t seedIndex = tc->linkColIndices().at(
i);
4364 const std::vector<DecisionID> seedDecisions = (*seedEL)->decisions();
4365 bool doSeedLink =
false;
4367 if (chainIDs.count(
id) == 1) {
4376 ss <<
" \"" << selfKey <<
"_" << selfIndex <<
"\" -> \"" << seedKey <<
"_" << seedIndex <<
"\" [colorscheme="<<
scheme<<
",color=9,fontcolor=8,label=\"seed\"]" << std::endl;
4379 std::string linkColour =
"12";
4380 std::string linkBackground =
"11";
4381 const std::string extScheme =
"paired12";
4382 if (link ==
"roi") { linkColour=
"2"; linkBackground=
"1"; }
4383 else if (link ==
"initialRoI") { linkColour=
"2"; linkBackground=
"1"; }
4384 else if (link ==
"initialRecRoI") { linkColour=
"8"; linkBackground=
"7"; }
4385 else if (link ==
"feature") { linkColour=
"4"; linkBackground=
"3"; }
4386 else if (link ==
"view") { linkColour=
"10"; linkBackground=
"9"; }
4387 const CLID linkCLID =
static_cast<CLID>( tc->linkColClids().at(
i) );
4393 const unsigned index = (isRemapped ? tc->linkColIndicesRemap().at(
i) : tc->linkColIndices().at(
i));
4396 const std::string* keyStr =
evtStore()->keyToString(
key, checkCLID);
4397 if (keyStr !=
nullptr && checkCLID != linkCLID) {
4398 std::string tnameOfCheck;
4399 m_clidSvc->getTypeNameOfID(checkCLID, tnameOfCheck).ignore();
4400 ATH_MSG_ERROR(
"Inconsistent CLID " << checkCLID <<
" [" << tnameOfCheck <<
"] stored in storegate for key " <<
key
4401 <<
". We were expecting " << linkCLID <<
" [" << tname <<
"]");
4404 std::string tnameEscape;
4405 for (std::string::const_iterator
i = tname.begin();
i != tname.end(); ++
i) {
4406 unsigned char c = *
i;
4408 tnameEscape +=
"<";
4409 }
else if (
c ==
'>') {
4410 tnameEscape +=
">";
4417 ss <<
" \"" << selfKey <<
"_" << selfIndex <<
"\" -> \"" <<
key <<
"_" <<
index <<
"\" ";
4418 ss <<
"[colorscheme="<<extScheme<<
",color="<<linkColour<<
",fontcolor="<<linkColour<<
",arrowhead=empty,label=\"" << link <<
"\"]" << std::endl;
4421 const bool linkToSelf = (selfKey ==
key and selfIndex ==
index);
4424 ss <<
" \"" <<
key <<
"_" <<
index <<
"\" [colorscheme="<<extScheme<<
",style=filled,fillcolor="<<linkBackground<<
",label=<<B>Container</B>=" << tnameEscape <<
"<BR/><B>Key</B>=";
4425 if (keyStr !=
nullptr)
ss << *keyStr;
4426 else ss <<
"[<I>KEY "<<
key <<
" NOT IN STORE</I>] ";
4427 ss <<
"<BR/><B>Index</B>=" <<
index <<
">]";
4434 if (writtenHeader) {
4435 ss <<
" }" << std::endl;
4439 ss <<
"}" << std::endl;
4441 returnValue.assign(
ss.str() );
4442 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 186 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.
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)
const std::vector< size_t > & leg_multiplicities() const
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.
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