CMS 3D CMS Logo

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
EcalSRSettings::srpLowInterestChannelZS_
std::vector< float > srpLowInterestChannelZS_
Definition: EcalSRSettings.h:119
EcalSRSettings::substitutionSrfs_
std::vector< std::vector< short > > substitutionSrfs_
Definition: EcalSRSettings.h:187
EcalSRSettings::~EcalSRSettings
virtual ~EcalSRSettings()
Definition: EcalSRSettings.h:36
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalSRSettings::srpMasksFromConfig_
std::vector< std::vector< short > > srpMasksFromConfig_
Definition: EcalSRSettings.h:175
EcalSRSettings::nTccs_
static const int nTccs_
Definition: EcalSRSettings.h:47
EcalSRSettings::actions_
std::vector< int > actions_
Definition: EcalSRSettings.h:166
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
EcalSRSettings::deltaEta_
std::vector< int > deltaEta_
Definition: EcalSRSettings.h:56
EcalSRSettings::EcalSRSettings
EcalSRSettings()
Definition: EcalSRSettings.cc:12
operator<<
std::ostream & operator<<(std::ostream &o, const EcalSRSettings &val)
Definition: EcalSRSettings.cc:39
EcalSRSettings::symetricZS_
std::vector< int > symetricZS_
Definition: EcalSRSettings.h:109
EcalSRSettings::testerSrpTestSrpIds_
std::vector< int > testerSrpTestSrpIds_
Definition: EcalSRSettings.h:195
EcalSRSettings::srfMasks_
std::vector< short > srfMasks_
Definition: EcalSRSettings.h:183
EcalSRSettings::testerDccTestSrpIds_
std::vector< int > testerDccTestSrpIds_
Definition: EcalSRSettings.h:194
EcalSRSettings::dccMasks_
std::vector< short > dccMasks_
Definition: EcalSRSettings.h:179
Serializable.h
EcalSRSettings::bxGlobalOffset_
short bxGlobalOffset_
Definition: EcalSRSettings.h:206
EcalSRSettings::deltaPhi_
std::vector< int > deltaPhi_
Definition: EcalSRSettings.h:69
EcalSRSettings::ebDccAdcToGeV_
float ebDccAdcToGeV_
ADC to GeV conversion factor used in ZS filter for EB.
Definition: EcalSRSettings.h:81
EcalSRSettings::testerSrpEmuSrpIds_
std::vector< int > testerSrpEmuSrpIds_
Definition: EcalSRSettings.h:193
EcalSRSettings::nSrps_
static const int nSrps_
Definition: EcalSRSettings.h:45
EcalSRSettings::bxOffsets_
std::vector< short > bxOffsets_
Definition: EcalSRSettings.h:201
EcalSRSettings
Definition: EcalSRSettings.h:27
EcalSRSettings::dccNormalizedWeights_
std::vector< std::vector< float > > dccNormalizedWeights_
Definition: EcalSRSettings.h:97
heppy_batch.val
val
Definition: heppy_batch.py:351
EcalSRSettings::ecalDccZs1stSample_
std::vector< int > ecalDccZs1stSample_
Definition: EcalSRSettings.h:78
EcalSRSettings::eeDccAdcToGeV_
float eeDccAdcToGeV_
ADC to GeV conversion factor used in ZS filter for EE.
Definition: EcalSRSettings.h:83
EcalSRSettings::testerTccEmuSrpIds_
std::vector< int > testerTccEmuSrpIds_
Definition: EcalSRSettings.h:192
EcalSRSettings::srpHighInterestChannelZS_
std::vector< float > srpHighInterestChannelZS_
Definition: EcalSRSettings.h:129
EcalSRSettings::automaticMasks_
int automaticMasks_
Definition: EcalSRSettings.h:211
EcalSRSettings::automaticSrpSelect_
int automaticSrpSelect_
Definition: EcalSRSettings.h:216
EcalSRSettings::tccMasksFromConfig_
std::vector< short > tccMasksFromConfig_
Definition: EcalSRSettings.h:170
EcalSRSettings::nDccs_
static const int nDccs_
Definition: EcalSRSettings.h:46