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 
18 
30  //constructor(s) and destructor(s)
31 public:
35 
38  virtual ~EcalSRSettings(){};
39 
40  //method(s)
41 public:
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 
221 };
222 
223 std::ostream& operator<<(std::ostream& o, const EcalSRSettings& val);
224 
225 #endif //ECALSRSETTINGS_H not defined
EcalSRSettings::srpLowInterestChannelZS_
std::vector< float > srpLowInterestChannelZS_
Definition: EcalSRSettings.h:121
EcalSRSettings::substitutionSrfs_
std::vector< std::vector< short > > substitutionSrfs_
Definition: EcalSRSettings.h:189
EcalSRSettings::~EcalSRSettings
virtual ~EcalSRSettings()
Definition: EcalSRSettings.h:38
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
EcalSRSettings::srpMasksFromConfig_
std::vector< std::vector< short > > srpMasksFromConfig_
Definition: EcalSRSettings.h:177
EcalSRSettings::nTccs_
static const int nTccs_
Definition: EcalSRSettings.h:49
EcalSRSettings::actions_
std::vector< int > actions_
Definition: EcalSRSettings.h:168
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:36
EcalSRSettings::deltaEta_
std::vector< int > deltaEta_
Definition: EcalSRSettings.h:58
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:111
EcalSRSettings::testerSrpTestSrpIds_
std::vector< int > testerSrpTestSrpIds_
Definition: EcalSRSettings.h:197
EcalSRSettings::srfMasks_
std::vector< short > srfMasks_
Definition: EcalSRSettings.h:185
EcalSRSettings::testerDccTestSrpIds_
std::vector< int > testerDccTestSrpIds_
Definition: EcalSRSettings.h:196
EcalSRSettings::dccMasks_
std::vector< short > dccMasks_
Definition: EcalSRSettings.h:181
Serializable.h
EcalSRSettings::bxGlobalOffset_
short bxGlobalOffset_
Definition: EcalSRSettings.h:208
EcalSRSettings::deltaPhi_
std::vector< int > deltaPhi_
Definition: EcalSRSettings.h:71
EcalSRSettings::ebDccAdcToGeV_
float ebDccAdcToGeV_
ADC to GeV conversion factor used in ZS filter for EB.
Definition: EcalSRSettings.h:83
EcalSRSettings::testerSrpEmuSrpIds_
std::vector< int > testerSrpEmuSrpIds_
Definition: EcalSRSettings.h:195
EcalSRSettings::nSrps_
static const int nSrps_
Definition: EcalSRSettings.h:47
EcalSRSettings::bxOffsets_
std::vector< short > bxOffsets_
Definition: EcalSRSettings.h:203
EcalSRSettings
Definition: EcalSRSettings.h:29
EcalSRSettings::dccNormalizedWeights_
std::vector< std::vector< float > > dccNormalizedWeights_
Definition: EcalSRSettings.h:99
heppy_batch.val
val
Definition: heppy_batch.py:351
EcalSRSettings::ecalDccZs1stSample_
std::vector< int > ecalDccZs1stSample_
Definition: EcalSRSettings.h:80
EcalSRSettings::eeDccAdcToGeV_
float eeDccAdcToGeV_
ADC to GeV conversion factor used in ZS filter for EE.
Definition: EcalSRSettings.h:85
EcalSRSettings::testerTccEmuSrpIds_
std::vector< int > testerTccEmuSrpIds_
Definition: EcalSRSettings.h:194
EcalSRSettings::srpHighInterestChannelZS_
std::vector< float > srpHighInterestChannelZS_
Definition: EcalSRSettings.h:131
ParameterSet.h
EcalSRSettings::automaticMasks_
int automaticMasks_
Definition: EcalSRSettings.h:213
EcalSRSettings::automaticSrpSelect_
int automaticSrpSelect_
Definition: EcalSRSettings.h:218
EcalSRSettings::tccMasksFromConfig_
std::vector< short > tccMasksFromConfig_
Definition: EcalSRSettings.h:172
EcalSRSettings::nDccs_
static const int nDccs_
Definition: EcalSRSettings.h:48