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
This file contains the base class for "pixel configuration data" management.
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
std::set< std::string > portcardNames_
void writeSettings(std::string portcardName, std::string moduleName)
void writeFiles(std::string tmp)
This class manages data and files used in the Delay25 calibration.
This file contains the base class for "pixel configuration data" management.
Base class for pixel calibration procedures.
~PixelDelay25Calib() override
PixelDelay25Calib(std::string)
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This class implements..
void openFiles(std::string portcardName, std::string moduleName, std::string path="")
std::set< std::string > & portcardList()
void writeASCII(std::string dir="") const override
std::string getStreamedContent(void) const
tmp
align.sh
Definition: createJobs.py:716
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override