CMS 3D CMS Logo

PixelDelay25Calib.h
Go to the documentation of this file.
1 #ifndef PixelDELAY25CALIB_h
2 #define PixelDELAY25CALIB_h
3 
9 #include <vector>
10 #include <string>
11 #include <set>
12 #include <fstream>
15 
16 namespace pos {
25  public:
27  PixelDelay25Calib(std::vector<std::vector<std::string> > &);
28  ~PixelDelay25Calib() override;
29 
30  void writeASCII(std::string dir = "") const override;
31  void writeXML(pos::PixelConfigKey key, int version, std::string path) const override { ; }
33  int version,
35  std::ofstream *out,
36  std::ofstream *out1 = nullptr,
37  std::ofstream *out2 = nullptr) const override;
38  void writeXML(std::ofstream *out, std::ofstream *out1 = nullptr, std::ofstream *out2 = nullptr) const override;
39  void writeXMLTrailer(std::ofstream *out,
40  std::ofstream *out1 = nullptr,
41  std::ofstream *out2 = nullptr) const override;
42 
43  std::set<std::string> &portcardList() { return portcardNames_; }
44  bool allPortcards() { return allPortcards_; }
45  bool allModules() { return allModules_; }
46  int getGridSize() { return gridSize_; }
47  int getGridSteps() { return gridSteps_; }
48  int getNumberTests() { return numTests_; }
49  int getRange() { return range_; }
50  int getOrigSDa() { return origSDa_; }
51  int getOrigRDa() { return origRDa_; }
52  int getCommands() { return commands_; }
53  void openFiles(std::string portcardName, std::string moduleName, std::string path = "");
54  void writeSettings(std::string portcardName, std::string moduleName);
56  void writeFiles(int currentSDa, int currentRDa, int number);
57  void closeFiles();
58 
59  // Added by Dario April 28th, 2010
61 
62  private:
63  std::set<std::string> portcardNames_;
66  std::ofstream graphout_;
68 
69  // Added by Dario April 28th, 2010
71  };
72 } // namespace pos
73 /* @} */
74 #endif
pos::PixelCalibBase
Definition: PixelCalibBase.h:23
pos::PixelDelay25Calib::portcardList
std::set< std::string > & portcardList()
Definition: PixelDelay25Calib.h:43
pos::PixelDelay25Calib::graph_
std::string graph_
Definition: PixelDelay25Calib.h:67
pos::PixelDelay25Calib::getGridSize
int getGridSize()
Definition: PixelDelay25Calib.h:46
pos
Definition: PixelAliasList.h:18
pos::PixelDelay25Calib::allPortcards_
bool allPortcards_
Definition: PixelDelay25Calib.h:64
pos::PixelDelay25Calib::portcardNames_
std::set< std::string > portcardNames_
Definition: PixelDelay25Calib.h:60
pos::PixelConfigBase
This file contains the base class for "pixel configuration data" management.
Definition: PixelConfigBase.h:32
pos::PixelDelay25Calib::writeSettings
void writeSettings(std::string portcardName, std::string moduleName)
pos::PixelDelay25Calib::graphout_
std::ofstream graphout_
Definition: PixelDelay25Calib.h:66
createJobs.tmp
tmp
align.sh
Definition: createJobs.py:716
pos::PixelDelay25Calib::getStreamedContent
std::string getStreamedContent(void) const
Definition: PixelDelay25Calib.h:60
pos::PixelDelay25Calib::allPortcards
bool allPortcards()
Definition: PixelDelay25Calib.h:44
pos::PixelDelay25Calib::range_
int range_
Definition: PixelDelay25Calib.h:65
pos::PixelDelay25Calib::closeFiles
void closeFiles()
contentValuesFiles.number
number
Definition: contentValuesFiles.py:53
pos::PixelDelay25Calib::PixelDelay25Calib
PixelDelay25Calib(std::string)
PixelCalibBase.h
Base class for pixel calibration procedures.
pos::PixelDelay25Calib::gridSize_
int gridSize_
Definition: PixelDelay25Calib.h:65
pos::PixelDelay25Calib::calibFileContent_
std::string calibFileContent_
Definition: PixelDelay25Calib.h:70
pos::PixelDelay25Calib::allModules
bool allModules()
Definition: PixelDelay25Calib.h:45
PixelConfigBase.h
This file contains the base class for "pixel configuration data" management.
pos::PixelDelay25Calib::writeXML
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
Definition: PixelDelay25Calib.h:31
pos::PixelDelay25Calib::numTests_
int numTests_
Definition: PixelDelay25Calib.h:65
pos::PixelDelay25Calib::allModules_
bool allModules_
Definition: PixelDelay25Calib.h:64
pos::PixelDelay25Calib
This class manages data and files used in the Delay25 calibration.
Definition: PixelDelay25Calib.h:24
pos::PixelDelay25Calib::origSDa_
int origSDa_
Definition: PixelDelay25Calib.h:65
pos::PixelConfigKey
This class implements..
Definition: PixelConfigKey.h:20
EcalCalibMonitorClient_cfi.moduleName
moduleName
Definition: EcalCalibMonitorClient_cfi.py:17
pos::PixelDelay25Calib::writeXMLHeader
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
pos::PixelDelay25Calib::getCommands
int getCommands()
Definition: PixelDelay25Calib.h:52
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
pos::PixelDelay25Calib::~PixelDelay25Calib
~PixelDelay25Calib() override
pos::PixelDelay25Calib::commands_
int commands_
Definition: PixelDelay25Calib.h:65
pos::PixelDelay25Calib::getOrigSDa
int getOrigSDa()
Definition: PixelDelay25Calib.h:50
pos::PixelDelay25Calib::gridSteps_
int gridSteps_
Definition: PixelDelay25Calib.h:65
pos::PixelDelay25Calib::getGridSteps
int getGridSteps()
Definition: PixelDelay25Calib.h:47
PointingDoubleMultiSkim_cfg.out2
out2
Definition: PointingDoubleMultiSkim_cfg.py:85
pos::PixelDelay25Calib::writeFiles
void writeFiles(std::string tmp)
pos::PixelDelay25Calib::getRange
int getRange()
Definition: PixelDelay25Calib.h:49
PointingDoubleMultiSkim_cfg.out1
out1
Definition: PointingDoubleMultiSkim_cfg.py:57
pos::PixelDelay25Calib::getOrigRDa
int getOrigRDa()
Definition: PixelDelay25Calib.h:51
pos::PixelDelay25Calib::getNumberTests
int getNumberTests()
Definition: PixelDelay25Calib.h:48
pos::PixelDelay25Calib::openFiles
void openFiles(std::string portcardName, std::string moduleName, std::string path="")
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::PixelDelay25Calib::origRDa_
int origRDa_
Definition: PixelDelay25Calib.h:65
pos::PixelDelay25Calib::writeASCII
void writeASCII(std::string dir="") const override
crabWrapper.key
key
Definition: crabWrapper.py:19
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
pos::PixelDelay25Calib::writeXMLTrailer
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23