CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
L3CalibBlock.h
Go to the documentation of this file.
1 #ifndef __CINT__
2 #ifndef L3CalibBlock_H
3 #define L3CalibBlock_H
4 
5 #include <map>
6 #include <string>
7 #include <vector>
8 
9 #include "CLHEP/Matrix/GenMatrix.h"
10 #include "CLHEP/Matrix/Matrix.h"
11 #include "CLHEP/Matrix/Vector.h"
12 #include "CLHEP/Random/RandGaussQ.h"
13 
18 
24 class L3CalibBlock : public VEcalCalibBlock {
25 public:
27  L3CalibBlock(const int numberOfElements, const int keventweight = 1);
29  ~L3CalibBlock() override;
30 
32  void Fill(std::map<int, double>::const_iterator,
33  std::map<int, double>::const_iterator,
34  double pTk,
35  double pSubtract,
36  double sigma = 1.) override;
37 
39  void reset() override;
41  double at(int);
43  int solve(int usingBlockSolver, double min, double max) override;
44 
45 private:
47  // MinL3Algorithm * m_L3Algo ;
50 };
51 
52 #endif
53 #endif
element for the single ECAL block intercalibration
MinL3AlgoUniv< unsigned int > * m_L3AlgoUniv
the L3 algo
Definition: L3CalibBlock.h:49
L3CalibBlock(const int numberOfElements, const int keventweight=1)
ctor
Definition: L3CalibBlock.cc:11
interface to the L3Univ class for testing
Definition: L3CalibBlock.h:24
void Fill(std::map< int, double >::const_iterator, std::map< int, double >::const_iterator, double pTk, double pSubtract, double sigma=1.) override
insert an entry
Definition: L3CalibBlock.cc:22
T min(T a, T b)
Definition: MathUtil.h:58
int solve(int usingBlockSolver, double min, double max) override
get the coefficients
Definition: L3CalibBlock.cc:43
void reset() override
reset the calib objects
Definition: L3CalibBlock.cc:50
double at(int)
To retrieve the coefficients.
~L3CalibBlock() override
dtor
Definition: L3CalibBlock.cc:18