CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Typedefs | Enumerations | Functions | Variables
electronSelections.h File Reference
#include <stdint.h>
#include <vector>
#include <iostream>
#include "TMath.h"
#include "DQM/PhysicsHWW/interface/electronSelectionsParameters.h"
#include "DQM/PhysicsHWW/interface/HWW.h"

Go to the source code of this file.

Namespaces

 HWWFunctions
 
 HWWFunctions::wp2012
 

Typedefs

typedef uint64 cuts_t
 
typedef uint64 electronIdComponent_t
 
typedef ULong64_t uint64
 

Enumerations

enum  HWWFunctions::EgammaElectronType { HWWFunctions::ISECALENERGYCORRECTED, HWWFunctions::ISMOMENTUMCORRECTED, HWWFunctions::ISECALDRIVEN, HWWFunctions::ISTRACKERDRIVEN }
 
enum  HWWFunctions::EgammaFiduciality {
  HWWFunctions::ISEB, HWWFunctions::ISEBEEGAP, HWWFunctions::ISEE, HWWFunctions::ISEEGAP,
  HWWFunctions::ISEBETAGAP, HWWFunctions::ISEBPHIGAP, HWWFunctions::ISEEDEEGAP, HWWFunctions::ISEERINGGAP,
  HWWFunctions::ISGAP
}
 
enum  HWWFunctions::ElectronIDComponent { HWWFunctions::ELEID_ID, HWWFunctions::ELEID_ISO, HWWFunctions::ELEID_CONV, HWWFunctions::ELEID_IP }
 
enum  HWWFunctions::wp2012::ElectronIDComponentWP2012 {
  HWWFunctions::wp2012::DETAIN = (1<<0), HWWFunctions::wp2012::DPHIIN = (1<<1), HWWFunctions::wp2012::SIGMAIETAIETA = (1<<2), HWWFunctions::wp2012::HOE = (1<<3),
  HWWFunctions::wp2012::OOEMOOP = (1<<4), HWWFunctions::wp2012::D0VTX = (1<<5), HWWFunctions::wp2012::DZVTX = (1<<6), HWWFunctions::wp2012::ISO = (1<<7),
  HWWFunctions::wp2012::VTXFIT = (1<<8), HWWFunctions::wp2012::MHITS = (1<<9)
}
 
