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.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 
18 
30 
31  //constructor(s) and destructor(s)
32 public:
36 
39  virtual ~EcalSRSettings(){};
40 
41  //method(s)
42 public:
43 
44 private:
45  //attribute(s)
46 protected:
47 private:
48 public:
49  static const int nSrps_ = 12;
50  static const int nDccs_ = 54;
51  static const int nTccs_ = 108;
52 
60  std::vector<int> deltaEta_;
61 
73  std::vector<int> deltaPhi_;
74 
82  std::vector<int> ecalDccZs1stSample_;
83 
88 
101  std::vector<std::vector<float> > dccNormalizedWeights_;
102 
113  std::vector<int> symetricZS_;
114 
123  std::vector<float> srpLowInterestChannelZS_;
124 
133  std::vector<float> srpHighInterestChannelZS_;
134 
135 // ///switch to run w/o trigger primitive. For debug use only
136 // ///having troubles for vector<bool> with coral (3.8.0pre1), using vector<int> instead
137 // ///Parameter only relevant for emulation. For real data, must be contains 1 element with
138 // ///value 0.
139 // /// ... 1 element, then the weight set applies to whole ECAL
140 // /// ... 2 elements, then element 0 applies to EB, element 1 to EE
141 // /// ... 54 elements, then element i applied to DCC (i+1) (FED ID 651+i)
142 // /// SRP emulation supports only the single-element mode.
143 // std::vector<int> trigPrimBypass_;
144 //
145 // /// Mode selection for "Trig bypass" mode
146 // /// 0: TT thresholds applied on sum of crystal Et's
147 // /// 1: TT thresholds applies on compressed Et from Trigger primitive
148 // /// @see trigPrimByPass switch
149 // /// Parameter only relevant for
150 // std::vector<int> trigPrimBypassMode_;
151 //
152 // ///for debug mode only:
153 // std::vector<float> trigPrimBypassLTH_;
154 //
155 // ///for debug mode only:
156 // std::vector<float> trigPrimBypassHTH_;
157 //
158 // ///for debug mode only
159 // ///having troubles for vector<bool> with coral (3.8.0pre1), using vector<int> instead
160 // std::vector<int> trigPrimBypassWithPeakFinder_;
161 //
162 // ///Trigger Tower Flag to use when a flag is not found from the input
163 // ///Trigger Primitive collection. Must be one of the following values:
164 // /// 0: low interest, 1: mid interest, 3: high interest
165 // /// 4: forced low interest, 5: forced mid interest, 7: forced high interest
166 // std::vector<int> defaultTtf_;
167 
170  std::vector<int> actions_;
171 
174  std::vector<short> tccMasksFromConfig_;
175 
178  // indices: [iSrp][iCh]
179  std::vector<std::vector<short> >srpMasksFromConfig_;
180 
183  std::vector<short> dccMasks_;
184 
187  std::vector<short> srfMasks_;
188 
191  std::vector<std::vector<short> >substitutionSrfs_;
192 
194  std::vector<int> testerTccEmuSrpIds_;
197  std::vector<int> testerSrpEmuSrpIds_;
198  std::vector<int> testerDccTestSrpIds_;
199  std::vector<int> testerSrpTestSrpIds_;
201 
205  std::vector<short> bxOffsets_;
206 
209  //is added to this one.
211 
216 
221 
223 };
224 
225 std::ostream& operator<< (std::ostream& o, const EcalSRSettings& val);
226 
227 #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_
#define COND_SERIALIZABLE
Definition: Serializable.h:37
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_