CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
26  public:
27 
28  PixelDelay25Calib(std::string);
29  PixelDelay25Calib(std::vector<std::vector<std::string> > &);
31 
32  virtual void writeASCII(std::string dir="") const;
33  void writeXML( pos::PixelConfigKey key, int version, std::string path) const {;}
34  virtual void writeXMLHeader( pos::PixelConfigKey key,
35  int version,
36  std::string path,
37  std::ofstream *out,
38  std::ofstream *out1 = NULL,
39  std::ofstream *out2 = NULL
40  ) const ;
41  virtual void writeXML( std::ofstream *out,
42  std::ofstream *out1 = NULL ,
43  std::ofstream *out2 = NULL ) const ;
44  virtual void writeXMLTrailer( std::ofstream *out,
45  std::ofstream *out1 = NULL,
46  std::ofstream *out2 = NULL
47  ) const ;
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);
62  void writeFiles(std::string tmp);
63  void writeFiles(int currentSDa, int currentRDa, int number);
64  void closeFiles();
65 
66  private:
67 
68  std::set<std::string> portcardNames_;
71  std::ofstream graphout_;
72  std::string graph_;
73 
74  };
75 }
76 /* @} */
77 #endif
This file contains the base class for &quot;pixel configuration data&quot; management.
std::set< std::string > portcardNames_
virtual void writeXMLHeader(pos::PixelConfigKey key, int version, std::string path, std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
#define NULL
Definition: scimark2.h:8
void writeXML(pos::PixelConfigKey key, int version, std::string path) const
list path
Definition: scaleCards.py:51
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.
void writeFiles(std::string tmp)
This class implements..
tuple out
Definition: dbtoconf.py:99
std::set< std::string > & portcardList()
virtual void writeASCII(std::string dir="") const
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
list key
Definition: combine.py:13
void writeSettings(std::string portcardName, std::string moduleName)
dbl *** dir
Definition: mlp_gen.cc:35
virtual void writeXMLTrailer(std::ofstream *out, std::ofstream *out1=NULL, std::ofstream *out2=NULL) const
void openFiles(std::string portcardName, std::string moduleName, std::string path="")