ATLAS Offline Software
Public Types | Public Member Functions | List of all members
MuonVal::IParticleDecorationBranch Class Referenceabstract

#include <IMuonTesterBranch.h>

Inheritance diagram for MuonVal::IParticleDecorationBranch:
Collaboration diagram for MuonVal::IParticleDecorationBranch:

Public Types

using DataDependency = SG::VarHandleKey *
 

Public Member Functions

virtual void push_back (const xAOD::IParticle *p)=0
 Similar to the IAuxElementDecoration branch but only accepting IParticles. More...
 
virtual void push_back (const xAOD::IParticle &p)=0
 
virtual void operator+= (const xAOD::IParticle *p)=0
 
virtual void operator+= (const xAOD::IParticle &p)=0
 
virtual ~IParticleDecorationBranch ()=default
 
virtual bool fill (const EventContext &ctx)=0
 The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided. More...
 
virtual bool init ()=0
 The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty. More...
 
virtual std::string name () const =0
 Returns the name of the branch. More...
 
virtual std::vector< DataDependencydata_dependencies ()=0
 Returns a vector of all Event data dependencies needed by the Branch to work. More...
 
virtual TTree * tree ()=0
 Returns the pointer to the underlying TTree object. More...
 
virtual const TTree * tree () const =0
 

Detailed Description

Definition at line 65 of file IMuonTesterBranch.h.

Member Typedef Documentation

◆ DataDependency

Definition at line 39 of file IMuonTesterBranch.h.

Constructor & Destructor Documentation

◆ ~IParticleDecorationBranch()

virtual MuonVal::IParticleDecorationBranch::~IParticleDecorationBranch ( )
virtualdefault

Member Function Documentation

◆ data_dependencies()

virtual std::vector<DataDependency> MuonVal::IMuonTesterBranch::data_dependencies ( )
pure virtualinherited

Returns a vector of all Event data dependencies needed by the Branch to work.

Implemented in MuonVal::MuonTesterBranch, MuonVal::EventHashBranch, and MuonVal::IParticleFourMomBranch.

◆ fill()

virtual bool MuonVal::IMuonTesterBranch::fill ( const EventContext &  ctx)
pure virtualinherited

The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.

--> returns false if no update is called or the dummy value has not been defined

Implemented in TestMuonSF::MuonSFBranches, TestMuonSF::TriggerSFBranches, CP::IsoCorrectionTestHelper, MuonVal::EventInfoBranch, MuonValR4::MmClusterVariables, MuonValR4::RpcMeasurementVariables, MuonValR4::TgcStripVariables, MuonValR4::MdtDriftCircleVariables, MuonValR4::MdtTwinDriftCircleVariables, MuonPRDTest::MMPRDVariables, MuonPRDTest::sTGCPRDVariables, MuonValR4::SpacePointTesterModule, MuonPRDTest::ParticleVariables, MuonPRDTest::RpcSDOVariables, MuonValR4::SimHitTester, MuonPRDTest::CSCRDOVariables, MuonPRDTest::SegmentVariables, MuonPRDTest::MMDigitVariables, MuonPRDTest::TGCPRDVariables, MuonPRDTest::TGCRDOVariables, MuonPRDTest::CSCPRDVariables, MuonPRDTest::MMRDOVariables, MuonPRDTest::MMSDOVariables, MuonPRDTest::MuEntryVariables, MuonPRDTest::RpcDigitVariables, MuonPRDTest::sTgcDigitVariables, MuonPRDTest::sTGCRDOVariables, MuonPRDTest::sTgcSDOVariables, MuonPRDTest::TgcDigitVariables, MuonVal::EventHashBranch, MuonPRDTest::CscDigitVariables, MuonPRDTest::CscSDOVariables, MuonPRDTest::MdtDigitVariables, MuonPRDTest::MdtSDOVariables, MuonPRDTest::MDTSimHitVariables, MuonPRDTest::MMSimHitVariables, MuonPRDTest::sTGCSimHitVariables, MuonPRDTest::TgcSDOVariables, MuonPRDTest::RPCSimHitVariables, MuonPRDTest::CSCSimHitVariables, MuonPRDTest::TGCSimHitVariables, MuonPRDTest::TruthVariables, TestMuonSF::MuonReplicaBranches, MuonVal::IParticleFourMomBranch, MuonVal::VectorBranch< T >, MuonVal::VectorBranch< int8_t >, MuonVal::VectorBranch< uint32_t >, MuonVal::VectorBranch< int16_t >, MuonVal::VectorBranch< std::vector< int > >, MuonVal::VectorBranch< double >, MuonVal::VectorBranch< float >, MuonVal::VectorBranch< int >, MuonVal::VectorBranch< unsigned int >, MuonVal::VectorBranch< std::vector< short unsigned > >, MuonVal::VectorBranch< std::vector< T > >, MuonVal::VectorBranch< std::vector< short int > >, MuonVal::VectorBranch< unsigned short >, MuonVal::VectorBranch< short >, MuonVal::VectorBranch< uint8_t >, MuonVal::VectorBranch< unsigned char >, MuonVal::VectorBranch< unsigned >, MuonVal::VectorBranch< uint16_t >, MuonVal::VectorBranch< char >, MuonVal::VectorBranch< bool >, MuonVal::VectorBranch< std::vector< unsigned > >, MuonVal::VectorBranch< uint >, MuonVal::VectorBranch< std::vector< int16_t > >, MuonVal::VectorBranch< std::vector< short > >, MuonVal::VectorBranch< std::vector< uint16_t > >, MuonVal::ScalarBranch< T >, MuonVal::ScalarBranch< uint32_t >, MuonVal::ScalarBranch< double >, MuonVal::ScalarBranch< unsigned long long >, MuonVal::ScalarBranch< std::string >, MuonVal::ScalarBranch< float >, MuonVal::ScalarBranch< Identifier >, MuonVal::ScalarBranch< int >, MuonVal::ScalarBranch< unsigned int >, MuonVal::ScalarBranch< uint8_t >, MuonVal::ScalarBranch< unsigned short >, MuonVal::ScalarBranch< short >, MuonVal::ScalarBranch< unsigned >, MuonVal::ScalarBranch< uint16_t >, MuonVal::ScalarBranch< bool >, MuonVal::ScalarBranch< uint >, MuonVal::SetBranch< T >, MuonVal::CartesFourVecBranch, MuonVal::ThreeVectorBranch, MuonVal::CoordSystemsBranch, MuonVal::PtEtaPhiEBranch, MuonVal::TwoVectorBranch, MuonVal::ArrayBranch< T >, MuonVal::MuonIdentifierBranch, MuonVal::ArrayBranch< ULong64_t >, MuonVal::ArrayBranch< unsigned >, and MuonVal::CoordTransformBranch.

