CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalSRSettings.h
Go to the documentation of this file.
1 /*
2  * $Id: EcalSRSettings.h,v 1.1 2010/06/09 14:23:32 pgras Exp $
3  *
4  * Original author: Ph. Gras CEA/IRFU Saclay. June, 2010
5  *
6  */
7 
8 #ifndef ECALSRSETTINGS_H
9 #define ECALSRSETTINGS_H
10 
12 
13 #include <vector>
14 #include <string>
15 #include <ostream>
16 
28  //constructor(s) and destructor(s)
29 public:
33 
36  virtual ~EcalSRSettings(){};
37 
38  //method(s)
39 public:
40 private:
41  //attribute(s)
42 protected:
43 private:
44 public:
45  static const int nSrps_ = 12;
46  static const int nDccs_ = 54;
47  static const int nTccs_ = 108;
48 
56  std::vector<int> deltaEta_;
57 
69  std::vector<int> deltaPhi_;
70 
78  std::vector<int> ecalDccZs1stSample_;
79 
84 
97  std::vector<std::vector<float> > dccNormalizedWeights_;
98 
109  std::vector<int> symetricZS_;
110 
119  std::vector<float> srpLowInterestChannelZS_;
120 
129  std::vector<float> srpHighInterestChannelZS_;
130 
131  // ///switch to run w/o trigger primitive. For debug use only
132  // ///having troubles for vector<bool> with coral (3.8.0pre1), using vector<int> instead
133  // ///Parameter only relevant for emulation. For real data, must be contains 1 element with
134  // ///value 0.
135  // /// ... 1 element, then the weight set applies to whole ECAL
136  // /// ... 2 elements, then element 0 applies to EB, element 1 to EE
137  // /// ... 54 elements, then element i applied to DCC (i+1) (FED ID 651+i)
138  // /// SRP emulation supports only the single-element mode.
139  // std::vector<int> trigPrimBypass_;
140  //
141  // /// Mode selection for "Trig bypass" mode
142  // /// 0: TT thresholds applied on sum of crystal Et's
143  // /// 1: TT thresholds applies on compressed Et from Trigger primitive
144  // /// @see trigPrimByPass switch
145  // /// Parameter only relevant for
146  // std::vector<int> trigPrimBypassMode_;
147  //
148  // ///for debug mode only:
149  // std::vector<float> trigPrimBypassLTH_;
150  //
151  // ///for debug mode only:
152  // std::vector<float> trigPrimBypassHTH_;
153  //
154  // ///for debug mode only
155  // ///having troubles for vector<bool> with coral (3.8.0pre1), using vector<int> instead
156  // std::vector<int> trigPrimBypassWithPeakFinder_;
157  //
158  // ///Trigger Tower Flag to use when a flag is not found from the input
159  // ///Trigger Primitive collection. Must be one of the following values:
160  // /// 0: low interest, 1: mid interest, 3: high interest
161  // /// 4: forced low interest, 5: forced mid interest, 7: forced high interest
162  // std::vector<int> defaultTtf_;
163 
166  std::vector<int> actions_;
167 
170  std::vector<short> tccMasksFromConfig_;
171 
174  // indices: [iSrp][iCh]
175  std::vector<std::vector<short> > srpMasksFromConfig_;
176 
179  std::vector<short> dccMasks_;
180 
183  std::vector<short> srfMasks_;
184 
187  std::vector<std::vector<short> > substitutionSrfs_;
188 
190  std::vector<int> testerTccEmuSrpIds_;
193  std::vector<int> testerSrpEmuSrpIds_;
194  std::vector<int> testerDccTestSrpIds_;
195  std::vector<int> testerSrpTestSrpIds_;
197 
201  std::vector<short> bxOffsets_;
202 
205  //is added to this one.
207 
212 
217 
219 };
220 
221 std::ostream& operator<<(std::ostream& o, const EcalSRSettings& val);
222 
223 #endif //ECALSRSETTINGS_H not defined
static const int nTccs_
static const int nDccs_
virtual ~EcalSRSettings()
std::vector< short > srfMasks_
std::vector< std::vector< float > > dccNormalizedWeights_
std::vector< int > testerSrpEmuSrpIds_
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
std::vector< float > srpHighInterestChannelZS_
std::vector< int > actions_
std::vector< std::vector< short > > substitutionSrfs_
std::vector< int > testerDccTestSrpIds_
std::vector< int > ecalDccZs1stSample_
std::vector< short > tccMasksFromConfig_
std::vector< short > bxOffsets_
std::vector< short > dccMasks_
std::vector< int > deltaPhi_
std::vector< int > symetricZS_
float ebDccAdcToGeV_
ADC to GeV conversion factor used in ZS filter for EB.
std::vector< int > testerTccEmuSrpIds_
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::vector< float > srpLowInterestChannelZS_
std::vector< int > deltaEta_
std::vector< int > testerSrpTestSrpIds_
float eeDccAdcToGeV_
ADC to GeV conversion factor used in ZS filter for EE.
static const int nSrps_
std::vector< std::vector< short > > srpMasksFromConfig_