DAS  3.0
Das Analysis System
RecPhoton

Description

class RecPhoton

#include <Photon.h>

+ Inheritance diagram for RecPhoton:
+ Collaboration diagram for RecPhoton:

Public Types

enum  EnergyVariation {
  Nominal = 0, ScaleUp, ScaleDown, SigmaPhiUp,
  SigmaPhiDown, SigmaRhoUp, SigmaRhoDown
}
 
enum  Identification {
  CutBasedLoose = 0b0000001, CutBasedMedium = 0b0000010, CutBasedTight = 0b0000100, MVAWorkingPoint80 = 0b0001000,
  MVAWorkingPoint90 = 0b0010000, ConversionSafeElectronVeto = 0b0100000, PixelSeedVeto = 0b1000000
}
 

Public Attributes

float scEta
 
float sigmaIEtaIEta
 
float hOverE
 
float chargedIsolation
 
float neutralHadronIsolation
 
float photonIsolation
 
float worstChargedIsolation
 
float ecalEnergyErrPostCorr = -1
 
std::uint32_t selectors = 0
 
- Public Attributes inherited from GenPhoton
bool zAncestor = false
 
bool prompt = false
 
- Public Attributes inherited from PhysicsObject
FourVector p4
 
std::vector< float > scales = {1.}
 
Weights weights = {{1.,0}}
 

Static Public Attributes

static const char *const ScaleVar = "RecPhotonScales"
 
static const char *const *const WeightVar = "RecPhotonWgts"
 
static const std::vector< TString > uncs {"Scale", "SigmaPhi", "SigmaRho"}
 
- Static Public Attributes inherited from GenPhoton
static const char *const ScaleVar = "GenPhotonScales"
 
static const char *const *const WeightVar = "GenPhotonWgts"
 

Private Member Functions

std::string_view scale_group () const final
 
std::string_view weight_group () const final
 

Additional Inherited Members

- Public Member Functions inherited from PhysicsObject
FourVector CorrP4 (size_t i=0) const
 
float CorrPt (size_t i=0) const
 
float Rapidity (const Uncertainties::Variation &=Uncertainties::nominal) const final
 
float AbsRap (const Uncertainties::Variation &=Uncertainties::nominal) const final
 
FourVector CorrP4 (const Uncertainties::Variation &v) const final
 
float CorrPt (const Uncertainties::Variation &v) const final
 
double Weight (const Uncertainties::Variation &v) const final
 
- Public Member Functions inherited from AbstractPhysicsObject
 AbstractPhysicsObject ()=default
 
virtual ~AbstractPhysicsObject ()=default
 
- Protected Member Functions inherited from PhysicsObject
 PhysicsObject ()=default
 
virtual ~PhysicsObject ()=default
 

Member Enumeration Documentation

◆ EnergyVariation

Energy scale and smearing variations provided by EGamma. See TWiki (rev 19) and TWiki (rev 73).

Enumerator
Nominal 

ecalEnergy of photon after scale & smearing corrections

ScaleUp 

energy with the ecal energy scale shifted 1 sigma(stat) up

ScaleDown 

energy with the ecal energy scale shifted 1 sigma(stat) down

SigmaPhiUp 

energy with the ecal energy smearing value shifted 1 sigma(phi) up

SigmaPhiDown 

energy with the ecal energy smearing value shifted 1 sigma(phi) down

SigmaRhoUp 

energy with the ecal energy smearing value shifted 1 sigma(rho) up

SigmaRhoDown 

energy with the ecal energy smearing value shifted 1 sigma(rho) down

34  {
35  Nominal = 0,
36  ScaleUp,
37  ScaleDown,
38  SigmaPhiUp,
39  SigmaPhiDown,
40  SigmaRhoUp,
42  };

◆ Identification

Identification flags provided by EGamma. See TWiki (rev 20) Values can be combined as a bit field, e.g. CutBasedLoose | CutBasedMedium.

Enumerator
CutBasedLoose 

Loose cut-based ID.

CutBasedMedium 

Medium cut-based ID.

CutBasedTight 

Tight cut-based ID.

MVAWorkingPoint80 

80% efficiency working point of the MVA ID

MVAWorkingPoint90 

90% efficiency working point of the MVA ID

ConversionSafeElectronVeto 

Electron veto.

PixelSeedVeto 

Pixel seed veto.

