CMS 3D CMS Logo

EcalZeroSuppressor.h
Go to the documentation of this file.
1 #ifndef EcalZeroSuppressionAlgos_EcalZeroSuppressor_h
2 #define EcalZeroSuppressionAlgos_EcalZeroSuppressor_h
3 
4 /*
5  * \file EcalZeroSuppressor.h
6  *
7  * \author F. Cossutti
8  *
9  */
10 
17 
23 
25 
26 #include <vector>
27 
28 template <class C>
30 public:
31  virtual ~EcalZeroSuppressor(){};
32 
33  // the threshold has to be expressed in number of noise sigmas for ADC counts
34  // in the highest gain
35 
36  // bool accept(const C& frame, const double & threshold);
37  bool accept(const C &frame, const double &threshold);
38 
40  void setPedestals(const EcalPedestals *pedestals) { thePedestals = pedestals; }
41 
42 private:
44 
45  void findGain12Pedestal(const DetId &detId, double &pedestal, double &width);
46 
48 };
49 
50 #include "EcalZeroSuppressor.icc"
51 #endif
ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
EcalPedestals.h
MessageLogger.h
EDProducer.h
ESHandle.h
EcalZeroSuppressor::setPedestals
void setPedestals(const EcalPedestals *pedestals)
can be fetched every event from the EventSetup
Definition: EcalZeroSuppressor.h:40
EcalZeroSuppressor::thePedestals
const EcalPedestals * thePedestals
Definition: EcalZeroSuppressor.h:43
EcalZeroSuppressor::accept
bool accept(const C &frame, const double &threshold)
EcalCondObjectContainer< EcalPedestal >
DetId
Definition: DetId.h:17
EcalZeroSuppressor
Definition: EcalZeroSuppressor.h:29
EcalDigiCollections.h
EcalSubdetector.h
CaloSubdetectorGeometry.h
TrivialAmplitudeAlgo
Definition: TrivialAmplitudeAlgo.h:25
Event.h
EcalZeroSuppressor::~EcalZeroSuppressor
virtual ~EcalZeroSuppressor()
Definition: EcalZeroSuppressor.h:31
TrivialAmplitudeAlgo.h
EcalZeroSuppressor::findGain12Pedestal
void findGain12Pedestal(const DetId &detId, double &pedestal, double &width)
EcalCondDBWriter_cfi.pedestal
pedestal
Definition: EcalCondDBWriter_cfi.py:49
gen::C
C
Definition: PomwigHadronizer.cc:76
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
EventSetup.h
EcalPedestalsRcd.h
ParameterSet.h
remoteMonitoring_LED_IterMethod_cfg.threshold
threshold
Definition: remoteMonitoring_LED_IterMethod_cfg.py:426
EcalZeroSuppressor::theEnergy_
TrivialAmplitudeAlgo< C > theEnergy_
Definition: EcalZeroSuppressor.h:47