The interface class for all the tools constituting object definitions. More...
#include <IAnaTool.h>
Public Member Functions | |
virtual StatusCode | getInitialConfiguration (InternalConfiguration &conf)=0 |
fill the initial configuration before initialize | |
virtual StatusCode | useInitialConfiguration (const InternalConfiguration &conf)=0 |
use the initial configuration before initialize | |
virtual StatusCode | setObjectType (ObjectType type, const std::string &workingPoint)=0 |
set the object type to work on | |
virtual AnalysisStep | step () const =0 |
the processing step we are working on | |
virtual unsigned | inputTypes () const =0 |
a bit-map indicating which object types we use | |
virtual unsigned | outputTypes () const =0 |
a bit-map indicating which output types we will create | |
virtual void | fillEventDataSource (EventData &event) const =0 |
fill the source component of the EventData | |
virtual StatusCode | useConfiguration (const InternalConfiguration &configuration)=0 |
extract whatever we need from the given configuration object | |
virtual StatusCode | execute (IEventObjects &objects)=0 |
apply this analysis tool to the objects |
The interface class for all the tools constituting object definitions.
virtual StatusCode ana::IAnaTool::execute | ( | IEventObjects & | objects | ) | [pure virtual] |
apply this analysis tool to the objects
objects | the objects to apply this too |
Implemented in ana::AnaToolCorrect< XAODContainer >, ana::AnaToolRetrieve, ana::AnaToolSelect< XAODContainer >, ana::AnaToolSelectCombine, ana::AnaToolSelectInit, ana::AnaToolSelectSpread, ana::AnaToolWeight< XAODContainer >, ana::EventInfoIsData, ana::EventInfoTool, ana::EventSelectBaseTool, ana::EventSelectHasVertex, ana::JetToolWeight, ana::KinSelectTool, ana::LegacyORTool, ana::MetTool, ana::ORTool, ana::PileupTool, ana::SusyORTool, ana::TauToolTruth, ana::TriggerTool, ana::AnaToolCorrect< xAOD::ElectronContainer >, ana::AnaToolCorrect< xAOD::MuonContainer >, ana::AnaToolCorrect< xAOD::PhotonContainer >, ana::AnaToolCorrect< xAOD::TauJetContainer >, ana::AnaToolCorrect< xAOD::JetContainer >, ana::AnaToolSelect< xAOD::ElectronContainer >, ana::AnaToolSelect< xAOD::MuonContainer >, ana::AnaToolSelect< xAOD::PhotonContainer >, ana::AnaToolSelect< xAOD::TauJetContainer >, ana::AnaToolSelect< xAOD::JetContainer >, ana::AnaToolWeight< xAOD::ElectronContainer >, ana::AnaToolWeight< xAOD::MuonContainer >, ana::AnaToolWeight< xAOD::PhotonContainer >, ana::AnaToolWeight< xAOD::TauJetContainer >, and ana::AnaToolWeight< xAOD::JetContainer >.
virtual void ana::IAnaTool::fillEventDataSource | ( | EventData & | event | ) | const [pure virtual] |
fill the source component of the EventData
This is meant to be implemented by the retrieval tools that perform the shallow copy to document what they do. All other tools can safely ignore this.
Implemented in ana::AnaTool, and ana::AnaToolRetrieve.
virtual StatusCode ana::IAnaTool::getInitialConfiguration | ( | InternalConfiguration & | conf | ) | [pure virtual] |
fill the initial configuration before initialize
this is mostly used so that retrieval tools can broadcast the input collections they are using
Implemented in ana::AnaTool, and ana::AnaToolRetrieve.
virtual unsigned ana::IAnaTool::inputTypes | ( | ) | const [pure virtual] |
a bit-map indicating which object types we use
Implemented in ana::AnaToolCorrect< XAODContainer >, ana::AnaToolRetrieve, ana::AnaToolSelect< XAODContainer >, ana::AnaToolSelectCombine, ana::AnaToolSelectInit, ana::AnaToolSelectSpread, ana::AnaToolWeight< XAODContainer >, ana::EventInfoIsData, ana::EventInfoTool, ana::EventSelectBaseTool, ana::EventSelectHasVertex, ana::JetToolWeight, ana::KinSelectTool, ana::LegacyORTool, ana::MetTool, ana::ORTool, ana::PileupTool, ana::SusyORTool, ana::TauToolTruth, ana::TriggerTool, ana::AnaToolCorrect< xAOD::ElectronContainer >, ana::AnaToolCorrect< xAOD::MuonContainer >, ana::AnaToolCorrect< xAOD::PhotonContainer >, ana::AnaToolCorrect< xAOD::TauJetContainer >, ana::AnaToolCorrect< xAOD::JetContainer >, ana::AnaToolSelect< xAOD::ElectronContainer >, ana::AnaToolSelect< xAOD::MuonContainer >, ana::AnaToolSelect< xAOD::PhotonContainer >, ana::AnaToolSelect< xAOD::TauJetContainer >, ana::AnaToolSelect< xAOD::JetContainer >, ana::AnaToolWeight< xAOD::ElectronContainer >, ana::AnaToolWeight< xAOD::MuonContainer >, ana::AnaToolWeight< xAOD::PhotonContainer >, ana::AnaToolWeight< xAOD::TauJetContainer >, and ana::AnaToolWeight< xAOD::JetContainer >.
virtual unsigned ana::IAnaTool::outputTypes | ( | ) | const [pure virtual] |
a bit-map indicating which output types we will create
Implemented in ana::AnaToolCorrect< XAODContainer >, ana::AnaToolRetrieve, ana::AnaToolSelect< XAODContainer >, ana::AnaToolSelectCombine, ana::AnaToolSelectInit, ana::AnaToolSelectSpread, ana::AnaToolWeight< XAODContainer >, ana::EventInfoIsData, ana::EventInfoTool, ana::EventSelectBaseTool, ana::EventSelectHasVertex, ana::JetToolWeight, ana::KinSelectTool, ana::LegacyORTool, ana::MetTool, ana::ORTool, ana::PileupTool, ana::SusyORTool, ana::TauToolTruth, ana::TriggerTool, ana::AnaToolCorrect< xAOD::ElectronContainer >, ana::AnaToolCorrect< xAOD::MuonContainer >, ana::AnaToolCorrect< xAOD::PhotonContainer >, ana::AnaToolCorrect< xAOD::TauJetContainer >, ana::AnaToolCorrect< xAOD::JetContainer >, ana::AnaToolSelect< xAOD::ElectronContainer >, ana::AnaToolSelect< xAOD::MuonContainer >, ana::AnaToolSelect< xAOD::PhotonContainer >, ana::AnaToolSelect< xAOD::TauJetContainer >, ana::AnaToolSelect< xAOD::JetContainer >, ana::AnaToolWeight< xAOD::ElectronContainer >, ana::AnaToolWeight< xAOD::MuonContainer >, ana::AnaToolWeight< xAOD::PhotonContainer >, ana::AnaToolWeight< xAOD::TauJetContainer >, and ana::AnaToolWeight< xAOD::JetContainer >.
virtual StatusCode ana::IAnaTool::setObjectType | ( | ObjectType | type, | |
const std::string & | workingPoint | |||
) | [pure virtual] |
set the object type to work on
this is called straight after the tool is created and before it is initialized. the primary reason for this function is to allow jet definitions to be used for either jets or fat jets.
type | the object type we work on | |
workingPoint | the name of the working point we are working on or the empty string if this is a sole working point or working points do not apply |
Implemented in ana::AnaToolCorrect< XAODContainer >, ana::AnaToolRetrieve, ana::AnaToolSelect< XAODContainer >, ana::AnaToolSelectCombine, ana::AnaToolSelectInit, ana::AnaToolSelectSpread, ana::AnaToolWeight< XAODContainer >, ana::EventInfoIsData, ana::EventInfoTool, ana::EventSelectBaseTool, ana::EventSelectHasVertex, ana::KinSelectTool, ana::LegacyORTool, ana::MetTool, ana::ORTool, ana::PileupTool, ana::SusyORTool, ana::TauToolTruth, ana::TriggerTool, ana::AnaToolCorrect< xAOD::ElectronContainer >, ana::AnaToolCorrect< xAOD::MuonContainer >, ana::AnaToolCorrect< xAOD::PhotonContainer >, ana::AnaToolCorrect< xAOD::TauJetContainer >, ana::AnaToolCorrect< xAOD::JetContainer >, ana::AnaToolSelect< xAOD::ElectronContainer >, ana::AnaToolSelect< xAOD::MuonContainer >, ana::AnaToolSelect< xAOD::PhotonContainer >, ana::AnaToolSelect< xAOD::TauJetContainer >, ana::AnaToolSelect< xAOD::JetContainer >, ana::AnaToolWeight< xAOD::ElectronContainer >, ana::AnaToolWeight< xAOD::MuonContainer >, ana::AnaToolWeight< xAOD::PhotonContainer >, ana::AnaToolWeight< xAOD::TauJetContainer >, and ana::AnaToolWeight< xAOD::JetContainer >.
virtual AnalysisStep ana::IAnaTool::step | ( | ) | const [pure virtual] |
the processing step we are working on
Implemented in ana::AnaToolCorrect< XAODContainer >, ana::AnaToolRetrieve, ana::AnaToolSelect< XAODContainer >, ana::AnaToolSelectCombine, ana::AnaToolSelectInit, ana::AnaToolSelectSpread, ana::AnaToolWeight< XAODContainer >, ana::ElectronToolPreCorrect, ana::EventInfoIsData, ana::EventInfoTool, ana::EventSelectBaseTool, ana::EventSelectHasVertex, ana::KinSelectTool, ana::LegacyORTool, ana::MetTool, ana::ORTool, ana::PileupTool, ana::SusyORTool, ana::TauToolTruth, ana::TopElectronToolPreCorrect, ana::TopMuonToolPreCorrect, ana::TriggerTool, ana::AnaToolCorrect< xAOD::ElectronContainer >, ana::AnaToolCorrect< xAOD::MuonContainer >, ana::AnaToolCorrect< xAOD::PhotonContainer >, ana::AnaToolCorrect< xAOD::TauJetContainer >, ana::AnaToolCorrect< xAOD::JetContainer >, ana::AnaToolSelect< xAOD::ElectronContainer >, ana::AnaToolSelect< xAOD::MuonContainer >, ana::AnaToolSelect< xAOD::PhotonContainer >, ana::AnaToolSelect< xAOD::TauJetContainer >, ana::AnaToolSelect< xAOD::JetContainer >, ana::AnaToolWeight< xAOD::ElectronContainer >, ana::AnaToolWeight< xAOD::MuonContainer >, ana::AnaToolWeight< xAOD::PhotonContainer >, ana::AnaToolWeight< xAOD::TauJetContainer >, and ana::AnaToolWeight< xAOD::JetContainer >.
virtual StatusCode ana::IAnaTool::useConfiguration | ( | const InternalConfiguration & | configuration | ) | [pure virtual] |
extract whatever we need from the given configuration object
Implemented in ana::AnaTool, ana::AnaToolCorrect< XAODContainer >, ana::AnaToolSelect< XAODContainer >, ana::AnaToolSelectCombine, ana::AnaToolSelectInit, ana::AnaToolSelectSpread, ana::EventSelectBaseTool, ana::EventSelectHasVertex, ana::KinSelectTool, ana::MetTool, ana::AnaToolCorrect< xAOD::ElectronContainer >, ana::AnaToolCorrect< xAOD::MuonContainer >, ana::AnaToolCorrect< xAOD::PhotonContainer >, ana::AnaToolCorrect< xAOD::TauJetContainer >, ana::AnaToolCorrect< xAOD::JetContainer >, ana::AnaToolSelect< xAOD::ElectronContainer >, ana::AnaToolSelect< xAOD::MuonContainer >, ana::AnaToolSelect< xAOD::PhotonContainer >, ana::AnaToolSelect< xAOD::TauJetContainer >, and ana::AnaToolSelect< xAOD::JetContainer >.
virtual StatusCode ana::IAnaTool::useInitialConfiguration | ( | const InternalConfiguration & | conf | ) | [pure virtual] |
use the initial configuration before initialize
Implemented in ana::AnaTool, ana::JetToolCorrect, ana::MetTool, and ana::TriggerTool.