CMS 3D CMS Logo

TrivialAmplitudeAlgo.h
Go to the documentation of this file.
1 #ifndef EcalZeroSuppressionAlgos_TrivialAmplitudeAlgo_h
2 #define EcalZeroSuppressionAlgos_TrivialAmplitudeAlgo_h
3 
4 /*
5  * \file TrivialAmplitudeAlgo.h
6  *
7  * \author F. Cossutti
8  *
9  * simple weights algorithm for energy and pedestal reconstruction
10  *
11  */
12 
19 
21 
22 #include <vector>
23 
24 template <class C>
26 public:
27  explicit TrivialAmplitudeAlgo();
28  virtual ~TrivialAmplitudeAlgo(){};
29 
30  double energy(const C &frame);
31 
32  double pedestal(const C &frame);
33 
34 private:
35  std::vector<double> theWeights;
36  std::vector<double> theGainFactors;
37 };
38 
39 #include "TrivialAmplitudeAlgo.icc"
40 #endif
MessageLogger.h
EDProducer.h
ESHandle.h
TrivialAmplitudeAlgo::energy
double energy(const C &frame)
TrivialAmplitudeAlgo::theWeights
std::vector< double > theWeights
Definition: TrivialAmplitudeAlgo.h:35
EcalDigiCollections.h
TrivialAmplitudeAlgo::theGainFactors
std::vector< double > theGainFactors
Definition: TrivialAmplitudeAlgo.h:36
TrivialAmplitudeAlgo::TrivialAmplitudeAlgo
TrivialAmplitudeAlgo()
TrivialAmplitudeAlgo
Definition: TrivialAmplitudeAlgo.h:25
Event.h
TrivialAmplitudeAlgo::pedestal
double pedestal(const C &frame)
TrivialAmplitudeAlgo::~TrivialAmplitudeAlgo
virtual ~TrivialAmplitudeAlgo()
Definition: TrivialAmplitudeAlgo.h:28
gen::C
C
Definition: PomwigHadronizer.cc:78
amptDefault_cfi.frame
frame
Definition: amptDefault_cfi.py:12
EventSetup.h
ParameterSet.h