17#ifndef TRIGMUONEVENT_ISO_MUON_FEATURE_H
18#define TRIGMUONEVENT_ISO_MUON_FEATURE_H
63 void print ( MsgStream& log );
75 inline void setCaloInfos(
float e01,
float e02,
float e03,
float e04) {
82 inline void setTrackInfos(
float p01,
float p02,
float p03,
float p04,
float pmu,
float pmax) {
220 std::map< std::string, double >& variableChange );
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
bool operator==(const IsoMuonFeature &a, const IsoMuonFeature &b)
Operator comparing two IsoMuonFeature objects for equality.
void diff(const IsoMuonFeature &a, const IsoMuonFeature &b, std::map< std::string, double > &variableChange)
Comparison with feedback.
MsgStream & operator<<(MsgStream &m, const IsoMuonFeature &d)
Helper operator for printing the object.
bool operator!=(const IsoMuonFeature &a, const IsoMuonFeature &b)
Operator comparing two IsoMuonFeature objects for inequality.
A number of constexpr particle constants to avoid hardcoding them directly in various places.
Class with isolation variables for TrigmuIso algorithm.
friend class IsoMuonFeatureCnv_p1
float m_MaxPtID
pt of highest pt track in cone (excluded the one associated to the muon)
void setCaloInfos(float e01, float e02, float e03, float e04)
Set calorimetric infos.
float getEtInnerConeEC() const
~IsoMuonFeature()
Destructor.
float m_PtMuID
Pt of charged track associated to the muon.
double charge(void) const
void print(void)
Prints out cluster variables to std::cout.
float m_sumet01
Calo based isolation.
float getPtMu() const
Get Muon Pt.
int getRoiIdMu() const
Get Muon RoI Id.
float m_sumpt01
Track based isolation.
void setRoiMu(int id, float pt, float eta, float phi, float charge, int fl)
float getsumpt01() const
Get Transverse Pt sum in cone.
friend class IsoMuonFeatureCnv_p2
friend class IsoMuonFeatureCnv_p3
int iso_strategy(void) const
Get Isolation strategy (1->CombinedMuon seeded, 2->muFast Muon seeded, 3->L1 muon seeded)
double pt(void) const
transverse momentum
int iso_errorFlag(void) const
Get Error Flag.
float getEtOuterConeHC() const
IsoMuonFeature()
Constructor.
int getNTracksCone() const
float getEtInnerConeHC() const
IsoMuonFeature & operator=(const IsoMuonFeature &mfeature)
Assignement operator.
float getTileWeight() const
double eta(void) const
pseudo rapidity
float getSumPtTracksCone() const
float getQMu() const
Get Muon Q.
float getsumet01() const
Get Transverse Energy sum in cone.
float getMaxPtID() const
Get Pt of max pt ID track in cone (muon excluded)
void setRoiMu(int id, float pt, float eta, float phi, int fl)
Set Muon Roi.
float getPtMuID() const
Get Pt of charged track associated to muon.
float getEtOuterConeEC() const
float getPtMuTracksCone() const
void setTrackInfos(float p01, float p02, float p03, float p04, float pmu, float pmax)
Set Tracks infos.
double phi(void) const
phi in [-pi,pi[
float getEtaMu() const
Get Muon Eta.
float getLArWeight() const
float getPhiMu() const
Get Muon Phi.
P4PtEtaPhiMBase is a base class for classes with 4-momentum behavior, for which pt,...
constexpr double muonMassInMeV
the mass of the muon (in MeV)