|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef XAODEGAMMA_VERSIONS_EGAMMA_V1_H
8 #define XAODEGAMMA_VERSIONS_EGAMMA_V1_H
11 #include "AthLinks/ElementLink.h"
36 #include "Math/Vector4D.h"
89 virtual double pt()
const override final;
92 virtual
double eta()
const override final;
95 virtual
double phi()
const override final;
98 virtual
double m()
const override final;
101 virtual
double e()
const override final;
388 #endif // XAODEGAMMA_VERSIONS_EGAMMA_V1_H
void setAuthor(uint16_t)
set author
bool isolationCaloCorrection(float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection corr, const Iso::IsolationCorrectionParameter param) const
Accessor for flavour and type depended Isolation Calo correction.
virtual Type::ObjectType type() const override=0
The type of the object as a simple enumeration, remains pure virtual in e/gamma.
bool passSelection(const std::string &menu) const
Check if the egamma object pass a selection menu (using the name) If the particular menu decision is ...
void setLikelihoodValue(float value, const std::string &LHValue=std::string("LHValue"))
Set the LHValue as float.
bool setIsolationCaloCorrection(float value, const Iso::IsolationFlavour flavour, const Iso::IsolationCaloCorrection corr, const Iso::IsolationCorrectionParameter param)
set method for flavour and type depended Isolation Calo Corrections.
void addAuthor(uint16_t)
add author
IsolationFlavour
Enumeration for different ways of calculating isolation in xAOD files.
bool isolationValue(float &value, const Iso::IsolationType information) const
old Accessor for Isolation values.
virtual double e() const override final
The total energy of the particle.
uint16_t author(uint16_t bitmask=EgammaParameters::AuthorALL) const
Get author.
void setM(float m)
set the Mass
bool setIsolationTrackCorrection(float value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection corr)
Set method for Isolation Track Corrections.
bool isolationCorrectionBitset(std::bitset< 32 > &value, const Iso::IsolationFlavour flavour) const
Accessor for Isolation corection Bitset.
virtual FourMom_t p4() const override final
The full 4-momentum of the particle as a TLoretzVector.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
bool const RAWDATA *ch2 const
Class providing the definition of the 4-vector interface.
size_t nCaloClusters() const
Return the number of xAOD::CaloClusters that define the electron candidate.
IsolationCorrectionParameter
bool showerShapeValue(float &value, const EgammaParameters::ShowerShapeType information) const
Accessor for ShowerShape values.
bool setIsolation(float value, const Iso::IsolationType information)
set method for Isolation values.
const ElementLink< CaloClusterContainer > & caloClusterLink(size_t index=0) const
ElementLink to the xAOD::CaloCluster/s that match the electron candidate.
TLorentzVector FourMom_t
Definition of the 4-momentum type.
void setCovMatrix(const EgammaCovMatrix_t &cov)
set the 4x4 symmetric covariance matrix .
const Egamma_v1 * ambiguousObject() const
Get ambiguous.
Description of a calorimeter cluster.
void setP4(float pt, float eta, float phi, float m)
set the 4-vec
float likelihoodValue(const std::string &LHValue=std::string("LHValue")) const
Return the LH value as float If the LH Value is not stored in this xAOD::Egamma, an exception will oc...
const uint16_t AuthorALL
not an actual author, but used as default in some functions
bool setIsolationValue(float value, const Iso::IsolationType information)
old set method for Isolation values.
Egamma_v1(const Egamma_v1 &eg)
Copy constructor (default implementation)
bool isolation(float &value, const Iso::IsolationType information) const
Accessor for Isolation values.
Egamma_v1 & operator=(const Egamma_v1 &eg)
Assignment Operator. Using the assignment of SG::AuxElement.
void setPhi(float phi)
set the phi
IsolationType
Overall enumeration for isolation types in xAOD files.
const xAOD::CaloCluster * caloCluster(size_t index=0) const
Pointer to the xAOD::CaloCluster/s that define the electron candidate.
virtual double phi() const override final
The azimuthal angle ( ) of the particle.
uint32_t OQ() const
Return the object quality bit word.
void setCaloClusterLinks(const CLELVec_t &links)
set Pointer to the xAOD::CaloCluster
EgammaCovMatrix_t covMatrix() const
Returns the 4x4 symmetric covariance matrix .
void setPt(float pt)
set the Pt
ElementLink implementation for ROOT usage.
const CLELVec_t & caloClusterLinks() const
Get all cluster links.
virtual double rapidity() const override final
The true rapidity (y) of the particle.
Eigen::Matrix< float, 4, 4 > EgammaCovMatrix_t
4x4 Covariance Matrix in EtEtaPhiM (needs decision)
void setEta(float eta)
set the eta
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > GenVecFourMom_t
Base 4 Momentum type for egamma.
Egamma_v1()
Default constructor.
GenVecFourMom_t genvecP4() const
The full 4-momentum of the particle : internal egamma type.
bool likelihoodValue(float &value, const std::string &LHValue=std::string("LHValue")) const
Return the LH value as float If the LH decision is stored in this xAOD::Egamma, then the function fil...
DATAVECTOR_BASE_FIN(xAOD::Egamma_v1, xAOD::IParticle)
IsolationCaloCorrection
Enumeration for different ways of correcting isolation in xAOD files.
virtual double pt() const override final
The transverse momentum ( ) of the particle.
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
bool selectionisEM(unsigned int &value, const std::string &isEM) const
Return the isEM word for a selection menu If the menu isEM is stored in this xAOD::Egamma,...
virtual double m() const override final
The invariant mass of the particle.
void setPassSelection(bool value, const std::string &menu)
Set the selection decision for a menu (using the name)
std::vector< ElementLink< CaloClusterContainer > > CLELVec_t
Helper type definition.
bool isolationTrackCorrection(float &value, const Iso::IsolationFlavour flavour, const Iso::IsolationTrackCorrection corr) const
Accessor for Isolation Track correction.
bool setShowerShapeValue(float value, const EgammaParameters::ShowerShapeType information)
Set method for Shower Shape values.
void setOQ(uint32_t newOQ)
Set the object quality.
float isolationValue(const Iso::IsolationType information) const
old Accessor to Isolation values , this just returns the value without internaly checking if it exist...
bool setIsolationCorrectionBitset(uint32_t value, const Iso::IsolationFlavour flavour)
Set method for Isolation corection Bitset.
bool passSelection(bool &value, const std::string &menu) const
Check if the egamma object pass a selection menu (using the name) If the menu decision is stored in t...
void setSelectionisEM(unsigned int value, const std::string &isEM)
Set the isEM word for a selection menu (using the name)
bool isGoodOQ(uint32_t mask) const
Check object quality. Return True is it is Good Object Quality.