CMS 3D CMS Logo

PixelCalibConfiguration.h
Go to the documentation of this file.
1 #ifndef PixelCalibConfiguration_h
2 #define PixelCalibConfiguration_h
3 
9 #include <vector>
10 #include <set>
11 #include <map>
12 #include <string>
13 #include <sstream>
14 #include <utility>
34 
35 namespace pos {
36  class PixelHdwAddress;
37 
38  //This class contains info about a ROC
39  class PixelROCInfo {
40  public:
41  bool use_;
43  //FIXME these should be const but it has ripple effects...
46  std::vector<std::pair<unsigned int, unsigned int> > defaultDACs_;
48  };
49 
63  std::ostream& operator<<(std::ostream& s, const PixelCalibConfiguration& calib);
64 
66  public:
68  PixelCalibConfiguration(std::vector<std::vector<std::string> >&);
69 
70  ~PixelCalibConfiguration() override;
71 
72  // This must be run before using commands that require the ROC list.
73  void buildROCAndModuleLists(const PixelNameTranslation* translation, const PixelDetectorConfig* detconfig);
74 
75  void nextFECState(std::map<unsigned int, PixelFECConfigInterface*>& pixelFECs,
76  PixelDetectorConfig* detconfig,
77  PixelNameTranslation* trans,
78  std::map<pos::PixelModuleName, pos::PixelMaskBase*>* masks,
79  std::map<pos::PixelModuleName, pos::PixelTrimBase*>* trims,
80  std::map<pos::PixelModuleName, pos::PixelDACSettings*>* dacss,
81  unsigned int state) const;
82 
83  //return vector of fed# and channels controlled by this fed supervisor
84  std::vector<std::pair<unsigned int, std::vector<unsigned int> > >& fedCardsAndChannels(
85  unsigned int crate,
86  PixelNameTranslation* translation,
87  PixelFEDConfig* fedconfig,
88  PixelDetectorConfig* detconfig) const;
89 
90  std::map<unsigned int, std::set<unsigned int> > getFEDsAndChannels(PixelNameTranslation* translation);
91 
92  // Returns a std::set of FED crates that are used by this Calib object
93  std::set<unsigned int> getFEDCrates(const PixelNameTranslation* translation, const PixelFEDConfig* fedconfig) const;
94 
95  // Returns a std::set of FEC crates that are used by this Calib object
96  std::set<unsigned int> getFECCrates(const PixelNameTranslation* translation, const PixelFECConfig* fecconfig) const;
97 
98  // Returns a std::set of TKFEC crates that are used by this Calib object
99  std::set<unsigned int> getTKFECCrates(const PixelPortcardMap* portcardmap,
100  const std::map<std::string, PixelPortCardConfig*>& mapNamePortCard,
101  const PixelTKFECConfig* tkfecconfig) const;
102 
103  unsigned int nROC() const {
105  return nROC_;
106  }
107  unsigned int nPixelPatterns() const { return rows_.size() * cols_.size(); }
108  unsigned int nTriggersPerPattern() const { return ntrigger_; }
109  unsigned int nScanPoints(std::string dac) const { return nScanPoints(iScan(dac)); }
110 
111  unsigned int nScanPoints() const {
112  unsigned int points = 1;
113  for (unsigned int i = 0; i < dacs_.size(); i++) {
114  points *= nScanPoints(i);
115  }
116  return points;
117  }
118  unsigned int nConfigurations() const { return nPixelPatterns() * nScanPoints() * nROC(); }
119  unsigned int nTriggersTotal() const { return nConfigurations() * nTriggersPerPattern(); }
120 
121  bool noHits() const { return (maxNumHitsPerROC() == 0); } // returns true if no hits will be produced
122  unsigned int maxNumHitsPerROC()
123  const; // returns the maximum number of hits that will be produced in any pixel pattern
124 
125  // Return all the pixels that are enabled for this state.
126  std::set<std::pair<unsigned int, unsigned int> > pixelsWithHits(unsigned int state) const;
127  // column # row #
128 
129  // Whether this ROC is currently being scanned. (Always true when not in SingleROC mode.)
130  bool scanningROCForState(PixelROCName roc, unsigned int state) const;
131 
132  unsigned int scanCounter(std::string dac, unsigned int state) const { return scanCounter(iScan(dac), state); }
133 
134  unsigned int scanValue(std::string dac, unsigned int state, PixelROCName roc) const {
135  return scanValue(iScan(dac), state, roc);
136  }
137 
138  // This function should not be used -- provided for backwards compatibility only. It asserts if the scan values for this dac are mixed across different ROCs.
139  unsigned int scanValue(std::string dac, unsigned int state) const {
140  assert(!(dacs_[iScan(dac)].mixValuesAcrossROCs()));
141  return scanValue(iScan(dac), state, 0, 1);
142  }
143 
144  unsigned int numberOfScanVariables() const { return dacs_.size(); }
145 
146  bool containsScan(std::string name) const;
147 
148  std::string scanName(unsigned int iscan) const { return dacs_[iscan].name(); }
149  std::vector<unsigned int> scanValues(std::string dac) const { return scanValues(iScan(dac)); }
150 
151  double scanValueMin(std::string dac) const { return scanValueMin(iScan(dac)); }
152  double scanValueMax(std::string dac) const { return scanValueMax(iScan(dac)); }
153  double scanValueStep(std::string dac) const { return scanValueStep(iScan(dac)); }
155 
156  unsigned int iScan(std::string dac) const;
157 
158  const std::vector<std::vector<unsigned int> >& columnList() const { return cols_; }
159  const std::vector<std::vector<unsigned int> >& rowList() const { return rows_; }
160  const std::vector<PixelROCName>& rocList() const {
162  return rocs_;
163  }
164  const std::set<PixelModuleName>& moduleList() const {
166  return modules_;
167  }
168  const std::set<PixelChannel>& channelList() const {
170  return channels_;
171  }
172 
173  std::string mode() const override { return mode_; }
174 
175  bool singleROC() const { return singleROC_; }
176 
177  unsigned int nParameters() const { return parameters_.size(); }
178 
179  // Added by Dario Apr 24th, 2008
180  std::map<std::string, std::string> parametersList() const { return parameters_; }
181  // get the value of parameter parameterName, or "" if parameterName is not in the list
182  std::string parameterValue(std::string parameterName) const;
183 
184  // Added by Dario May 8th, 2008
186 
187  friend std::ostream& pos::operator<<(std::ostream& s, const PixelCalibConfiguration& calib);
188 
189  void writeASCII(std::string dir = "") const override;
190  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
192  int version,
194  std::ofstream* out,
195  std::ofstream* out1 = nullptr,
196  std::ofstream* out2 = nullptr) const override;
197  void writeXML(std::ofstream* out, std::ofstream* out1 = nullptr, std::ofstream* out2 = nullptr) const override;
198  void writeXMLTrailer(std::ofstream* out,
199  std::ofstream* out1 = nullptr,
200  std::ofstream* out2 = nullptr) const override;
201 
202  private:
203  // Which set of rows we're on.
204  unsigned int rowCounter(unsigned int state) const;
205 
206  // Which set of columns we're on.
207  unsigned int colCounter(unsigned int state) const;
208 
209  // In SingleROC mode, which ROC we're on. In normal mode, this equals 1.
210  unsigned int scanROC(unsigned int state) const;
211 
212  unsigned int nScanPoints(unsigned int iscan) const { return dacs_[iscan].getNPoints(); }
213 
214  unsigned int scanCounter(unsigned int iscan, unsigned int state) const;
215 
216  unsigned int scanValue(unsigned int iscan,
217  unsigned int state,
218  unsigned int ROCNumber,
219  unsigned int ROCsOnChannel) const;
220  unsigned int scanValue(unsigned int iscan, unsigned int state, PixelROCName roc) const;
221 
222  std::vector<unsigned int> scanValues(unsigned int iscan) const { return dacs_[iscan].values(); }
223 
224  double scanValueMin(unsigned int iscan) const { return dacs_[iscan].first(); }
225  double scanValueMax(unsigned int iscan) const {
226  return dacs_[iscan].first() + dacs_[iscan].step() * (nScanPoints(iscan) - 1);
227  }
228  double scanValueStep(unsigned int iscan) const { return dacs_[iscan].step(); }
229  bool scanValuesMixedAcrossROCs(unsigned int iscan) const { return dacs_[iscan].mixValuesAcrossROCs(); }
230 
231  // Used in constructor or in buildROCAndModuleLists()
232  void buildROCAndModuleListsFromROCSet(const std::set<PixelROCName>& rocSet);
233 
235 
237  unsigned int numROCsCalibratedOnChannel(PixelROCName roc) const;
238 
240 
241  std::vector<std::vector<unsigned int> > rows_;
242  std::vector<std::vector<unsigned int> > cols_;
243 
244  mutable std::vector<PixelROCName> rocs_;
245  mutable std::vector<PixelROCInfo> rocInfo_;
246  std::set<PixelModuleName> modules_;
248  std::vector<std::string> rocListInstructions_;
249 
250  // Objects built using the name translation.
251  std::set<PixelChannel> channels_;
252  std::map<PixelROCName, unsigned int> ROCNumberOnChannelAmongThoseCalibrated_;
253  std::map<PixelROCName, unsigned int> numROCsCalibratedOnChannel_;
255 
256  mutable std::vector<std::pair<unsigned int, std::vector<unsigned int> > > fedCardsAndChannels_;
257 
258  //unsigned int vcal_;
259 
260  std::vector<PixelDACScanRange> dacs_;
261 
262  //std::vector<std::string> dacname_;
263  //std::vector<unsigned int> dacchannel_;
264  //std::vector<unsigned int> dac_first_;
265  //std::vector<unsigned int> dac_last_;
266  //std::vector<unsigned int> dac_step_;
267 
268  unsigned int ntrigger_;
269  unsigned int nROC_; //This is the maximal #ROCs on a given TBM
270 
272 
273  void enablePixels(PixelFECConfigInterface* pixelFEC,
274  unsigned int irows,
275  unsigned int icols,
276  pos::PixelROCMaskBits* masks,
277  pos::PixelROCTrimBits* trims,
278  const PixelHdwAddress& theROC) const;
279 
280  void disablePixels(PixelFECConfigInterface* pixelFEC,
281  unsigned int irows,
282  unsigned int icols,
283  pos::PixelROCTrimBits* trims,
284  const PixelHdwAddress& theROC) const;
285 
286  void disablePixels(PixelFECConfigInterface* pixelFEC,
287  pos::PixelROCTrimBits* trims,
288  const PixelHdwAddress& theROC) const;
289 
290  mutable std::vector<int> old_irows;
291  mutable std::vector<int> old_icols;
292 
293  std::map<std::string, std::string> parameters_;
294  // name value
295 
297 
299 
300  // Added by Dario May 8th, 2008
302  };
303 } // namespace pos
304 /* @} */
305 #endif
PixelDACScanRange.h
pos::PixelROCInfo
Definition: PixelCalibConfiguration.h:39
pos::PixelFECConfigInterface
This class implements..
Definition: PixelFECConfigInterface.h:23
mps_fire.i
i
Definition: mps_fire.py:428
pos::PixelROCMaskBits
This class implements..
Definition: PixelROCMaskBits.h:24
pos::PixelCalibConfiguration::singleROC
bool singleROC() const
Definition: PixelCalibConfiguration.h:175
pos::PixelCalibConfiguration::iScan
unsigned int iScan(std::string dac) const
Definition: PixelCalibConfiguration.cc:758
pos::PixelCalibConfiguration::parameters_
std::map< std::string, std::string > parameters_
Definition: PixelCalibConfiguration.h:293
pos::PixelCalibConfiguration::scanValueStep
double scanValueStep(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:228
pos::PixelCalibBase
Definition: PixelCalibBase.h:23
HLT_FULL_cff.points
points
Definition: HLT_FULL_cff.py:21521
pos::PixelCalibConfiguration::fedCardsAndChannels
std::vector< std::pair< unsigned int, std::vector< unsigned int > > > & fedCardsAndChannels(unsigned int crate, PixelNameTranslation *translation, PixelFEDConfig *fedconfig, PixelDetectorConfig *detconfig) const
Definition: PixelCalibConfiguration.cc:1182
pos::PixelCalibConfiguration::maxNumHitsPerROC
unsigned int maxNumHitsPerROC() const
Definition: PixelCalibConfiguration.cc:1540
PixelMaskBase.h
pos::PixelROCInfo::tbmChannel_
std::string tbmChannel_
Definition: PixelCalibConfiguration.h:47
PixelDACSettings.h
This class provide a base class for the pixel ROC dac data for the pixel FEC configuration.
pos::PixelCalibConfiguration::scanValue
unsigned int scanValue(std::string dac, unsigned int state, PixelROCName roc) const
Definition: PixelCalibConfiguration.h:134
pos::PixelDetectorConfig
This is the documentation about PixelDetectorConfig...
Definition: PixelDetectorConfig.h:39
pos
Definition: PixelAliasList.h:18
pos::PixelCalibConfiguration::objectsDependingOnTheNameTranslationBuilt_
bool objectsDependingOnTheNameTranslationBuilt_
Definition: PixelCalibConfiguration.h:254
pos::PixelCalibConfiguration::nextFECState
void nextFECState(std::map< unsigned int, PixelFECConfigInterface * > &pixelFECs, PixelDetectorConfig *detconfig, PixelNameTranslation *trans, std::map< pos::PixelModuleName, pos::PixelMaskBase * > *masks, std::map< pos::PixelModuleName, pos::PixelTrimBase * > *trims, std::map< pos::PixelModuleName, pos::PixelDACSettings * > *dacss, unsigned int state) const
Definition: PixelCalibConfiguration.cc:852
pos::PixelCalibConfiguration::rocs_
std::vector< PixelROCName > rocs_
Definition: PixelCalibConfiguration.h:244
pos::PixelCalibConfiguration::cols_
std::vector< std::vector< unsigned int > > cols_
Definition: PixelCalibConfiguration.h:242
PixelROCName.h
This class stores the name and related hardware mappings for a ROC.
cms::cuda::assert
assert(be >=bs)
pos::PixelCalibConfiguration::nPixelPatterns
unsigned int nPixelPatterns() const
Definition: PixelCalibConfiguration.h:107
pos::PixelCalibConfiguration::nTriggersPerPattern
unsigned int nTriggersPerPattern() const
Definition: PixelCalibConfiguration.h:108
PixelTrimBase.h
This class provides a base class for the pixel trim data for the pixel FEC configuration.
pos::PixelConfigBase
This file contains the base class for "pixel configuration data" management.
Definition: PixelConfigBase.h:32
pos::PixelCalibConfiguration::buildObjectsDependingOnTheNameTranslation
void buildObjectsDependingOnTheNameTranslation(const PixelNameTranslation *aNameTranslation)
Definition: PixelCalibConfiguration.cc:713
pos::PixelCalibConfiguration::rocListInstructions_
std::vector< std::string > rocListInstructions_
Definition: PixelCalibConfiguration.h:248
PixelROCTrimBits.h
This class implements..
pos::PixelCalibConfiguration::old_irows
std::vector< int > old_irows
Definition: PixelCalibConfiguration.h:290
pos::PixelCalibConfiguration::numROCsCalibratedOnChannel_
std::map< PixelROCName, unsigned int > numROCsCalibratedOnChannel_
Definition: PixelCalibConfiguration.h:253
pos::PixelCalibConfiguration::writeASCII
void writeASCII(std::string dir="") const override
Definition: PixelCalibConfiguration.cc:1457
pos::PixelCalibConfiguration::ntrigger_
unsigned int ntrigger_
Definition: PixelCalibConfiguration.h:268
pos::PixelCalibConfiguration::_bufferData
bool _bufferData
Definition: PixelCalibConfiguration.h:296
pos::PixelCalibConfiguration::modules_
std::set< PixelModuleName > modules_
Definition: PixelCalibConfiguration.h:246
pos::PixelCalibConfiguration::scanValuesMixedAcrossROCs
bool scanValuesMixedAcrossROCs(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:229
PixelFECConfigInterface.h
This class intends to define an abstract interface for the commands to talk to the PixelFEC.
PixelTKFECConfig.h
This class specifies which TKFEC boards are used and how they are addressed.
PixelNameTranslation.h
This class provides a translation from the naming documents standard to specify the ROC to the corres...
pos::PixelROCTrimBits
This class implements..
Definition: PixelROCTrimBits.h:23
pos::PixelCalibConfiguration::containsScan
bool containsScan(std::string name) const
Definition: PixelCalibConfiguration.cc:1570
pos::PixelROCInfo::trims_
PixelROCTrimBits * trims_
Definition: PixelCalibConfiguration.h:44
pos::PixelCalibConfiguration::PixelCalibConfiguration
PixelCalibConfiguration(std::string filename="")
Definition: PixelCalibConfiguration.cc:285
pos::PixelCalibConfiguration::dacs_
std::vector< PixelDACScanRange > dacs_
Definition: PixelCalibConfiguration.h:260
alignCSCRings.s
s
Definition: alignCSCRings.py:92
pos::PixelCalibConfiguration::nConfigurations
unsigned int nConfigurations() const
Definition: PixelCalibConfiguration.h:118
pos::PixelCalibConfiguration::ROCNumberOnChannelAmongThoseCalibrated_
std::map< PixelROCName, unsigned int > ROCNumberOnChannelAmongThoseCalibrated_
Definition: PixelCalibConfiguration.h:252
pos::PixelCalibConfiguration::enablePixels
void enablePixels(PixelFECConfigInterface *pixelFEC, unsigned int irows, unsigned int icols, pos::PixelROCMaskBits *masks, pos::PixelROCTrimBits *trims, const PixelHdwAddress &theROC) const
Definition: PixelCalibConfiguration.cc:1370
pos::PixelCalibConfiguration::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelCalibConfiguration.h:190
PixelCalibBase.h
Base class for pixel calibration procedures.
pos::PixelCalibConfiguration
This class implements the steps that are used in a scan over Threshold and CalDelay.
Definition: PixelCalibConfiguration.h:65
PixelFECConfig.h
This class specifies which FEC boards are used and how they are addressed.
PixelConfigBase.h
This file contains the base class for "pixel configuration data" management.
PixelModuleName.h
This class implements..
pos::PixelCalibConfiguration::scanValueStep
double scanValueStep(std::string dac) const
Definition: PixelCalibConfiguration.h:153
pos::PixelCalibConfiguration::scanValueMax
double scanValueMax(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:225
pos::PixelCalibConfiguration::buildROCAndModuleLists
void buildROCAndModuleLists(const PixelNameTranslation *translation, const PixelDetectorConfig *detconfig)
Definition: PixelCalibConfiguration.cc:529
corrVsCorr.filename
filename
Definition: corrVsCorr.py:123
pos::PixelCalibConfiguration::~PixelCalibConfiguration
~PixelCalibConfiguration() override
Definition: PixelCalibConfiguration.cc:527
pos::PixelCalibConfiguration::rowList
const std::vector< std::vector< unsigned int > > & rowList() const
Definition: PixelCalibConfiguration.h:159
pos::PixelCalibConfiguration::scanROC
unsigned int scanROC(unsigned int state) const
Definition: PixelCalibConfiguration.cc:771
pos::PixelCalibConfiguration::scanValueMax
double scanValueMax(std::string dac) const
Definition: PixelCalibConfiguration.h:152
pos::PixelCalibConfiguration::scanValues
std::vector< unsigned int > scanValues(std::string dac) const
Definition: PixelCalibConfiguration.h:149
pos::PixelCalibConfiguration::nROC_
unsigned int nROC_
Definition: PixelCalibConfiguration.h:269
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelCalibConfiguration::rows_
std::vector< std::vector< unsigned int > > rows_
Definition: PixelCalibConfiguration.h:241
calib
Definition: CalibElectron.h:12
pos::PixelCalibConfiguration::channels_
std::set< PixelChannel > channels_
Definition: PixelCalibConfiguration.h:251
pos::PixelROCInfo::hdwadd_
const PixelHdwAddress * hdwadd_
Definition: PixelCalibConfiguration.h:42
PixelDetectorConfig.h
This class specifies which detector components are used in the configuration (and eventually should s...
pos::PixelROCInfo::masks_
PixelROCMaskBits * masks_
Definition: PixelCalibConfiguration.h:45
pos::PixelCalibConfiguration::nScanPoints
unsigned int nScanPoints() const
Definition: PixelCalibConfiguration.h:111
pos::PixelCalibConfiguration::pixelsWithHits
std::set< std::pair< unsigned int, unsigned int > > pixelsWithHits(unsigned int state) const
Definition: PixelCalibConfiguration.cc:1553
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
pos::PixelCalibConfiguration::singleROC_
bool singleROC_
Definition: PixelCalibConfiguration.h:239
pos::PixelCalibConfiguration::rowCounter
unsigned int rowCounter(unsigned int state) const
Definition: PixelCalibConfiguration.cc:837
pos::PixelCalibConfiguration::columnList
const std::vector< std::vector< unsigned int > > & columnList() const
Definition: PixelCalibConfiguration.h:158
pos::PixelCalibConfiguration::scanCounter
unsigned int scanCounter(std::string dac, unsigned int state) const
Definition: PixelCalibConfiguration.h:132
pos::PixelCalibConfiguration::scanName
std::string scanName(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:148
pos::operator<<
std::ostream & operator<<(std::ostream &s, const PixelCalibConfiguration &calib)
Definition: PixelCalibConfiguration.cc:1325
pos::PixelROCInfo::defaultDACs_
std::vector< std::pair< unsigned int, unsigned int > > defaultDACs_
Definition: PixelCalibConfiguration.h:46
pos::PixelHdwAddress
Store mfec, mfecchannel etc.
Definition: PixelHdwAddress.h:23
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
PixelFEDConfig.h
This class implements..
pos::PixelCalibConfiguration::nTriggersTotal
unsigned int nTriggersTotal() const
Definition: PixelCalibConfiguration.h:119
pos::PixelFEDConfig
This is the documentation about PixelFEDConfig...
Definition: PixelFEDConfig.h:27
pos::PixelCalibConfiguration::nROC
unsigned int nROC() const
Definition: PixelCalibConfiguration.h:103
pos::PixelROCName
This class implements..
Definition: PixelROCName.h:23
pos::PixelCalibConfiguration::numROCsCalibratedOnChannel
unsigned int numROCsCalibratedOnChannel(PixelROCName roc) const
Definition: PixelCalibConfiguration.cc:816
pos::PixelCalibConfiguration::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelCalibConfiguration.cc:1641
pos::PixelCalibConfiguration::rocAndModuleListsBuilt_
bool rocAndModuleListsBuilt_
Definition: PixelCalibConfiguration.h:247
pos::PixelCalibConfiguration::getStreamedContent
std::string getStreamedContent(void) const
Definition: PixelCalibConfiguration.h:185
pos::PixelCalibConfiguration::calibFileContent_
std::string calibFileContent_
Definition: PixelCalibConfiguration.h:301
pos::PixelCalibConfiguration::buildROCAndModuleListsFromROCSet
void buildROCAndModuleListsFromROCSet(const std::set< PixelROCName > &rocSet)
Definition: PixelCalibConfiguration.cc:647
pos::PixelCalibConfiguration::noHits
bool noHits() const
Definition: PixelCalibConfiguration.h:121
pos::PixelCalibConfiguration::scanValues
std::vector< unsigned int > scanValues(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:222
pos::PixelTKFECConfig
This class specifies which TKFEC boards are used and how they are addressed.
Definition: PixelTKFECConfig.h:27
pos::PixelCalibConfiguration::getFEDsAndChannels
std::map< unsigned int, std::set< unsigned int > > getFEDsAndChannels(PixelNameTranslation *translation)
Definition: PixelCalibConfiguration.cc:1235
RunInfoPI::state
state
Definition: RunInfoPayloadInspectoHelper.h:16
pos::PixelCalibConfiguration::getTKFECCrates
std::set< unsigned int > getTKFECCrates(const PixelPortcardMap *portcardmap, const std::map< std::string, PixelPortCardConfig * > &mapNamePortCard, const PixelTKFECConfig *tkfecconfig) const
Definition: PixelCalibConfiguration.cc:1297
pos::PixelPortcardMap
Definition: PixelPortcardMap.h:31
pos::PixelCalibConfiguration::getFECCrates
std::set< unsigned int > getFECCrates(const PixelNameTranslation *translation, const PixelFECConfig *fecconfig) const
Definition: PixelCalibConfiguration.cc:1275
pos::PixelCalibConfiguration::highVCalRange_
bool highVCalRange_
Definition: PixelCalibConfiguration.h:271
pos::PixelCalibConfiguration::rocList
const std::vector< PixelROCName > & rocList() const
Definition: PixelCalibConfiguration.h:160
pos::PixelCalibConfiguration::disablePixels
void disablePixels(PixelFECConfigInterface *pixelFEC, unsigned int irows, unsigned int icols, pos::PixelROCTrimBits *trims, const PixelHdwAddress &theROC) const
Definition: PixelCalibConfiguration.cc:1401
pos::PixelCalibConfiguration::parameterValue
std::string parameterValue(std::string parameterName) const
Definition: PixelCalibConfiguration.cc:1447
PointingDoubleMultiSkim_cfg.out2
out2
Definition: PointingDoubleMultiSkim_cfg.py:85
pos::PixelCalibConfiguration::scanningROCForState
bool scanningROCForState(PixelROCName roc, unsigned int state) const
Definition: PixelCalibConfiguration.cc:796
PointingDoubleMultiSkim_cfg.out1
out1
Definition: PointingDoubleMultiSkim_cfg.py:57
PixelMapPlotter.roc
roc
Definition: PixelMapPlotter.py:498
pos::PixelCalibConfiguration::fedCardsAndChannels_
std::vector< std::pair< unsigned int, std::vector< unsigned int > > > fedCardsAndChannels_
Definition: PixelCalibConfiguration.h:256
pos::PixelCalibConfiguration::nParameters
unsigned int nParameters() const
Definition: PixelCalibConfiguration.h:177
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
PixelROCMaskBits.h
This class implements..
pos::PixelCalibBase::mode_
std::string mode_
Definition: PixelCalibBase.h:44
pos::PixelCalibConfiguration::mode
std::string mode() const override
Definition: PixelCalibConfiguration.h:173
pos::PixelCalibConfiguration::scanValuesMixedAcrossROCs
bool scanValuesMixedAcrossROCs(std::string dac) const
Definition: PixelCalibConfiguration.h:154
pos::PixelCalibConfiguration::scanValueMin
double scanValueMin(std::string dac) const
Definition: PixelCalibConfiguration.h:151
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
pos::PixelCalibConfiguration::rocInfo_
std::vector< PixelROCInfo > rocInfo_
Definition: PixelCalibConfiguration.h:245
pos::PixelFECConfig
This class specifies which FEC boards are used and how they are addressed.
Definition: PixelFECConfig.h:24
pos::PixelCalibConfiguration::numberOfScanVariables
unsigned int numberOfScanVariables() const
Definition: PixelCalibConfiguration.h:144
pos::PixelCalibConfiguration::getFEDCrates
std::set< unsigned int > getFEDCrates(const PixelNameTranslation *translation, const PixelFEDConfig *fedconfig) const
Definition: PixelCalibConfiguration.cc:1253
PixelPortcardMap.h
This class provides the mapping between portcards and the modules controlled by the card.
pos::PixelNameTranslation
This is the documentation about PixelNameTranslation...
Definition: PixelNameTranslation.h:41
pos::PixelCalibConfiguration::channelList
const std::set< PixelChannel > & channelList() const
Definition: PixelCalibConfiguration.h:168
pos::PixelCalibConfiguration::nScanPoints
unsigned int nScanPoints(std::string dac) const
Definition: PixelCalibConfiguration.h:109
pos::PixelCalibConfiguration::scanValueMin
double scanValueMin(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:224
crabWrapper.key
key
Definition: crabWrapper.py:19
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
pos::PixelCalibConfiguration::scanValue
unsigned int scanValue(std::string dac, unsigned int state) const
Definition: PixelCalibConfiguration.h:139
pos::PixelCalibConfiguration::old_icols
std::vector< int > old_icols
Definition: PixelCalibConfiguration.h:291
pos::PixelCalibConfiguration::moduleList
const std::set< PixelModuleName > & moduleList() const
Definition: PixelCalibConfiguration.h:164
pos::PixelCalibConfiguration::ROCNumberOnChannelAmongThoseCalibrated
unsigned int ROCNumberOnChannelAmongThoseCalibrated(PixelROCName roc) const
Definition: PixelCalibConfiguration.cc:809
pos::PixelCalibConfiguration::nScanPoints
unsigned int nScanPoints(unsigned int iscan) const
Definition: PixelCalibConfiguration.h:212
pos::PixelCalibConfiguration::parametersList
std::map< std::string, std::string > parametersList() const
Definition: PixelCalibConfiguration.h:180
pos::PixelCalibConfiguration::colCounter
unsigned int colCounter(unsigned int state) const
Definition: PixelCalibConfiguration.cc:844
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23
PixelPortCardConfig.h
This class specifies the settings on the TKPCIFEC and the settings on the portcard.
pos::PixelROCInfo::use_
bool use_
Definition: PixelCalibConfiguration.h:41
pos::PixelCalibConfiguration::usesROCList_
bool usesROCList_
Definition: PixelCalibConfiguration.h:298
pos::PixelCalibConfiguration::writeXMLHeader
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
Definition: PixelCalibConfiguration.cc:1580