enum  HWWFunctions::EleSelectionType {
  HWWFunctions::ELEISO_REL010, HWWFunctions::ELEISO_REL015, HWWFunctions::ELEISO_REL040, HWWFunctions::ELEISO_REL100,
  HWWFunctions::ELEISO_REL010_WW, HWWFunctions::ELEISO_REL040_WW, HWWFunctions::ELEISO_REL100_WW, HWWFunctions::ELEISO_SMURFV4,
  HWWFunctions::ELEISO_SMURFV5, HWWFunctions::ELEISO_RELNT010, HWWFunctions::ELEISO_RELNT015, HWWFunctions::ELEISO_RELNT040,
  HWWFunctions::ELEISO_TRK_RELNT020, HWWFunctions::ELEISO_ECAL_RELNT020, HWWFunctions::ELEISO_ECAL_RELNT020_NPS, HWWFunctions::ELEISO_HCAL_RELNT020,
  HWWFunctions::ELEISO_ECAL_REL020, HWWFunctions::ELEISO_HCAL_REL020, HWWFunctions::ELEISO_FASTJET_REL005, HWWFunctions::ELEISO_FASTJET_REL010,
  HWWFunctions::ELEISO_FASTJET_REL015, HWWFunctions::ELEISO_COR_RELNT010, HWWFunctions::ELEIP_200, HWWFunctions::ELEIP_400,
  HWWFunctions::ELEIP_PV_200, HWWFunctions::ELEIP_PV_wwV1, HWWFunctions::ELEIP_PV_SMURFV3, HWWFunctions::ELEIP_PV_DZ_1MM,
  HWWFunctions::ELEIP_PV_OSV2, HWWFunctions::ELEIP_PV_OSV2_FO, HWWFunctions::ELEIP_SS200, HWWFunctions::ELEID_SMURFV1_EXTRA,
  HWWFunctions::ELEID_SMURFV2_EXTRA, HWWFunctions::ELEID_SMURFV3_EXTRA, HWWFunctions::ELEID_VBTF_35X_95, HWWFunctions::ELEID_VBTF_35X_90,
  HWWFunctions::ELEID_VBTF_35X_80, HWWFunctions::ELEID_VBTF_80_NOHOEEND, HWWFunctions::ELEID_VBTF_85_NOHOEEND, HWWFunctions::ELEID_VBTF_85,
  HWWFunctions::ELEID_VBTF_70_NOHOEEND, HWWFunctions::ELEID_VBTF_90_HLT, HWWFunctions::ELEID_VBTF_90_HLT_CALOIDT_TRKIDVL, HWWFunctions::ELEID_CIC_V03_MEDIUM,
  HWWFunctions::ELEID_VBTF_95_NOHOEEND, HWWFunctions::ELEID_WP2012_MEDIUM_NOISO, HWWFunctions::ELEID_WP2012_MEDIUM_NOISO_NOIP, HWWFunctions::ELEID_WP2012_LOOSE_NOISO,
  HWWFunctions::ELENOTCONV_MIT, HWWFunctions::ELENOTCONV_DISTDCOT002, HWWFunctions::ELENOTCONV_HITPATTERN_0MHITS, HWWFunctions::ELEETA_250,
  HWWFunctions::ELEETA_240, HWWFunctions::ELEPT_010, HWWFunctions::ELENOMUON_010, HWWFunctions::ELENOMUON_010_SS,
  HWWFunctions::ELESEED_ECAL, HWWFunctions::ELECHARGE_NOTFLIP3AGREE, HWWFunctions::ELE_NOT_TRANSITION, HWWFunctions::ELE_LAST
}
 

Functions

void HWWFunctions::checkElectronSelections (void)
 
double HWWFunctions::dzPV (const LorentzVector &vtx, const LorentzVector &p4, const LorentzVector &pv)
 
double HWWFunctions::electron_d0PV_smurfV3 (HWW &, unsigned int index)
 
double HWWFunctions::electron_d0PV_wwV1 (HWW &, unsigned int index)
 
double HWWFunctions::electron_dzPV_smurfV3 (HWW &, unsigned int index)
 
double HWWFunctions::electron_dzPV_wwV1 (HWW &, unsigned int index)
 
void HWWFunctions::electronCorrection_pos (HWW &, const unsigned int index, float &dEtaIn, float &dPhiIn)
 
electronIdComponent_t HWWFunctions::electronId_CIC (HWW &, const unsigned int index, const unsigned int version, const cic_tightness tightness, bool applyAlignementCorrection=false, bool removedEtaCutInEndcap=false)
 
bool HWWFunctions::electronId_smurf_v1 (HWW &, const unsigned int index)
 
bool HWWFunctions::electronId_smurf_v2 (HWW &, const unsigned int index)
 
bool HWWFunctions::electronId_smurf_v3 (HWW &, const unsigned int index)
 
electronIdComponent_t HWWFunctions::electronId_VBTF (HWW &, const unsigned int index, const vbtf_tightness tightness, bool applyAlignementCorrection=false, bool removedEtaCutInEndcap=false)
 
electronIdComponent_t HWWFunctions::electronId_WP2012 (HWW &, const unsigned int index, const wp2012_tightness tightness)
 
electronIdComponent_t HWWFunctions::electronId_WP2012_noIso_useElEtaForIsEB (HWW &, const unsigned int index, const wp2012_tightness tightness)
 
electronIdComponent_t HWWFunctions::electronId_WP2012_v2 (HWW &, const unsigned int index, const wp2012_tightness tightness, bool useOldIsolation=false)
 
