CMS 3D CMS Logo

EcalSCDynamicDPhiParameters.h
Go to the documentation of this file.
1 #ifndef CondFormats_EcalObjects_EcalSCDynamicDPhiParameters_h
2 #define CondFormats_EcalObjects_EcalSCDynamicDPhiParameters_h
3 
4 #include <iostream>
5 #include <vector>
6 
8 
9 namespace reco {
10  class SCDynamicDPhiParametersHelper;
11 } // namespace reco
12 
14 public:
16  virtual ~EcalSCDynamicDPhiParameters() = default;
17 
19  double eMin;
20  double etaMin;
21  double yoffset;
22  double scale;
23  double xoffset;
24  double width;
25  double saturation;
26  double cutoff;
27 
29  };
30 
31  const DynamicDPhiParameters* dynamicDPhiParameters(double clustE, double absSeedEta) const;
32 
33  // helper class to set parameters
35 
36  // print parameters to stream:
37  void print(std::ostream&) const;
38  friend std::ostream& operator<<(std::ostream& out, const EcalSCDynamicDPhiParameters& params) {
39  params.print(out);
40  return out;
41  }
42 
43 protected:
44  // collection is expected to be sorted in ascending DynamicDPhiParameters.eMin and ascending DynamicDPhiParameters.etaMax
45  std::vector<DynamicDPhiParameters> dynamicDPhiParametersCollection_;
46 
48 };
49 
50 #endif
virtual ~EcalSCDynamicDPhiParameters()=default
const DynamicDPhiParameters * dynamicDPhiParameters(double clustE, double absSeedEta) const
std::vector< DynamicDPhiParameters > dynamicDPhiParametersCollection_
friend std::ostream & operator<<(std::ostream &out, const EcalSCDynamicDPhiParameters &params)
#define COND_SERIALIZABLE
Definition: Serializable.h:39
fixed size matrix