CMS 3D CMS Logo

EcalMustacheSCParameters.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalMustacheSCParameters_h
2 #define CondFormats_EcalObjects_EcalMustacheSCParameters_h
3 
4 #include <iostream>
5 #include <vector>
6 
8 
9 namespace reco {
10  class MustacheSCParametersHelper;
11 } // namespace reco
12 
14 public:
16  virtual ~EcalMustacheSCParameters() = default;
17 
19  double log10EMin;
20  double etaMin;
21  std::vector<double> pUp;
22  std::vector<double> pLow;
23  std::vector<double> w0Up;
24  std::vector<double> w1Up;
25  std::vector<double> w0Low;
26  std::vector<double> w1Low;
27 
29  };
30 
31  float sqrtLogClustETuning() const;
32 
33  const ParabolaParameters* parabolaParameters(float log10ClustE, float absSeedEta) const;
34 
35  // helper class to set parameters
37 
38  // print parameters to stream:
39  void print(std::ostream&) const;
40  friend std::ostream& operator<<(std::ostream& out, const EcalMustacheSCParameters& params) {
41  params.print(out);
42  return out;
43  }
44 
45 protected:
47 
48  // collection is expected to be sorted in ascending ParabolaParameters.log10EMin and ascending ParabolaParameters.etaMax
49  std::vector<ParabolaParameters> parabolaParametersCollection_;
50 
52 };
53 
54 #endif
EcalMustacheSCParameters::~EcalMustacheSCParameters
virtual ~EcalMustacheSCParameters()=default
EcalMustacheSCParameters::ParabolaParameters::w1Up
std::vector< double > w1Up
Definition: EcalMustacheSCParameters.h:24
EcalMustacheSCParameters::EcalMustacheSCParameters
EcalMustacheSCParameters()
Definition: EcalMustacheSCParameters.h:15
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalMustacheSCParameters::ParabolaParameters::pLow
std::vector< double > pLow
Definition: EcalMustacheSCParameters.h:22
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
EcalMustacheSCParameters
Definition: EcalMustacheSCParameters.h:13
EcalMustacheSCParameters::ParabolaParameters::w0Low
std::vector< double > w0Low
Definition: EcalMustacheSCParameters.h:25
EcalMustacheSCParameters::print
void print(std::ostream &) const
Definition: EcalMustacheSCParameters.cc:33
EcalMustacheSCParameters::parabolaParameters
const ParabolaParameters * parabolaParameters(float log10ClustE, float absSeedEta) const
Definition: EcalMustacheSCParameters.cc:6
EcalMustacheSCParameters::ParabolaParameters::w1Low
std::vector< double > w1Low
Definition: EcalMustacheSCParameters.h:26
EcalMustacheSCParameters::sqrtLogClustETuning
float sqrtLogClustETuning() const
Definition: EcalMustacheSCParameters.cc:4
EcalMustacheSCParameters::ParabolaParameters::w0Up
std::vector< double > w0Up
Definition: EcalMustacheSCParameters.h:23
reco::MustacheSCParametersHelper
Definition: MustacheSCParametersHelper.h:9
Serializable.h
EcalMustacheSCParameters::sqrtLogClustETuning_
float sqrtLogClustETuning_
Definition: EcalMustacheSCParameters.h:46
EcalMustacheSCParameters::ParabolaParameters::etaMin
double etaMin
Definition: EcalMustacheSCParameters.h:20
EcalMustacheSCParameters::operator<<
friend std::ostream & operator<<(std::ostream &out, const EcalMustacheSCParameters &params)
Definition: EcalMustacheSCParameters.h:40
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
EcalMustacheSCParameters::ParabolaParameters::pUp
std::vector< double > pUp
Definition: EcalMustacheSCParameters.h:21
EcalMustacheSCParameters::parabolaParametersCollection_
std::vector< ParabolaParameters > parabolaParametersCollection_
Definition: EcalMustacheSCParameters.h:49
EcalMustacheSCParameters::ParabolaParameters
Definition: EcalMustacheSCParameters.h:18
EcalMustacheSCParameters::ParabolaParameters::log10EMin
double log10EMin
Definition: EcalMustacheSCParameters.h:19