DAS  3.0
Das Analysis System
RecPhoton

Description

class RecPhoton

#include <Photon.h>

+ Collaboration diagram for RecPhoton:

Public Types

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

Public Member Functions

 RecPhoton ()=default
 
 ~RecPhoton ()=default
 
float Rapidity () const
 
float AbsRap () const
 
FourVector CorrP4 (EnergyVariation var=Nominal) const
 

Public Attributes

FourVector p4
 
Weights weights = {{1.,0}}
 
float scEta
 
float sigmaIEtaIEta
 
float hOverE
 
float chargedIsolation
 
float neutralHadronIsolation
 
float photonIsolation
 
float worstChargedIsolation
 
std::array< float, VariationsCountscales
 
float ecalEnergyErrPostCorr = -1
 
std::uint32_t selectors = 0
 

Static Public Attributes

static const char * ScaleVar = "RecPhotonScales"
 
static const char * WeightVar = "RecPhotonWgts"
 
static const std::vector< TString > uncs {"Scale", "SigmaPhi", "SigmaRho"}
 

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

VariationsCount 

Number of available variations.

37  {
38  Nominal = 0,
39  ScaleUp,
40  ScaleDown,
41  SigmaPhiUp,
42  SigmaPhiDown,
43  SigmaRhoUp,
44  SigmaRhoDown,
46  };

◆ 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.

52  {
53  CutBasedLoose = 0b0000001,
54  CutBasedMedium = 0b0000010,
55  CutBasedTight = 0b0000100,
56  MVAWorkingPoint80 = 0b0001000,
57  MVAWorkingPoint90 = 0b0010000,
58  ConversionSafeElectronVeto = 0b0100000,
59  PixelSeedVeto = 0b1000000,
60  };

Constructor & Destructor Documentation

◆ RecPhoton()

RecPhoton ( )
default

Constructor (trivial)

◆ ~RecPhoton()

~RecPhoton ( )
default

Destructor (trivial)

Member Function Documentation

◆ AbsRap()

float AbsRap ( ) const
inline
84 { return std::abs(Rapidity()); };

◆ CorrP4()

FourVector CorrP4 ( EnergyVariation  var = Nominal) const
inline

Obtain the calibrated (data) or smeared (MC) 4-momentum for the given variation of the corrections.

88 { return p4 * scales[var]; }

◆ Rapidity()

float Rapidity ( ) const
inline
83 { return p4.Rapidity() ; };

Member Data Documentation

◆ chargedIsolation

float chargedIsolation

Recomputed isolation from charged particles.

◆ ecalEnergyErrPostCorr

float ecalEnergyErrPostCorr = -1

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.

◆ p4

four-momentum

◆ photonIsolation

float photonIsolation

Recomputed isolation from other photons.

◆ scales

std::array<float, VariationsCount> scales

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

See also
CorrP4

◆ ScaleVar

const char* 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

◆ weights

Weights weights = {{1.,0}}

object weights

◆ WeightVar

const char * 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:43
DAS::RecPhoton::p4
FourVector p4
four-momentum
Definition: Photon.h:62
DAS::RecPhoton::PixelSeedVeto
@ PixelSeedVeto
Pixel seed veto.
Definition: Photon.h:59
DAS::RecPhoton::scales
std::array< float, VariationsCount > scales
Energy scale and smearing variations, indexed with the EnergyVariation enum.
Definition: Photon.h:75
DAS::RecPhoton::ScaleUp
@ ScaleUp
energy with the ecal energy scale shifted 1 sigma(stat) up
Definition: Photon.h:39
DAS::RecPhoton::CutBasedMedium
@ CutBasedMedium
Medium cut-based ID.
Definition: Photon.h:54
DAS::RecPhoton::Nominal
@ Nominal
ecalEnergy of photon after scale & smearing corrections
Definition: Photon.h:38
DAS::RecPhoton::CutBasedLoose
@ CutBasedLoose
Loose cut-based ID.
Definition: Photon.h:53
DAS::RecPhoton::MVAWorkingPoint80
@ MVAWorkingPoint80
80% efficiency working point of the MVA ID
Definition: Photon.h:56
DAS::RecPhoton::Rapidity
float Rapidity() const
Definition: Photon.h:83
DAS::RecPhoton::SigmaRhoDown
@ SigmaRhoDown
energy with the ecal energy smearing value shifted 1 sigma(rho) down
Definition: Photon.h:44
DAS::RecPhoton::SigmaPhiUp
@ SigmaPhiUp
energy with the ecal energy smearing value shifted 1 sigma(phi) up
Definition: Photon.h:41
DAS::RecPhoton::ScaleDown
@ ScaleDown
energy with the ecal energy scale shifted 1 sigma(stat) down
Definition: Photon.h:40
DAS::RecPhoton::CutBasedTight
@ CutBasedTight
Tight cut-based ID.
Definition: Photon.h:55
DAS::RecPhoton::VariationsCount
@ VariationsCount
Number of available variations.
Definition: Photon.h:45
DAS::RecPhoton::SigmaPhiDown
@ SigmaPhiDown
energy with the ecal energy smearing value shifted 1 sigma(phi) down
Definition: Photon.h:42
DAS::RecPhoton::MVAWorkingPoint90
@ MVAWorkingPoint90
90% efficiency working point of the MVA ID
Definition: Photon.h:57
DAS::RecPhoton::ConversionSafeElectronVeto
@ ConversionSafeElectronVeto
Electron veto.
Definition: Photon.h:58