electronIdComponent_t HWWFunctions::electronId_WP2012_v3 (HWW &, const unsigned int index, const wp2012_tightness tightness, bool useOldIsolation=false)
 
float HWWFunctions::electronIsolation_rel (HWW &, const unsigned int index, bool use_calo_iso)
 
float HWWFunctions::electronIsoValuePF (HWW &, const unsigned int iel, unsigned int ivtx, float coner=0.4, float minptn=1.0, float dzcut=0.1, float footprintdr=0.07, float gammastripveto=0.025, float elestripveto=-999., int filterId=0)
 
void HWWFunctions::electronIsoValuePF2012 (HWW &, float &pfiso_ch, float &pfiso_em, float &pfiso_nh, const float R, const unsigned int iel, const int ivtx, bool barrelVetoes=false)
 
float HWWFunctions::electronIsoValuePF2012_FastJetEffArea (HWW &, int index, float conesize=0.3, int ivtx=0)
 
float HWWFunctions::electronIsoValuePF2012_FastJetEffArea_HWW (HWW &, int index)
 
float HWWFunctions::electronIsoValuePF2012_FastJetEffArea_v2 (HWW &, int index, float conesize=0.3, int ivtx=0, bool useOldIsolation=false)
 
float HWWFunctions::electronIsoValuePF2012_FastJetEffArea_v3 (HWW &, int index, float conesize=0.3, int ivtx=0, bool useOldIsolation=false)
 
void HWWFunctions::electronIsoValuePF2012reco (HWW &, float &pfiso_ch, float &pfiso_em, float &pfiso_nh, const float R, const unsigned int iel, const int ivtx, float neutral_threshold=0.5)
 
float HWWFunctions::electronRadialIsolation (HWW &, int index, float &chiso, float &nhiso, float &emiso, float neutral_et_threshold=1.0, float cone_size=0.3, bool barrelVetoes=false, bool verbose=false)
 
cuts_t HWWFunctions::electronSelection (HWW &, const unsigned int index, bool applyAlignmentCorrection=false, bool removedEtaCutInEndcap=false, bool useGsfTrack=true)
 
float HWWFunctions::fastJetEffArea04_v1 (HWW &, const float eta)
 
bool HWWFunctions::isChargeFlip3agree (HWW &, int elIndex)
 
bool HWWFunctions::isFromConversionHitPattern (HWW &, const unsigned int index)
 
bool HWWFunctions::isFromConversionMIT (HWW &, const unsigned int index)
 
bool HWWFunctions::isFromConversionPartnerTrack (HWW &, const unsigned int index)
 
bool HWWFunctions::isSpikeElectron (HWW &, const unsigned int index)
 
bool HWWFunctions::pass_electronSelection (HWW &, const unsigned int index, const cuts_t selectionType, bool applyAlignmentCorrection=false, bool removedEtaCutInEndcap=false, bool useGsfTrack=true)
 
bool HWWFunctions::pass_electronSelectionCompareMask (HWW &, const cuts_t cuts_passed, const cuts_t selectionType)
 
bool HWWFunctions::passLikelihoodId_v2 (HWW &, unsigned int index, float lhValue, int workingPoint)
 

Variables

static const cuts_t HWWFunctions::electronSelection_smurfV2
 
static const cuts_t HWWFunctions::electronSelection_smurfV2_baseline
 
static const cuts_t HWWFunctions::electronSelection_smurfV2_id
 
static const cuts_t HWWFunctions::electronSelection_smurfV2_iso
 
static const cuts_t HWWFunctions::electronSelection_smurfV3
 
static const cuts_t HWWFunctions::electronSelection_smurfV3_baseline
 
static const cuts_t HWWFunctions::electronSelection_smurfV3_convrej
 
static const cuts_t HWWFunctions::electronSelection_smurfV3_id
 
static const cuts_t HWWFunctions::electronSelection_smurfV3_ip
 
static const cuts_t HWWFunctions::electronSelection_smurfV3_iso
 
static const cuts_t HWWFunctions::electronSelection_smurfV4
 
