![]() |
ATLAS Offline Software
|
#include <ParticleSelectionAlg.h>
Public Member Functions | |
| ParticleSelectionAlg (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| virtual | ~ParticleSelectionAlg () |
| Destructor: | |
| virtual StatusCode | initialize () override |
| Athena algorithm's initalize hook. | |
| virtual StatusCode | start () override |
| Athena algorithm's beginRun hook (called once before running over the events, after initialize) | |
| virtual StatusCode | execute () override |
| Athena algorithm's execute hook. | |
| virtual StatusCode | finalize () override |
| Athena algorithm's finalize hook. | |
| StatusCode | initializeParser (const ExpressionParsing::SelectionArg< 1 > &selection_string) |
| StatusCode | finalizeParser () |
| virtual bool | updateDataNeeds (const std::vector< const DataObjID * > &input_data_in, const std::vector< const DataObjID * > &output_data_in, std::vector< Gaudi::DataHandle * > &new_input_handles, std::vector< Gaudi::DataHandle * > &new_output_handles) override |
| Inform a dynamic data consumer about all consumed or produced data. | |
| virtual bool | renounceInput (const DataObjID &output_data_id) override |
| virtual StatusCode | sysInitialize () override |
| Function initialising the tool in the correct way in Athena. | |
| virtual StatusCode | sysExecute (const EventContext &) override |
| override to do firstEvent method | |
| 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. | |
| 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. | |
| 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. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Functions providing access to the input/output metadata | |
| const ServiceHandle< StoreGateSvc > & | inputMetaStore () const |
| Const accessor for the input metadata store. | |
| ServiceHandle< StoreGateSvc > & | inputMetaStore () |
| Accessor for the input metadata store. | |
| const ServiceHandle< StoreGateSvc > & | outputMetaStore () const |
| Const accessor for the output metadata store. | |
| ServiceHandle< StoreGateSvc > & | outputMetaStore () |
| Accessor for the output metadata store. | |
Protected Member Functions | |
| StatusCode | _initializeParser (const ExpressionParsing::SelectionArg< 1 > &selection_string, ExpressionParsing::AppendLoaderFunc pre_xaod_loader=ExpressionParsing::NoLoaderFunc, ExpressionParsing::AppendLoaderFunc post_xaod_loader=ExpressionParsing::NoLoaderFunc) |
| StatusCode | _initializeParser (const ExpressionParsing::SelectionArg< NUM_PARSER > &selection_string, ExpressionParsing::AppendLoaderFunc pre_xaod_loader=ExpressionParsing::NoLoaderFunc, ExpressionParsing::AppendLoaderFunc post_xaod_loader=ExpressionParsing::NoLoaderFunc) |
| 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. | |
| virtual StatusCode | beginInputFile () |
| Function called when a new input file is opened user can read input metadata from inputMetaStore() | |
| virtual StatusCode | endInputFile () |
| Function called as an input file is being closed. | |
| virtual StatusCode | metaDataStop () |
| Function called before finalize user can read output metadata from outputMetaStore() | |
| virtual StatusCode | firstExecute () |
| Function called when first execute is encountered user can read event information with evtStore() | |
| 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") | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| 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. | |
| 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. | |
| TH1 * | bookGetPointer (const TH1 &hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| TH1 * | bookGetPointer (TH1 *hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| TH1 * | bookGetPointer (TH1 &histRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| TTree * | bookGetPointer (const TTree &treeRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TTrees. | |
| TGraph * | bookGetPointer (const TGraph &graphRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TGraphs. | |
| TEfficiency * | bookGetPointer (const TEfficiency &eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| TEfficiency * | bookGetPointer (TEfficiency *eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| TEfficiency * | bookGetPointer (TEfficiency &effRef, std::string tDir="", std::string stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| StatusCode | book (const TH1 &hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| StatusCode | book (TH1 *hist, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| StatusCode | book (TH1 &histRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of histograms. | |
| StatusCode | book (const TTree &treeRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TTrees. | |
| StatusCode | book (const TGraph &graphRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TGraphs. | |
| StatusCode | book (const TEfficiency &eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| StatusCode | book (TEfficiency *eff, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| StatusCode | book (TEfficiency &effRef, const std::string &tDir="", const std::string &stream="") |
| Simplify the booking and registering (into THistSvc) of TEfficiency. | |
| TH1 * | hist (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered histograms of any type. | |
| TH2 * | hist2d (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered 2-d histograms. | |
| TH3 * | hist3d (const std::string &histName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered 3-d histograms. | |
| TTree * | tree (const std::string &treeName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TTrees. | |
| TGraph * | graph (const std::string &graphName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TGraphs. | |
| TEfficiency * | efficiency (const std::string &effName, const std::string &tDir="", const std::string &stream="") |
| Simplify the retrieval of registered TEfficiency. | |
Protected Attributes | |
| ExpressionParsing::SGxAODProxyLoader * | m_xAODProxyLoader |
| The expression parser. | |
| std::unique_ptr< ExpressionParsing::IProxyLoader > | m_proxyLoaders |
| std::conditional< 1==1, std::unique_ptr< ExpressionParsing::ExpressionParser >, std::array< std::unique_ptr< ExpressionParsing::ExpressionParser >, 1 > >::type | m_parser |
| std::vector< std::string > | m_renounce |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
| typedef uint32_t | hash_t |
| typedef for the internal hash | |
| typedef std::map< const hash_t, TH1 * > | HistMap_t |
| Typedef for convenience. | |
| typedef std::map< const hash_t, TEfficiency * > | EffMap_t |
| Typedef for convenience. | |
| typedef std::map< const hash_t, TTree * > | TreeMap_t |
| Typedef for convenience. | |
| typedef std::map< const hash_t, TGraph * > | GraphMap_t |
| Typedef for convenience. | |
Private Member Functions | |
| template<class CONT, class AUXCONT> | |
| StatusCode | selectParticles (const xAOD::IParticleContainer *inContainer, const std::vector< int > &resultVec) const |
| Private function to perform the actualy work. | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
| void | buildBookingString (std::string &bookingString, std::string &histName, std::string &tDir, std::string &stream, bool usePrefixPostfix=false) |
| Method to build individual booking string. | |
| void | myReplace (std::string &str, const std::string &oldStr, const std::string &newStr) |
| Helper method to replace sub-string. | |
| hash_t | hash (const std::string &histName) const |
| Method to calculate a 32-bit hash from a string. | |
Private Attributes | |
| ToolHandleArray< IAsgSelectionTool > | m_selTools |
| The list of IAsgSelectionTools. | |
| Gaudi::Property< std::string > | m_evtInfoName {this, "EventInfo", "EventInfo", "Input container name"} |
| Name of the EventInfo object. | |
| Gaudi::Property< std::string > | m_inCollKey {this, "InputContainer", "", "Input container name"} |
| Input container name. | |
| Gaudi::Property< std::string > | m_outCollKey {this, "OutputContainer", "", "The name of the output container with the deep copy of selected xAOD::IParticles"} |
| Output collection name (deep copies of the original ones) | |
| Gaudi::Property< bool > | m_writeSplitAux {this, "WriteSplitOutputContainer", true, "Decide if we want to write a fully-split AuxContainer such that we can remove any variables"} |
| Decide if we want to write a fully-split AuxContainer such that we can remove any variables. | |
| Gaudi::Property< std::string > | m_outOwnPolicyName {this, "OutputContainerOwnershipPolicy", "VIEW_ELEMENTS", "Defines the ownership policy of the output container"} |
| Defines the ownership policy of the output container. | |
| Gaudi::Property< std::string > | m_selection {this, "Selection", "", "The selection string that defines which xAOD::IParticles to select from the container"} |
| The selection string that will select which xAOD::IParticles to keep from an xAOD::IParticleContainer. | |
| Gaudi::Property< bool > | m_doCutFlow {this, "DoCutBookkeeping", false, "If true, do the bookkeeping of how many particles passed which selection cuts"} |
| If true (default: false), do the bookkeeping of how many particles passed which selection cuts. | |
| Gaudi::Property< std::string > | m_cutBKCName {this, "CutBookkeeperContainer", name(), "The name of the resulting xAOD::CutBookkeeperContainer"} |
| The name of the resulting xAOD::CutBookkeeperContainer. | |
| ServiceHandle< StoreGateSvc > | m_inputMetaStore |
| Object accessing the input metadata store. | |
| ServiceHandle< StoreGateSvc > | m_outputMetaStore |
| Object accessing the output metadata store. | |
| TFile * | m_currentFile {nullptr} |
| bool | m_doneFirstEvent {false} |
| ServiceHandle< ITHistSvc > | m_histSvc |
| Default constructor: AthHistogramAlgorithm();. | |
| std::string | m_prefix |
| Name of the ROOT output stream (file) | |
| std::string | m_rootDir |
| Name of the ROOT directory. | |
| std::string | m_histNamePrefix |
| The prefix for the histogram THx name. | |
| std::string | m_histNamePostfix |
| The postfix for the histogram THx name. | |
| std::string | m_histTitlePrefix |
| The prefix for the histogram THx title. | |
| std::string | m_histTitlePostfix |
| The postfix for the histogram THx title. | |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
| HistMap_t | m_histMap |
| The map of histogram names to their pointers. | |
| EffMap_t | m_effMap |
| The map of histogram names to their pointers. | |
| TreeMap_t | m_treeMap |
| The map of TTree names to their pointers. | |
| GraphMap_t | m_graphMap |
| The map of TGraph names to their pointers. | |
| std::string | m_streamName |
| Name of the ROOT output stream (file) | |
| std::string | m_name |
| Instance name. | |
| MsgStream | m_msg |
| Cached Message Stream. | |
Internal members | |
| enum | contType_t { UNKNOWN , PHOTON , ELECTRON , MUON , TAU , JET , PARITCLEFLOW , NEUTRALPARTICLE , TRACKPARTICLE , TRUTHPARTICLE , COMPOSITEPARTICLE , PARTICLE , CALOCLUSTER } |
| An enumaration for the actual container type. More... | |
| unsigned long | m_nEventsProcessed {0} |
| Internal event counter. | |
| SG::OwnershipPolicy | m_outOwnPolicy {SG::VIEW_ELEMENTS} |
| The internally used translation for the ownership policy. | |
| contType_t | m_contType {UNKNOWN} |
| The variable that holds the value that we find for the input container. | |
| std::size_t | m_cutBKStartIdx {0} |
| The starting index of where in the CutBookkeeperContainer our new CutBookkeepers start. | |
| std::vector< std::size_t > | m_selToolIdxOffset |
| The list of pairs of the tool index of the AsgSelectionTools and the starting index of the corresponding CutBookKeeper inside the CutBookkeeperContainer. | |
| std::size_t | m_idxSelParster {0} |
| Store the index of the CutBookKeeper in the CutBookkeeperContainer for the selection using the ExpressionParser. | |
Definition at line 29 of file ParticleSelectionAlg.h.
|
privateinherited |
Typedef for convenience.
Definition at line 205 of file AthHistogramming.h.
|
privateinherited |
Typedef for convenience.
Definition at line 219 of file AthHistogramming.h.
|
privateinherited |
typedef for the internal hash
Definition at line 169 of file AthHistogramming.h.
|
privateinherited |
Typedef for convenience.
Definition at line 198 of file AthHistogramming.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
|
privateinherited |
Typedef for convenience.
Definition at line 212 of file AthHistogramming.h.
|
private |
An enumaration for the actual container type.
| Enumerator | |
|---|---|
| UNKNOWN | |
| PHOTON | |
| ELECTRON | |
| MUON | |
| TAU | |
| JET | |
| PARITCLEFLOW | |
| NEUTRALPARTICLE | |
| TRACKPARTICLE | |
| TRUTHPARTICLE | |
| COMPOSITEPARTICLE | |
| PARTICLE | |
| CALOCLUSTER | |
Definition at line 113 of file ParticleSelectionAlg.h.
| ParticleSelectionAlg::ParticleSelectionAlg | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor with parameters:
Definition at line 58 of file ParticleSelectionAlg.cxx.
|
virtual |
|
protectedinherited |
|
protectedinherited |
|
protectedvirtualinherited |
Function called when a new input file is opened user can read input metadata from inputMetaStore()
Dummy implementation that can be overridden by the derived tool.
Reimplemented in MuonVal::MetaDataAlg.
Definition at line 114 of file AthAnalysisAlgorithm.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 335 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TGraphs.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 303 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TTrees.
Definition at line 403 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 356 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 346 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 324 of file AthHistogramming.h.
|
inlineprotectedinherited |
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 281 of file AthHistogramming.h.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TGraphs.
Definition at line 427 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 260 of file AthHistogramming.h.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TTrees.
Definition at line 312 of file AthHistogramming.cxx.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 146 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of TEfficiency.
Definition at line 293 of file AthHistogramming.h.
|
protectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 98 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the booking and registering (into THistSvc) of histograms.
Definition at line 272 of file AthHistogramming.h.
|
privateinherited |
Method to build individual booking string.
Definition at line 560 of file AthHistogramming.cxx.
|
protectedinherited |
To be called by the derived classes to fill the internal configuration.
Definition at line 66 of file AthHistogramming.cxx.
|
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.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
protectedinherited |
Simplify the retrieval of registered TEfficiency.
Definition at line 250 of file AthHistogramming.cxx.
|
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.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
Athena algorithm's execute hook.
Definition at line 226 of file ParticleSelectionAlg.cxx.
|
protectedinherited |
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
|
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.
|
overridevirtual |
Athena algorithm's finalize hook.
Definition at line 121 of file ParticleSelectionAlg.cxx.
|
inherited |
|
protectedvirtualinherited |
Function called when first execute is encountered user can read event information with evtStore()
Dummy implementation that can be overridden by the derived tool.
Reimplemented in CP::JetTileCorrectionAlg.
Definition at line 139 of file AthAnalysisAlgorithm.cxx.
|
protectedinherited |
Simplify the retrieval of registered TGraphs.
Definition at line 492 of file AthHistogramming.cxx.
|
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.
|
inlineprivateinherited |
Method to calculate a 32-bit hash from a string.
Definition at line 428 of file AthHistogramming.h.
|
protectedinherited |
Simplify the retrieval of registered histograms of any type.
Definition at line 198 of file AthHistogramming.cxx.
|
inlineprotectedinherited |
Simplify the retrieval of registered 2-d histograms.
Definition at line 369 of file AthHistogramming.h.
|
inlineprotectedinherited |
Simplify the retrieval of registered 3-d histograms.
Definition at line 386 of file AthHistogramming.h.
|
inlineinherited |
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.
|
overridevirtual |
Athena algorithm's initalize hook.
Definition at line 76 of file ParticleSelectionAlg.cxx.
|
inherited |
|
overridevirtualinherited |
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.
|
inlineinherited |
Accessor for the input metadata store.
Definition at line 51 of file AthAnalysisAlgorithm.h.
|
inlineinherited |
|
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.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
privateinherited |
Helper method to replace sub-string.
Definition at line 590 of file AthHistogramming.cxx.
|
overridevirtualinherited |
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.
|
inlineinherited |
Accessor for the output metadata store.
Definition at line 55 of file AthAnalysisAlgorithm.h.
|
inlineinherited |
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
|
inlineinherited |
Helper function to access IOVMetaDataContainer information helped in the MetaDataStore.
Definition at line 65 of file AthAnalysisAlgorithm.h.
|
inlineinherited |
Helper function to access IOVMetaDataContainer information held in InputMetaDataStore, but will check IOVTime.
Also can give a channel (leave as -1 to take first available) IOVTime(runNumber, eventNumber) is a valid constructor for example
Definition at line 76 of file AthAnalysisAlgorithm.h.
|
private |
Private function to perform the actualy work.
|
overridevirtual |
Athena algorithm's beginRun hook (called once before running over the events, after initialize)
Definition at line 135 of file ParticleSelectionAlg.cxx.
|
overridevirtualinherited |
override to do firstEvent method
Definition at line 72 of file AthAnalysisAlgorithm.cxx.
|
overridevirtualinherited |
Function initialising the tool in the correct way in Athena.
Reimplemented from AthHistogramAlgorithm.
Definition at line 50 of file AthAnalysisAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
protectedinherited |
Simplify the retrieval of registered TTrees.
Definition at line 378 of file AthHistogramming.cxx.
|
overridevirtualinherited |
Inform a dynamic data consumer about all consumed or produced data.
| input_data_in | the input data object IDs of all algorithms and tools |
| output_data_in | the output data object IDs of all algorithms and tools |
| new_input_handles | the new input data handles added by this call |
| new_output_handles | the new output data handles added by this call |
|
protectedinherited |
Definition at line 45 of file AthAnalysisAlgorithm.cxx.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
The variable that holds the value that we find for the input container.
Definition at line 130 of file ParticleSelectionAlg.h.
|
privateinherited |
Definition at line 120 of file AthAnalysisAlgorithm.h.
|
private |
The name of the resulting xAOD::CutBookkeeperContainer.
If an empty name is given (default), the name of the algorithm instance is used.
Definition at line 99 of file ParticleSelectionAlg.h.
|
private |
The starting index of where in the CutBookkeeperContainer our new CutBookkeepers start.
Definition at line 133 of file ParticleSelectionAlg.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
If true (default: false), do the bookkeeping of how many particles passed which selection cuts.
Definition at line 95 of file ParticleSelectionAlg.h.
|
privateinherited |
Definition at line 122 of file AthAnalysisAlgorithm.h.
|
privateinherited |
The map of histogram names to their pointers.
Definition at line 208 of file AthHistogramming.h.
|
private |
Definition at line 75 of file ParticleSelectionAlg.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
privateinherited |
The map of TGraph names to their pointers.
Definition at line 222 of file AthHistogramming.h.
|
privateinherited |
The map of histogram names to their pointers.
Definition at line 201 of file AthHistogramming.h.
|
privateinherited |
The postfix for the histogram THx name.
Definition at line 97 of file AthHistogramAlgorithm.h.
|
privateinherited |
The prefix for the histogram THx name.
Definition at line 94 of file AthHistogramAlgorithm.h.
|
privateinherited |
Default constructor: AthHistogramAlgorithm();.
a handle on the Hist/TTree registration service
Definition at line 83 of file AthHistogramAlgorithm.h.
|
privateinherited |
The postfix for the histogram THx title.
Definition at line 103 of file AthHistogramAlgorithm.h.
|
privateinherited |
The prefix for the histogram THx title.
Definition at line 100 of file AthHistogramAlgorithm.h.
|
private |
Store the index of the CutBookKeeper in the CutBookkeeperContainer for the selection using the ExpressionParser.
Definition at line 141 of file ParticleSelectionAlg.h.
|
private |
Input container name.
Definition at line 78 of file ParticleSelectionAlg.h.
|
privateinherited |
Object accessing the input metadata store.
Definition at line 116 of file AthAnalysisAlgorithm.h.
|
privateinherited |
Cached Message Stream.
Definition at line 248 of file AthHistogramming.h.
|
privateinherited |
Instance name.
Definition at line 245 of file AthHistogramming.h.
|
private |
|
private |
Output collection name (deep copies of the original ones)
Definition at line 81 of file ParticleSelectionAlg.h.
|
private |
The internally used translation for the ownership policy.
Definition at line 110 of file ParticleSelectionAlg.h.
|
private |
Defines the ownership policy of the output container.
Definition at line 87 of file ParticleSelectionAlg.h.
|
privateinherited |
Object accessing the output metadata store.
Definition at line 118 of file AthAnalysisAlgorithm.h.
|
protectedinherited |
Definition at line 100 of file ExpressionParserUser.h.
|
privateinherited |
Name of the ROOT output stream (file)
Definition at line 88 of file AthHistogramAlgorithm.h.
|
protectedinherited |
Definition at line 97 of file ExpressionParserUser.h.
|
protectedinherited |
Definition at line 102 of file ExpressionParserUser.h.
|
privateinherited |
Definition at line 91 of file AthHistogramAlgorithm.h.
|
private |
The selection string that will select which xAOD::IParticles to keep from an xAOD::IParticleContainer.
Definition at line 91 of file ParticleSelectionAlg.h.
|
private |
The list of pairs of the tool index of the AsgSelectionTools and the starting index of the corresponding CutBookKeeper inside the CutBookkeeperContainer.
Definition at line 137 of file ParticleSelectionAlg.h.
|
private |
The list of IAsgSelectionTools.
Definition at line 72 of file ParticleSelectionAlg.h.
|
privateinherited |
Name of the ROOT output stream (file)
Definition at line 226 of file AthHistogramming.h.
|
privateinherited |
The map of TTree names to their pointers.
Definition at line 215 of file AthHistogramming.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.
|
private |
Decide if we want to write a fully-split AuxContainer such that we can remove any variables.
Definition at line 84 of file ParticleSelectionAlg.h.
|
protectedinherited |
The expression parser.
Definition at line 96 of file ExpressionParserUser.h.