CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
This file contains the base class for &quot;pixel configuration data&quot; management.
std::set< std::string > portcardNames_
This class manages data and files used in the Delay25 calibration.
This file contains the base class for &quot;pixel configuration data&quot; management.
Base class for pixel calibration procedures.
tuple key
prepare the HTCondor submission files and eventually submit them
void writeFiles(std::string tmp)
This class implements..
std::set< std::string > & portcardList()
std::string getStreamedContent(void) const
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
void writeASCII(std::string dir="") const override
void writeSettings(std::string portcardName, std::string moduleName)
tmp
align.sh
Definition: createJobs.py:716
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
void openFiles(std::string portcardName, std::string moduleName, std::string path="")