static const cuts_t HWWFunctions::electronSelection_smurfV4_baseline
 
static const cuts_t HWWFunctions::electronSelection_smurfV4_convrej
 
static const cuts_t HWWFunctions::electronSelection_smurfV4_id
 
static const cuts_t HWWFunctions::electronSelection_smurfV4_ip
 
static const cuts_t HWWFunctions::electronSelection_smurfV4_iso
 
static const cuts_t HWWFunctions::electronSelection_smurfV5
 
static const cuts_t HWWFunctions::electronSelection_smurfV5_baseline
 
static const cuts_t HWWFunctions::electronSelection_smurfV5_convrej
 
static const cuts_t HWWFunctions::electronSelection_smurfV5_id
 
static const cuts_t HWWFunctions::electronSelection_smurfV5_ip
 
static const cuts_t HWWFunctions::electronSelection_smurfV5_iso
 
static const cuts_t HWWFunctions::electronSelection_smurfV6
 
static const cuts_t HWWFunctions::electronSelection_ww_ip
 
static const cuts_t HWWFunctions::electronSelection_ww_iso
 
static const cuts_t HWWFunctions::electronSelection_wwV0
 
static const cuts_t HWWFunctions::electronSelection_wwV0_base
 
static const cuts_t HWWFunctions::electronSelection_wwV0_id
 
static const cuts_t HWWFunctions::electronSelection_wwV0_ip
 
static const cuts_t HWWFunctions::electronSelection_wwV0_iso
 
static const cuts_t HWWFunctions::electronSelection_wwV0b
 
static const cuts_t HWWFunctions::electronSelection_wwV0b_base
 
static const cuts_t HWWFunctions::electronSelection_wwV0b_id
 
static const cuts_t HWWFunctions::electronSelection_wwV0b_ip
 
static const cuts_t HWWFunctions::electronSelection_wwV0b_iso
 
static const cuts_t HWWFunctions::electronSelection_wwV1
 
static const cuts_t HWWFunctions::electronSelection_wwV1_base
 
static const cuts_t HWWFunctions::electronSelection_wwV1_convrej
 
static const cuts_t HWWFunctions::electronSelection_wwV1_id
 
static const cuts_t HWWFunctions::electronSelection_wwV1_ip
 
static const cuts_t HWWFunctions::electronSelection_wwV1_iso
 
static const cuts_t HWWFunctions::electronSelectionFO_el_smurf_base
 
static const cuts_t HWWFunctions::electronSelectionFO_el_smurf_v1
 
static const cuts_t HWWFunctions::electronSelectionFO_el_smurf_v2
 
static const cuts_t HWWFunctions::electronSelectionFO_el_smurf_v3
 
static const cuts_t HWWFunctions::electronSelectionFO_el_smurf_v4
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0_v1
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0_v2
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0_v3
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0_v4
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0b_v1
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0b_v2
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0b_v3
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV0b_v4
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV1_v1
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV1_v2
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV1_v3
 
static const cuts_t HWWFunctions::electronSelectionFO_el_wwV1_v4
 
static const cuts_t HWWFunctions::electronSelectionFO_wwV0_baseline
 
static const cuts_t HWWFunctions::electronSelectionFO_wwV0b_baseline
 
static const cuts_t HWWFunctions::electronSelectionFO_wwV1_baseline
 
static const electronIdComponent_t HWWFunctions::wp2012::PassAllWP2012Cuts
 
static const electronIdComponent_t HWWFunctions::wp2012::PassWP2012CutsIso = ISO
 
static const electronIdComponent_t HWWFunctions::wp2012::PassWP2012CutsNoIso
 
static const electronIdComponent_t HWWFunctions::wp2012::PassWP2012CutsNoIsoNoIP
 

Typedef Documentation

typedef uint64 cuts_t

Definition at line 19 of file electronSelections.h.

Definition at line 20 of file electronSelections.h.

typedef ULong64_t uint64

Definition at line 18 of file electronSelections.h.