CMS 3D CMS Logo

HcalHF_S9S1algorithm.h
Go to the documentation of this file.
1 #ifndef GUARD_HCALHF_S9S1ALGORITHM_H
2 #define GUARD_HCALHF_S9S1ALGORITHM_H 1
3 
7 
8 // Forward declarations
11 
22 public:
25 
26  HcalHF_S9S1algorithm(const std::vector<double>& short_optimumSlope,
27  const std::vector<double>& short_Energy,
28  const std::vector<double>& short_ET,
29  const std::vector<double>& long_optimumSlope,
30  const std::vector<double>& long_Energy,
31  const std::vector<double>& long_ET,
33  bool isS8S1);
34 
35  // Destructor
37 
39  HFRecHitCollection& rec,
40  const HcalChannelQuality* myqual,
41  const HcalSeverityLevelComputer* mySeverity);
42  double CalcSlope(int abs_ieta, const std::vector<double>& params);
43  double CalcEnergyThreshold(double abs_energy, const std::vector<double>& params);
44 
45  double bit() { return HcalCaloFlagLabels::HFLongShort; }
46 
47 private:
48  std::vector<double> short_ET_;
49  std::vector<double> short_Energy_;
50  std::vector<double> long_ET_;
51  std::vector<double> long_Energy_;
52 
53  std::vector<double> LongSlopes;
54  std::vector<double> ShortSlopes;
55  std::vector<double> LongEnergyThreshold;
56  std::vector<double> ShortEnergyThreshold;
57  std::vector<double> LongETThreshold;
58  std::vector<double> ShortETThreshold;
60  bool isS8S1_;
61 };
62 
63 #endif
HcalHF_S9S1algorithm::ShortETThreshold
std::vector< double > ShortETThreshold
Definition: HcalHF_S9S1algorithm.h:58
HcalHF_S9S1algorithm::ShortEnergyThreshold
std::vector< double > ShortEnergyThreshold
Definition: HcalHF_S9S1algorithm.h:56
HcalHF_S9S1algorithm::HcalHF_S9S1algorithm
HcalHF_S9S1algorithm()
Definition: HcalHF_S9S1algorithm.cc:13
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
HcalHF_S9S1algorithm::HcalAcceptSeverityLevel_
int HcalAcceptSeverityLevel_
Definition: HcalHF_S9S1algorithm.h:59
HcalHF_S9S1algorithm
Definition: HcalHF_S9S1algorithm.h:21
HcalHF_S9S1algorithm::HFSetFlagFromS9S1
void HFSetFlagFromS9S1(HFRecHit &hf, HFRecHitCollection &rec, const HcalChannelQuality *myqual, const HcalSeverityLevelComputer *mySeverity)
Definition: HcalHF_S9S1algorithm.cc:81
HcalHF_S9S1algorithm::bit
double bit()
Definition: HcalHF_S9S1algorithm.h:45
edm::SortedCollection
Definition: SortedCollection.h:49
HcalHF_S9S1algorithm::LongSlopes
std::vector< double > LongSlopes
Definition: HcalHF_S9S1algorithm.h:53
HLT_FULL_cff.isS8S1
isS8S1
Definition: HLT_FULL_cff.py:8483
HcalChannelQuality
Definition: HcalChannelQuality.h:17
HLT_FULL_cff.long_optimumSlope
long_optimumSlope
Definition: HLT_FULL_cff.py:8482
HcalHF_S9S1algorithm::long_ET_
std::vector< double > long_ET_
Definition: HcalHF_S9S1algorithm.h:50
photonIsolationHIProducer_cfi.hf
hf
Definition: photonIsolationHIProducer_cfi.py:9
HFRecHit
Definition: HFRecHit.h:11
HFRecHit.h
HcalHF_S9S1algorithm::ShortSlopes
std::vector< double > ShortSlopes
Definition: HcalHF_S9S1algorithm.h:54
HcalSeverityLevelComputer
Definition: HcalSeverityLevelComputer.h:24
HcalHF_S9S1algorithm::LongEnergyThreshold
std::vector< double > LongEnergyThreshold
Definition: HcalHF_S9S1algorithm.h:55
HLT_FULL_cff.HcalAcceptSeverityLevel
HcalAcceptSeverityLevel
Definition: HLT_FULL_cff.py:8487
HcalHF_S9S1algorithm::CalcSlope
double CalcSlope(int abs_ieta, const std::vector< double > &params)
Definition: HcalHF_S9S1algorithm.cc:230
HcalCaloFlagLabels.h
HcalHF_S9S1algorithm::CalcEnergyThreshold
double CalcEnergyThreshold(double abs_energy, const std::vector< double > &params)
Definition: HcalHF_S9S1algorithm.cc:244
HcalHF_S9S1algorithm::LongETThreshold
std::vector< double > LongETThreshold
Definition: HcalHF_S9S1algorithm.h:57
HLT_FULL_cff.short_optimumSlope
short_optimumSlope
Definition: HLT_FULL_cff.py:8486
HcalRecHitCollections.h
HcalCaloFlagLabels::HFLongShort
Definition: HcalCaloFlagLabels.h:37
HcalHF_S9S1algorithm::long_Energy_
std::vector< double > long_Energy_
Definition: HcalHF_S9S1algorithm.h:51
HcalHF_S9S1algorithm::~HcalHF_S9S1algorithm
~HcalHF_S9S1algorithm()
Definition: HcalHF_S9S1algorithm.cc:79
HcalHF_S9S1algorithm::short_ET_
std::vector< double > short_ET_
Definition: HcalHF_S9S1algorithm.h:48
HcalHF_S9S1algorithm::isS8S1_
bool isS8S1_
Definition: HcalHF_S9S1algorithm.h:60
HcalHF_S9S1algorithm::short_Energy_
std::vector< double > short_Energy_
Definition: HcalHF_S9S1algorithm.h:49