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 
26  public:
27 
29  PixelDelay25Calib(std::vector<std::vector<std::string> > &);
30  ~PixelDelay25Calib() override;
31 
32  void writeASCII(std::string dir="") const override;
33  void writeXML( pos::PixelConfigKey key, int version, std::string path) const override {;}
35  int version,
37  std::ofstream *out,
38  std::ofstream *out1 = nullptr,
39  std::ofstream *out2 = nullptr
40  ) const override;
41  void writeXML( std::ofstream *out,
42  std::ofstream *out1 = nullptr ,
43  std::ofstream *out2 = nullptr ) const override;
44  void writeXMLTrailer( std::ofstream *out,
45  std::ofstream *out1 = nullptr,
46  std::ofstream *out2 = nullptr
47  ) const override;
48 
49  std::set<std::string>& portcardList() {return portcardNames_;}
50  bool allPortcards() {return allPortcards_;}
51  bool allModules() {return allModules_;}
52  int getGridSize() {return gridSize_;}
53  int getGridSteps() {return gridSteps_;}
54  int getNumberTests() {return numTests_;}
55  int getRange() {return range_;}
56  int getOrigSDa() {return origSDa_;}
57  int getOrigRDa() {return origRDa_;}
58  int getCommands() {return commands_;}
59  void openFiles(std::string portcardName, std::string moduleName,
60  std::string path="");
61  void writeSettings(std::string portcardName, std::string moduleName);
63  void writeFiles(int currentSDa, int currentRDa, int number);
64  void closeFiles();
65 
66  // Added by Dario April 28th, 2010
68 
69  private:
70 
71  std::set<std::string> portcardNames_;
74  std::ofstream graphout_;
76 
77  // Added by Dario April 28th, 2010
79  };
80 }
81 /* @} */
82 #endif
This file contains the base class for "pixel configuration data" management.
std::set< std::string > portcardNames_
std::string moduleName(Provenance const &provenance)
Definition: Provenance.cc:27
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.
void writeASCII(std::string dir="") const override
void writeXML(pos::PixelConfigKey key, int version, std::string path) const override
void writeFiles(std::string tmp)
This class implements..
void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
std::set< std::string > & portcardList()
std::string getStreamedContent(void) const
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
void writeSettings(std::string portcardName, std::string moduleName)
dbl *** dir
Definition: mlp_gen.cc:35
void openFiles(std::string portcardName, std::string moduleName, std::string path="")