|
DAS
3.0
Das Analysis System
|
Go to the documentation of this file.
15 static inline const char *
ScaleVar =
"GenPhotonScales",
31 static inline const char *
ScaleVar =
"RecPhotonScales",
47 static inline const std::vector<TString>
uncs {
"Scale",
"SigmaPhi",
"SigmaRho"};
75 std::array<float, VariationsCount>
scales;
83 inline float Rapidity ()
const {
return p4.Rapidity() ; };
100 return s << photon.
p4 <<
' ' << photon.
scales.size() <<
' ' << photon.
weights.size();
103 #if defined(__ROOTCLING__)
104 #pragma link C++ class DAS::GenPhoton +;
105 #pragma link C++ class std::vector<DAS::GenPhoton> +;
107 #pragma link C++ class DAS::RecPhoton +;
108 #pragma link C++ class std::vector<DAS::RecPhoton> +;
@ SigmaRhoUp
energy with the ecal energy smearing value shifted 1 sigma(rho) up
Definition: Photon.h:43
std::vector< Weight > Weights
Definition: Weight.h:41
static const std::vector< TString > uncs
Definition: Photon.h:47
FourVector p4
four-momentum
Definition: Photon.h:62
Definition: applyBTagSF.cc:31
@ PixelSeedVeto
Pixel seed veto.
Definition: Photon.h:59
std::array< float, VariationsCount > scales
Energy scale and smearing variations, indexed with the EnergyVariation enum.
Definition: Photon.h:75
std::string_view weight_group() const final
Definition: Photon.h:25
GenPhoton()=default
Constructor (trivial)
@ ScaleUp
energy with the ecal energy scale shifted 1 sigma(stat) up
Definition: Photon.h:39
@ CutBasedMedium
Medium cut-based ID.
Definition: Photon.h:54
float scEta
Super cluster eta, used to veto the barrel/endcap transition region.
Definition: Photon.h:65
FourVector p4
raw four-momentum directly after reconstruction
Definition: PhysicsObject.h:47
float sigmaIEtaIEta
Width of the ECAL deposit along the eta axis.
Definition: Photon.h:66
@ Nominal
ecalEnergy of photon after scale & smearing corrections
Definition: Photon.h:38
float photonIsolation
Recomputed isolation from other photons.
Definition: Photon.h:70
@ CutBasedLoose
Loose cut-based ID.
Definition: Photon.h:53
EnergyVariation
Definition: Photon.h:37
@ MVAWorkingPoint80
80% efficiency working point of the MVA ID
Definition: Photon.h:56
Definition: PhysicsObject.h:38
std::uint32_t selectors
Identification cuts satisfied by the photon.
Definition: Photon.h:78
~RecPhoton()=default
Destructor (trivial)
std::ostream & operator<<(std::ostream &s, const DAS::GenPhoton &photon)
Definition: Photon.h:93
class GenPhoton
Definition: Photon.h:14
static const char * WeightVar
Definition: Photon.h:16
Weights weights
object weights
Definition: Photon.h:63
bool prompt
Originates directly from the matrix element.
Definition: Photon.h:19
std::string_view scale_group() const final
Definition: Photon.h:24
float Rapidity() const
Definition: Photon.h:83
float worstChargedIsolation
Recomputed charged isolation with the vertex chosen to maximize this value used for the ID.
Definition: Photon.h:71
float AbsRap() const
Definition: Photon.h:84
@ SigmaRhoDown
energy with the ecal energy smearing value shifted 1 sigma(rho) down
Definition: Photon.h:44
RecPhoton()=default
Constructor (trivial)
float hOverE
Ratio of HCAL to ECAL energy.
Definition: Photon.h:67
@ SigmaPhiUp
energy with the ecal energy smearing value shifted 1 sigma(phi) up
Definition: Photon.h:41
float ecalEnergyErrPostCorr
resolution estimate on the ecalEnergy after scale & smearing corrections
Definition: Photon.h:76
@ ScaleDown
energy with the ecal energy scale shifted 1 sigma(stat) down
Definition: Photon.h:40
@ CutBasedTight
Tight cut-based ID.
Definition: Photon.h:55
@ VariationsCount
Number of available variations.
Definition: Photon.h:45
@ SigmaPhiDown
energy with the ecal energy smearing value shifted 1 sigma(phi) down
Definition: Photon.h:42
bool zAncestor
Z boson among the particle mothers.
Definition: Photon.h:18
static const char * WeightVar
Definition: Photon.h:32
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< float > > FourVector
Definition: PhysicsObject.h:15
float neutralHadronIsolation
Recomputed isolation from neutral hadrons.
Definition: Photon.h:69
static const char * ScaleVar
Definition: Photon.h:31
static const char * ScaleVar
Definition: Photon.h:15
Identification
Definition: Photon.h:52
@ MVAWorkingPoint90
90% efficiency working point of the MVA ID
Definition: Photon.h:57
float chargedIsolation
Recomputed isolation from charged particles.
Definition: Photon.h:68
class RecPhoton
Definition: Photon.h:30
@ ConversionSafeElectronVeto
Electron veto.
Definition: Photon.h:58
FourVector CorrP4(EnergyVariation var=Nominal) const
Definition: Photon.h:88