CMS 3D CMS Logo

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 
25 {
26  public :
28  L3CalibBlock (const int numberOfElements,
29  const int keventweight = 1) ;
31  ~L3CalibBlock () override ;
32 
34  void Fill (std::map<int,double>::const_iterator,
35  std::map<int,double>::const_iterator,
36  double pTk,
37  double pSubtract,
38  double sigma = 1.) override ;
39 
41  void reset () override ;
43  double at ( int);
45  int solve (int usingBlockSolver, double min, double max) override ;
46 
47  private :
48 
50 // MinL3Algorithm * m_L3Algo ;
53 
54 } ;
55 
56 
57 #endif
58 #endif
59 
element for the single ECAL block intercalibration
MinL3AlgoUniv< unsigned int > * m_L3AlgoUniv
the L3 algo
Definition: L3CalibBlock.h:52
L3CalibBlock(const int numberOfElements, const int keventweight=1)
ctor
Definition: L3CalibBlock.cc:13
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:35
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:63
void reset() override
reset the calib objects
Definition: L3CalibBlock.cc:74
double at(int)
To retrieve the coefficients.
~L3CalibBlock() override
dtor
Definition: L3CalibBlock.cc:25