CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalSRSettings.h
Go to the documentation of this file.
1 /*
2  * $Id: EcalSRSettings.h,v 1.2 2010/06/14 10:45:15 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 
11 #include <vector>
12 #include <string>
13 #include <ostream>
14 
16 
28 
29  //constructor(s) and destructor(s)
30 public:
34 
37  virtual ~EcalSRSettings(){};
38 
39  //method(s)
40 public:
41 
42 private:
43  //attribute(s)
44 protected:
45 private:
46 public:
47  static const int nSrps_ = 12;
48  static const int nDccs_ = 54;
49  static const int nTccs_ = 108;
50 
58  std::vector<int> deltaEta_;
59 
71  std::vector<int> deltaPhi_;
72 
80  std::vector<int> ecalDccZs1stSample_;
81 
86 
99  std::vector<std::vector<float> > dccNormalizedWeights_;
100 
111  std::vector<int> symetricZS_;
112 
121  std::vector<float> srpLowInterestChannelZS_;
122 
131  std::vector<float> srpHighInterestChannelZS_;
132 
133 // ///switch to run w/o trigger primitive. For debug use only
134 // ///having troubles for vector<bool> with coral (3.8.0pre1), using vector<int> instead
135 // ///Parameter only relevant for emulation. For real data, must be contains 1 element with
136 // ///value 0.
137 // /// ... 1 element, then the weight set applies to whole ECAL
138 // /// ... 2 elements, then element 0 applies to EB, element 1 to EE
139 // /// ... 54 elements, then element i applied to DCC (i+1) (FED ID 651+i)
140 // /// SRP emulation supports only the single-element mode.
141 // std::vector<int> trigPrimBypass_;
142 //
143 // /// Mode selection for "Trig bypass" mode
144 // /// 0: TT thresholds applied on sum of crystal Et's
145 // /// 1: TT thresholds applies on compressed Et from Trigger primitive
146 // /// @see trigPrimByPass switch
147 // /// Parameter only relevant for
148 // std::vector<int> trigPrimBypassMode_;
149 //
150 // ///for debug mode only:
151 // std::vector<float> trigPrimBypassLTH_;
152 //
153 // ///for debug mode only:
154 // std::vector<float> trigPrimBypassHTH_;
155 //
156 // ///for debug mode only
157 // ///having troubles for vector<bool> with coral (3.8.0pre1), using vector<int> instead
158 // std::vector<int> trigPrimBypassWithPeakFinder_;
159 //
160 // ///Trigger Tower Flag to use when a flag is not found from the input
161 // ///Trigger Primitive collection. Must be one of the following values:
162 // /// 0: low interest, 1: mid interest, 3: high interest
163 // /// 4: forced low interest, 5: forced mid interest, 7: forced high interest
164 // std::vector<int> defaultTtf_;
165 
168  std::vector<int> actions_;
169 
172  std::vector<short> tccMasksFromConfig_;
173 
176  // indices: [iSrp][iCh]
177  std::vector<std::vector<short> >srpMasksFromConfig_;
178 
181  std::vector<short> dccMasks_;
182 
185  std::vector<short> srfMasks_;
186 
189  std::vector<std::vector<short> >substitutionSrfs_;
190 
192  std::vector<int> testerTccEmuSrpIds_;
195  std::vector<int> testerSrpEmuSrpIds_;
196  std::vector<int> testerDccTestSrpIds_;
197  std::vector<int> testerSrpTestSrpIds_;
199 
203  std::vector<short> bxOffsets_;
204 
207  //is added to this one.
209 
214 
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:187
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_
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_