|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef ISOLATIONSELECTION_TESTMARCOHELPERS_H
6 #define ISOLATIONSELECTION_TESTMARCOHELPERS_H
8 #ifndef XAOD_STANDALONE
40 bool init()
override final;
41 bool fill(
const EventContext& ctx)
override final;
MuonVal::VectorBranch< float > & m_assoc_pflow_eta
void SetBackupPreFix(const std::string &prefix)
Specify whether the vanilla isolation variable is backuped to another set of decorators.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
MuonVal::VectorBranch< float > & corrected_cones
StatusCode FillIsolationBranches(const xAOD::IParticle *P, const IsoHelperPtr &Acc, MuonVal::VectorBranch< float > &Original, MuonVal::VectorBranch< float > &Corrected)
std::unique_ptr< IsoVariableHelper > IsoHelperPtr
MuonVal::VectorBranch< float > & m_assoc_pflow_phi
std::set< FlowElementPtr > PflowSet
MuonVal::VectorBranch< int > & m_Q
MuonVal::VectorBranch< bool > & m_corr_passIso
MuonVal::VectorBranch< float > & m_assoc_track_pt
Class providing the definition of the 4-vector interface.
Select isolated Photons, Electrons and Muons.
void SetFlowElements(const PflowSet &flows)
void SetUpdatedIsoDecorator(const std::string &acc)
Pipe the name of te decorator encoding whether the object already passed the corrected isolation.
MuonVal::VectorBranch< float > & m_assoc_cluster_et
MuonVal::VectorBranch< float > & m_phi
IsoCorrectionTestHelper(MuonVal::MuonTesterTree &outTree, const std::string &ContainerName, const std::vector< std::unique_ptr< IsolationWP >> &WP)
void SetIsolationDecorator(const std::string &acc)
Pipe the name of te decorator encoding whether the object already passed the vanilla isolation.
float Charge(const xAOD::IParticle *P) const
MuonVal::VectorBranch< float > & m_assoc_cluster_phi
::StatusCode StatusCode
StatusCode definition for legacy code.
IsolationType
Overall enumeration for isolation types in xAOD files.
MuonVal::VectorBranch< float > & m_pt
MuonVal::VectorBranch< float > & m_assoc_pflow_et
MuonVal::VectorBranch< float > & m_assoc_cluster_eta
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
std::string name() const
Name of the tree.
std::vector< IsolationBranches > m_iso_branches
MuonVal::VectorBranch< float > & m_e
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
std::set< CaloClusterPtr > ClusterSet
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
std::optional< CharAccessor > m_acc_used_for_corr
IsolationBranches(IsoCorrectionTestHelper &parent, IsoType T, const std::string &prefix)
MuonVal::VectorBranch< float > & m_eta
std::optional< CharAccessor > m_acc_passCorrected
void SetClusters(const ClusterSet &clusters)
set the list of all clusters from the Cluster container matched by the IsolationCloseByCorrectionTool...
MuonVal::VectorBranch< float > & original_cones
void SetSelectionDecorator(const std::string &acc)
Pipe the name of the decorator selecting the objects dumped to the TTree.
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
std::optional< CharAccessor > m_acc_passDefault
MuonVal::VectorBranch< bool > & m_orig_passIso
StatusCode Fill(const xAOD::IParticleContainer *Particles)