◆ init()

virtual bool MuonVal::IMuonTesterBranch::init ( )
pure virtualinherited

The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.

Implemented in TestMuonSF::MuonSFBranches, MuonVal::CartesFourVecBranch, MuonVal::ThreeVectorBranch, TestMuonSF::TriggerSFBranches, CP::IsoCorrectionTestHelper, MuonVal::CoordSystemsBranch, MuonVal::EventInfoBranch, MuonVal::PtEtaPhiEBranch, MuonVal::TwoVectorBranch, MuonVal::ArrayBranch< T >, MuonVal::ArrayBranch< ULong64_t >, MuonVal::ArrayBranch< unsigned >, MuonVal::MuonIdentifierBranch, MuonValR4::TesterModuleBase, MuonVal::CoordTransformBranch, MuonPRDTest::PrdTesterModule, MuonVal::EventHashBranch, TestMuonSF::MuonReplicaBranches, MuonVal::IParticleFourMomBranch, MuonVal::VectorBranch< T >, MuonVal::VectorBranch< int8_t >, MuonVal::VectorBranch< uint32_t >, MuonVal::VectorBranch< int16_t >, MuonVal::VectorBranch< std::vector< int > >, MuonVal::VectorBranch< double >, MuonVal::VectorBranch< float >, MuonVal::VectorBranch< int >, MuonVal::VectorBranch< unsigned int >, MuonVal::VectorBranch< std::vector< short unsigned > >, MuonVal::VectorBranch< std::vector< T > >, MuonVal::VectorBranch< std::vector< short int > >, MuonVal::VectorBranch< unsigned short >, MuonVal::VectorBranch< short >, MuonVal::VectorBranch< uint8_t >, MuonVal::VectorBranch< unsigned char >, MuonVal::VectorBranch< unsigned >, MuonVal::VectorBranch< uint16_t >, MuonVal::VectorBranch< char >, MuonVal::VectorBranch< bool >, MuonVal::VectorBranch< std::vector< unsigned > >, MuonVal::VectorBranch< uint >, MuonVal::VectorBranch< std::vector< int16_t > >, MuonVal::VectorBranch< std::vector< short > >, MuonVal::VectorBranch< std::vector< uint16_t > >, MuonVal::ScalarBranch< T >, MuonVal::ScalarBranch< uint32_t >, MuonVal::ScalarBranch< double >, MuonVal::ScalarBranch< unsigned long long >, MuonVal::ScalarBranch< std::string >, MuonVal::ScalarBranch< float >, MuonVal::ScalarBranch< Identifier >, MuonVal::ScalarBranch< int >, MuonVal::ScalarBranch< unsigned int >, MuonVal::ScalarBranch< uint8_t >, MuonVal::ScalarBranch< unsigned short >, MuonVal::ScalarBranch< short >, MuonVal::ScalarBranch< unsigned >, MuonVal::ScalarBranch< uint16_t >, MuonVal::ScalarBranch< bool >, MuonVal::ScalarBranch< uint >, and MuonVal::SetBranch< T >.

◆ name()

virtual std::string MuonVal::IMuonTesterBranch::name ( ) const
pure virtualinherited

Returns the name of the branch.

Implemented in MuonVal::MuonTesterBranch, MuonVal::EventHashBranch, and MuonVal::IParticleFourMomBranch.

◆ operator+=() [1/2]

virtual void MuonVal::IParticleDecorationBranch::operator+= ( const xAOD::IParticle p)
pure virtual

◆ operator+=() [2/2]

virtual void MuonVal::IParticleDecorationBranch::operator+= ( const xAOD::IParticle p)
pure virtual

◆ push_back() [1/2]

virtual void MuonVal::IParticleDecorationBranch::push_back ( const xAOD::IParticle p)
pure virtual

◆ push_back() [2/2]

virtual void MuonVal::IParticleDecorationBranch::push_back ( const xAOD::IParticle p)
pure virtual

Similar to the IAuxElementDecoration branch but only accepting IParticles.

Implemented in MuonVal::IParticleFourMomBranch, MuonVal::ParticleVariableBranchGeV< T >, MuonVal::ParticleVariableBranch< T >, and MuonVal::TrackChi2Branch.

◆ tree() [1/2]

virtual const TTree* MuonVal::IMuonTesterBranch::tree ( ) const
pure virtualinherited

◆ tree() [2/2]

virtual TTree* MuonVal::IMuonTesterBranch::tree ( )
pure virtualinherited

Returns the pointer to the underlying TTree object.

Implemented in MuonVal::MuonTesterBranch, MuonVal::EventHashBranch, and MuonVal::IParticleFourMomBranch.


The documentation for this class was generated from the following file: