CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Attributes
egHLT::OffEgSel Class Reference

#include <EgHLTOffEgSel.h>

Public Member Functions

const EgCutValuesebCuts () const
 
const EgCutValueseeCuts () const
 
int getCutCode (const OffEle &ele, int cutMask=~0x0) const
 
int getCutCode (const OffPho &pho, int cutMask=~0x0) const
 
 OffEgSel ()
 
 OffEgSel (const edm::ParameterSet &config)
 
bool passCuts (const OffEle &ele, int cutMask=~0x0) const
 
bool passCuts (const OffPho &pho, int cutMask=~0x0) const
 
void setEBCuts (const EgCutValues &cuts)
 
void setEECuts (const EgCutValues &cuts)
 
void setup (const edm::ParameterSet &)
 
 ~OffEgSel ()
 

Static Public Member Functions

static int getCutCode (const OffEle &ele, const EgCutValues &cuts, int cutMask=~0x0)
 
static int getCutCode (const OffPho &pho, const EgCutValues &cuts, int cutMask=~0x0)
 

Private Attributes

EgCutValues ebCutValues_
 
EgCutValues eeCutValues_
 

Detailed Description

Definition at line 24 of file EgHLTOffEgSel.h.

Constructor & Destructor Documentation

egHLT::OffEgSel::OffEgSel ( )
inline

Definition at line 32 of file EgHLTOffEgSel.h.

32 {}//default, it doesnt to anything
egHLT::OffEgSel::OffEgSel ( const edm::ParameterSet config)
inlineexplicit

Definition at line 33 of file EgHLTOffEgSel.h.

References setup().

33 {setup(config);}
void setup(const edm::ParameterSet &)
egHLT::OffEgSel::~OffEgSel ( )
inline

Definition at line 34 of file EgHLTOffEgSel.h.

34 {} //we own nothing so default destructor, copy and assignment okay

Member Function Documentation

const EgCutValues& egHLT::OffEgSel::ebCuts ( ) const
inline

Definition at line 48 of file EgHLTOffEgSel.h.

References ebCutValues_.

48 {return ebCutValues_;}
EgCutValues ebCutValues_
Definition: EgHLTOffEgSel.h:28
const EgCutValues& egHLT::OffEgSel::eeCuts ( ) const
inline

Definition at line 49 of file EgHLTOffEgSel.h.

References eeCutValues_.

49 {return eeCutValues_;}
EgCutValues eeCutValues_
Definition: EgHLTOffEgSel.h:29
int OffEgSel::getCutCode ( const OffEle ele,
int  cutMask = ~0x0 
) const

Definition at line 18 of file EgHLTOffEgSel.cc.

Referenced by passCuts().

int OffEgSel::getCutCode ( const OffEle ele,
const EgCutValues cuts,
int  cutMask = ~0x0 
)
static

Definition at line 24 of file EgHLTOffEgSel.cc.

int OffEgSel::getCutCode ( const OffPho pho,
int  cutMask = ~0x0 
) const

Definition at line 91 of file EgHLTOffEgSel.cc.

int OffEgSel::getCutCode ( const OffPho pho,
const EgCutValues cuts,
int  cutMask = ~0x0 
)
static

Definition at line 98 of file EgHLTOffEgSel.cc.

bool egHLT::OffEgSel::passCuts ( const OffEle ele,
int  cutMask = ~0x0 
) const
inline

Definition at line 37 of file EgHLTOffEgSel.h.

References getCutCode().

37 {return getCutCode(ele,cutMask)==0x0;}
int getCutCode(const OffEle &ele, int cutMask=~0x0) const
bool egHLT::OffEgSel::passCuts ( const OffPho pho,
int  cutMask = ~0x0 
) const
inline

Definition at line 41 of file EgHLTOffEgSel.h.

References getCutCode().

41 {return getCutCode(pho,cutMask)==0x0;}
int getCutCode(const OffEle &ele, int cutMask=~0x0) const
void egHLT::OffEgSel::setEBCuts ( const EgCutValues cuts)
inline

Definition at line 45 of file EgHLTOffEgSel.h.

References hpstanc_transforms::cuts, and ebCutValues_.

void egHLT::OffEgSel::setEECuts ( const EgCutValues cuts)
inline

Definition at line 46 of file EgHLTOffEgSel.h.

References hpstanc_transforms::cuts, and eeCutValues_.

void OffEgSel::setup ( const edm::ParameterSet iConfig)

Definition at line 11 of file EgHLTOffEgSel.cc.

Referenced by OffEgSel().

Member Data Documentation

EgCutValues egHLT::OffEgSel::ebCutValues_
private

Definition at line 28 of file EgHLTOffEgSel.h.

Referenced by ebCuts(), and setEBCuts().

EgCutValues egHLT::OffEgSel::eeCutValues_
private

Definition at line 29 of file EgHLTOffEgSel.h.

Referenced by eeCuts(), and setEECuts().