48  {
49  CutBasedLoose = 0b0000001,
50  CutBasedMedium = 0b0000010,
51  CutBasedTight = 0b0000100,
52  MVAWorkingPoint80 = 0b0001000,
53  MVAWorkingPoint90 = 0b0010000,
54  ConversionSafeElectronVeto = 0b0100000,
55  PixelSeedVeto = 0b1000000,
56  };

Member Function Documentation

◆ scale_group()

std::string_view scale_group ( ) const
inlinefinalprivatevirtual

Reimplemented from GenPhoton.

73 { return ScaleVar; }

◆ weight_group()

std::string_view weight_group ( ) const
inlinefinalprivatevirtual

Reimplemented from GenPhoton.

74 { return WeightVar; }

Member Data Documentation

◆ chargedIsolation

float chargedIsolation

Recomputed isolation from charged particles.

◆ ecalEnergyErrPostCorr

float ecalEnergyErrPostCorr = -1

Energy scale and smearing variations, indexed with the EnergyVariation enum.

See also
CorrP4 resolution estimate on the ecalEnergy after scale & smearing corrections

◆ hOverE

float hOverE

Ratio of HCAL to ECAL energy.

◆ neutralHadronIsolation

float neutralHadronIsolation

Recomputed isolation from neutral hadrons.

◆ photonIsolation

float photonIsolation

Recomputed isolation from other photons.

◆ ScaleVar

const char* const ScaleVar = "RecPhotonScales"
inlinestatic

◆ scEta

float scEta

Super cluster eta, used to veto the barrel/endcap transition region.

◆ selectors

std::uint32_t selectors = 0

Identification cuts satisfied by the photon.

◆ sigmaIEtaIEta

float sigmaIEtaIEta

Width of the ECAL deposit along the eta axis.

◆ uncs

const std::vector<TString> uncs {"Scale", "SigmaPhi", "SigmaRho"}
inlinestatic

◆ WeightVar

const char* const * const WeightVar = "RecPhotonWgts"
static

◆ worstChargedIsolation

float worstChargedIsolation

Recomputed charged isolation with the vertex chosen to maximize this value used for the ID.


The documentation for this struct was generated from the following file:
DAS::RecPhoton::SigmaRhoUp
@ SigmaRhoUp
energy with the ecal energy smearing value shifted 1 sigma(rho) up
Definition: Photon.h:40
DAS::RecPhoton::PixelSeedVeto
@ PixelSeedVeto
Pixel seed veto.
Definition: Photon.h:55
DAS::RecPhoton::ScaleUp
@ ScaleUp
energy with the ecal energy scale shifted 1 sigma(stat) up
Definition: Photon.h:36
DAS::RecPhoton::CutBasedMedium
@ CutBasedMedium
Medium cut-based ID.
Definition: Photon.h:50
DAS::RecPhoton::Nominal
@ Nominal
ecalEnergy of photon after scale & smearing corrections
Definition: Photon.h:35
DAS::RecPhoton::CutBasedLoose
@ CutBasedLoose
Loose cut-based ID.
Definition: Photon.h:49
DAS::RecPhoton::MVAWorkingPoint80
@ MVAWorkingPoint80
80% efficiency working point of the MVA ID
Definition: Photon.h:52
DAS::RecPhoton::WeightVar
static const char *const *const WeightVar
Definition: Photon.h:29
DAS::RecPhoton::SigmaRhoDown
@ SigmaRhoDown
energy with the ecal energy smearing value shifted 1 sigma(rho) down
Definition: Photon.h:41
DAS::RecPhoton::SigmaPhiUp
@ SigmaPhiUp
energy with the ecal energy smearing value shifted 1 sigma(phi) up
Definition: Photon.h:38
DAS::RecPhoton::ScaleDown
@ ScaleDown
energy with the ecal energy scale shifted 1 sigma(stat) down
Definition: Photon.h:37
DAS::RecPhoton::CutBasedTight
@ CutBasedTight
Tight cut-based ID.
Definition: Photon.h:51
DAS::RecPhoton::SigmaPhiDown
@ SigmaPhiDown
energy with the ecal energy smearing value shifted 1 sigma(phi) down
Definition: Photon.h:39
DAS::RecPhoton::ScaleVar
static const char *const ScaleVar
Definition: Photon.h:28
DAS::RecPhoton::MVAWorkingPoint90
@ MVAWorkingPoint90
90% efficiency working point of the MVA ID
Definition: Photon.h:53
DAS::RecPhoton::ConversionSafeElectronVeto
@ ConversionSafeElectronVeto
Electron veto.
Definition: Photon.h:54