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 
29  PixelDelay25Calib(std::vector<std::vector<std::string> > &);
31 
32  virtual void writeASCII(std::string dir="") const;
34  virtual void writeXMLHeader( pos::PixelConfigKey key,
35  int version,
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);
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 &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
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 &quot;pixel configuration data&quot; management.
Base class for pixel calibration procedures.
tuple path
else: Piece not in the list, fine.
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::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
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="")