CMS 3D CMS Logo

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

#include <HcalHF_PETalgorithm.h>

Public Member Functions

double bit ()
 
double CalcThreshold (double abs_energy, const std::vector< double > &params)
 
std::vector< double > GetLong_Energy_Thresh ()
 
std::vector< double > GetLong_ET_Thresh ()
 
std::vector< double > GetLong_R ()
 
std::vector< double > GetShort_Energy_Thresh ()
 
std::vector< double > GetShort_ET_Thresh ()
 
std::vector< double > GetShort_R ()
 
 HcalHF_PETalgorithm ()
 
 HcalHF_PETalgorithm (const std::vector< double > &short_R, const std::vector< double > &short_Energy, const std::vector< double > &short_ET, const std::vector< double > &long_R, const std::vector< double > &long_Energy, const std::vector< double > &long_ET, int HcalAcceptSeverityLevel, const std::vector< double > &short_R_29, const std::vector< double > &long_R_29)
 
void HFSetFlagFromPET (HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
 
void SetLong_Energy_Thresh (const std::vector< double > &x)
 
void SetLong_ET_Thresh (const std::vector< double > &x)
 
void SetLong_R (const std::vector< double > &x)
 
void SetShort_Energy_Thresh (const std::vector< double > &x)
 
void SetShort_ET_Thresh (const std::vector< double > &x)
 
void SetShort_R (const std::vector< double > &x)
 
 ~HcalHF_PETalgorithm ()
 

Private Attributes

int HcalAcceptSeverityLevel_
 
std::vector< double > long_Energy_Thresh
 
std::vector< double > long_ET_Thresh
 
std::vector< double > long_R
 
std::vector< double > long_R_29
 
std::vector< double > short_Energy_Thresh
 
std::vector< double > short_ET_Thresh
 
std::vector< double > short_R
 
std::vector< double > short_R_29
 

Detailed Description

Class evaluates the ratio |(L-S)/(L+S)| for a given cell, and flags the cell if the threshold exceeds a given maximum value R(Energy). Each cell must also pass ieta-dependent energy and ET cuts to be considered for flagging.

Author
J. Temple and D. Ferencek

Definition at line 22 of file HcalHF_PETalgorithm.h.

Constructor & Destructor Documentation

HcalHF_PETalgorithm::HcalHF_PETalgorithm ( )

Constructors

Definition at line 13 of file HcalHF_PETalgorithm.cc.

HcalHF_PETalgorithm::HcalHF_PETalgorithm ( const std::vector< double > &  short_R,
const std::vector< double > &  short_Energy,
const std::vector< double > &  short_ET,
const std::vector< double > &  long_R,
const std::vector< double > &  long_Energy,
const std::vector< double > &  long_ET,
int  HcalAcceptSeverityLevel,
const std::vector< double > &  short_R_29,
const std::vector< double > &  long_R_29 
)

Definition at line 36 of file HcalHF_PETalgorithm.cc.

HcalHF_PETalgorithm::~HcalHF_PETalgorithm ( )

Definition at line 67 of file HcalHF_PETalgorithm.cc.

Member Function Documentation

double HcalHF_PETalgorithm::bit ( )
inline
double HcalHF_PETalgorithm::CalcThreshold ( double  abs_energy,
const std::vector< double > &  params 
)

Definition at line 164 of file HcalHF_PETalgorithm.cc.

std::vector<double> HcalHF_PETalgorithm::GetLong_Energy_Thresh ( )
inline

Definition at line 59 of file HcalHF_PETalgorithm.h.

References long_Energy_Thresh.

59 {return long_Energy_Thresh;}
std::vector< double > long_Energy_Thresh
std::vector<double> HcalHF_PETalgorithm::GetLong_ET_Thresh ( )
inline

Definition at line 58 of file HcalHF_PETalgorithm.h.

References long_ET_Thresh.

58 {return long_ET_Thresh;}
std::vector< double > long_ET_Thresh
std::vector<double> HcalHF_PETalgorithm::GetLong_R ( )
inline

Definition at line 57 of file HcalHF_PETalgorithm.h.

References long_R.

57 {return long_R;}
std::vector< double > long_R
std::vector<double> HcalHF_PETalgorithm::GetShort_Energy_Thresh ( )
inline

Definition at line 56 of file HcalHF_PETalgorithm.h.

References short_Energy_Thresh.

56 {return short_Energy_Thresh;}
std::vector< double > short_Energy_Thresh
std::vector<double> HcalHF_PETalgorithm::GetShort_ET_Thresh ( )
inline

Definition at line 55 of file HcalHF_PETalgorithm.h.

References short_ET_Thresh.

55 {return short_ET_Thresh;}
std::vector< double > short_ET_Thresh
std::vector<double> HcalHF_PETalgorithm::GetShort_R ( )
inline

Definition at line 54 of file HcalHF_PETalgorithm.h.

References short_R.

54 {return short_R;}
std::vector< double > short_R
void HcalHF_PETalgorithm::HFSetFlagFromPET ( HFRecHit hf,
HFRecHitCollection rec,
const HcalChannelQuality myqual,
const HcalSeverityLevelComputer mySeverity 
)

Definition at line 71 of file HcalHF_PETalgorithm.cc.

void HcalHF_PETalgorithm::SetLong_Energy_Thresh ( const std::vector< double > &  x)
inline

Definition at line 52 of file HcalHF_PETalgorithm.h.

References long_Energy_Thresh, and x.

std::vector< double > long_Energy_Thresh
void HcalHF_PETalgorithm::SetLong_ET_Thresh ( const std::vector< double > &  x)
inline

Definition at line 51 of file HcalHF_PETalgorithm.h.

References long_ET_Thresh, and x.

std::vector< double > long_ET_Thresh
void HcalHF_PETalgorithm::SetLong_R ( const std::vector< double > &  x)
inline

Definition at line 50 of file HcalHF_PETalgorithm.h.

References x.

50 {long_R=x;}
std::vector< double > long_R
void HcalHF_PETalgorithm::SetShort_Energy_Thresh ( const std::vector< double > &  x)
inline

Definition at line 49 of file HcalHF_PETalgorithm.h.

References short_Energy_Thresh, and x.

std::vector< double > short_Energy_Thresh
void HcalHF_PETalgorithm::SetShort_ET_Thresh ( const std::vector< double > &  x)
inline

Definition at line 48 of file HcalHF_PETalgorithm.h.

References short_ET_Thresh, and x.

std::vector< double > short_ET_Thresh
void HcalHF_PETalgorithm::SetShort_R ( const std::vector< double > &  x)
inline

Definition at line 47 of file HcalHF_PETalgorithm.h.

References x.

47 {short_R=x;}
std::vector< double > short_R

Member Data Documentation

int HcalHF_PETalgorithm::HcalAcceptSeverityLevel_
private

Definition at line 71 of file HcalHF_PETalgorithm.h.

std::vector<double> HcalHF_PETalgorithm::long_Energy_Thresh
private

Definition at line 70 of file HcalHF_PETalgorithm.h.

Referenced by GetLong_Energy_Thresh(), and SetLong_Energy_Thresh().

std::vector<double> HcalHF_PETalgorithm::long_ET_Thresh
private

Definition at line 69 of file HcalHF_PETalgorithm.h.

Referenced by GetLong_ET_Thresh(), and SetLong_ET_Thresh().

std::vector<double> HcalHF_PETalgorithm::long_R
private

Definition at line 68 of file HcalHF_PETalgorithm.h.

Referenced by GetLong_R().

std::vector<double> HcalHF_PETalgorithm::long_R_29
private

Definition at line 73 of file HcalHF_PETalgorithm.h.

std::vector<double> HcalHF_PETalgorithm::short_Energy_Thresh
private

Definition at line 66 of file HcalHF_PETalgorithm.h.

Referenced by GetShort_Energy_Thresh(), and SetShort_Energy_Thresh().

std::vector<double> HcalHF_PETalgorithm::short_ET_Thresh
private

Definition at line 65 of file HcalHF_PETalgorithm.h.

Referenced by GetShort_ET_Thresh(), and SetShort_ET_Thresh().

std::vector<double> HcalHF_PETalgorithm::short_R
private

Definition at line 64 of file HcalHF_PETalgorithm.h.

Referenced by GetShort_R().

std::vector<double> HcalHF_PETalgorithm::short_R_29
private

Definition at line 72 of file HcalHF_PETalgorithm.h.