CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pos::PixelDelay25Calib Class Reference

This class manages data and files used in the Delay25 calibration. More...

#include <PixelDelay25Calib.h>

Inheritance diagram for pos::PixelDelay25Calib:
pos::PixelCalibBase pos::PixelConfigBase

Public Member Functions

bool allModules ()
 
bool allPortcards ()
 
void closeFiles ()
 
int getCommands ()
 
int getGridSize ()
 
int getGridSteps ()
 
int getNumberTests ()
 
int getOrigRDa ()
 
int getOrigSDa ()
 
int getRange ()
 
std::string getStreamedContent (void) const
 
void openFiles (std::string portcardName, std::string moduleName, std::string path="")
 
 PixelDelay25Calib (std::string)
 
 PixelDelay25Calib (std::vector< std::vector< std::string > > &)
 
std::set< std::string > & portcardList ()
 
void writeASCII (std::string dir="") const override
 
void writeFiles (std::string tmp)
 
void writeFiles (int currentSDa, int currentRDa, int number)
 
void writeSettings (std::string portcardName, std::string moduleName)
 
void writeXML (pos::PixelConfigKey key, int version, std::string path) const override
 
void writeXML (std::ofstream *out, std::ofstream *out1=nullptr, std::ofstream *out2=nullptr) const override
 
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
 
 ~PixelDelay25Calib () override
 
- Public Member Functions inherited from pos::PixelCalibBase
virtual std::string mode () const
 
 PixelCalibBase ()
 
virtual ~PixelCalibBase ()
 
- Public Member Functions inherited from pos::PixelConfigBase
std::string creator ()
 
std::string date ()
 
std::string description ()
 
std::string getAuthor () const
 
std::string getComment () const
 
 PixelConfigBase (std::string description, std::string creator, std::string date)
 
void setAuthor (std::string author)
 
void setComment (std::string comment)
 
virtual void writeXML (std::ofstream *out) const
 
virtual void writeXMLHeader (pos::PixelConfigKey key, int version, std::string path, std::ofstream *out) const
 
virtual void writeXMLTrailer (std::ofstream *out) const
 
virtual ~PixelConfigBase ()
 

Private Attributes

bool allModules_
 
bool allPortcards_
 
std::string calibFileContent_
 
int commands_
 
std::string graph_
 
std::ofstream graphout_
 
int gridSize_
 
int gridSteps_
 
int numTests_
 
int origRDa_
 
int origSDa_
 
std::set< std::string > portcardNames_
 
int range_
 

Additional Inherited Members

- Protected Attributes inherited from pos::PixelCalibBase
std::string mode_
 

Detailed Description

This class manages data and files used in the Delay25 calibration.

" "

Definition at line 24 of file PixelDelay25Calib.h.

Constructor & Destructor Documentation

◆ PixelDelay25Calib() [1/2]

pos::PixelDelay25Calib::PixelDelay25Calib ( std::string  )

◆ PixelDelay25Calib() [2/2]

pos::PixelDelay25Calib::PixelDelay25Calib ( std::vector< std::vector< std::string > > &  )

◆ ~PixelDelay25Calib()

pos::PixelDelay25Calib::~PixelDelay25Calib ( )
override

Member Function Documentation

◆ allModules()

bool pos::PixelDelay25Calib::allModules ( )
inline

Definition at line 45 of file PixelDelay25Calib.h.

References allModules_.

45 { return allModules_; }

◆ allPortcards()

bool pos::PixelDelay25Calib::allPortcards ( )
inline

Definition at line 44 of file PixelDelay25Calib.h.

References allPortcards_.

44 { return allPortcards_; }

◆ closeFiles()

void pos::PixelDelay25Calib::closeFiles ( )

◆ getCommands()

int pos::PixelDelay25Calib::getCommands ( )
inline

Definition at line 52 of file PixelDelay25Calib.h.

References commands_.

52 { return commands_; }

◆ getGridSize()

int pos::PixelDelay25Calib::getGridSize ( )
inline

Definition at line 46 of file PixelDelay25Calib.h.

References gridSize_.

46 { return gridSize_; }

◆ getGridSteps()

int pos::PixelDelay25Calib::getGridSteps ( )
inline

Definition at line 47 of file PixelDelay25Calib.h.

References gridSteps_.

47 { return gridSteps_; }

◆ getNumberTests()

int pos::PixelDelay25Calib::getNumberTests ( )
inline

Definition at line 48 of file PixelDelay25Calib.h.

References numTests_.

48 { return numTests_; }

◆ getOrigRDa()

int pos::PixelDelay25Calib::getOrigRDa ( )
inline

Definition at line 51 of file PixelDelay25Calib.h.

References origRDa_.

51 { return origRDa_; }

◆ getOrigSDa()

int pos::PixelDelay25Calib::getOrigSDa ( )
inline

Definition at line 50 of file PixelDelay25Calib.h.

References origSDa_.

50 { return origSDa_; }

◆ getRange()

int pos::PixelDelay25Calib::getRange ( )
inline

Definition at line 49 of file PixelDelay25Calib.h.

References range_.

49 { return range_; }

◆ getStreamedContent()

std::string pos::PixelDelay25Calib::getStreamedContent ( void  ) const
inline

Definition at line 60 of file PixelDelay25Calib.h.

60 { return calibFileContent_; };

◆ openFiles()

void pos::PixelDelay25Calib::openFiles ( std::string  portcardName,
std::string  moduleName,
std::string  path = "" 
)

◆ portcardList()

std::set<std::string>& pos::PixelDelay25Calib::portcardList ( )
inline

Definition at line 43 of file PixelDelay25Calib.h.

References portcardNames_.

43 { return portcardNames_; }
std::set< std::string > portcardNames_

◆ writeASCII()

void pos::PixelDelay25Calib::writeASCII ( std::string  dir = "") const
overridevirtual

Implements pos::PixelConfigBase.

◆ writeFiles() [1/2]

void pos::PixelDelay25Calib::writeFiles ( std::string  tmp)

◆ writeFiles() [2/2]

void pos::PixelDelay25Calib::writeFiles ( int  currentSDa,
int  currentRDa,
int  number 
)

◆ writeSettings()

void pos::PixelDelay25Calib::writeSettings ( std::string  portcardName,
std::string  moduleName 
)

◆ writeXML() [1/2]

void pos::PixelDelay25Calib::writeXML ( pos::PixelConfigKey  key,
int  version,
std::string  path 
) const
inlineoverridevirtual

Reimplemented from pos::PixelConfigBase.

Definition at line 31 of file PixelDelay25Calib.h.

31 { ; }

◆ writeXML() [2/2]

void pos::PixelDelay25Calib::writeXML ( std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
overridevirtual

Reimplemented from pos::PixelCalibBase.

◆ writeXMLHeader()

void pos::PixelDelay25Calib::writeXMLHeader ( pos::PixelConfigKey  key,
int  version,
std::string  path,
std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
overridevirtual

Reimplemented from pos::PixelCalibBase.

◆ writeXMLTrailer()

void pos::PixelDelay25Calib::writeXMLTrailer ( std::ofstream *  out,
std::ofstream *  out1 = nullptr,
std::ofstream *  out2 = nullptr 
) const
overridevirtual

Reimplemented from pos::PixelCalibBase.

Member Data Documentation

◆ allModules_

bool pos::PixelDelay25Calib::allModules_
private

Definition at line 64 of file PixelDelay25Calib.h.

Referenced by allModules().

◆ allPortcards_

bool pos::PixelDelay25Calib::allPortcards_
private

Definition at line 64 of file PixelDelay25Calib.h.

Referenced by allPortcards().

◆ calibFileContent_

std::string pos::PixelDelay25Calib::calibFileContent_
private

Definition at line 70 of file PixelDelay25Calib.h.

◆ commands_

int pos::PixelDelay25Calib::commands_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getCommands().

◆ graph_

std::string pos::PixelDelay25Calib::graph_
private

Definition at line 67 of file PixelDelay25Calib.h.

◆ graphout_

std::ofstream pos::PixelDelay25Calib::graphout_
private

Definition at line 66 of file PixelDelay25Calib.h.

◆ gridSize_

int pos::PixelDelay25Calib::gridSize_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getGridSize().

◆ gridSteps_

int pos::PixelDelay25Calib::gridSteps_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getGridSteps().

◆ numTests_

int pos::PixelDelay25Calib::numTests_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getNumberTests().

◆ origRDa_

int pos::PixelDelay25Calib::origRDa_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getOrigRDa().

◆ origSDa_

int pos::PixelDelay25Calib::origSDa_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getOrigSDa().

◆ portcardNames_

std::set<std::string> pos::PixelDelay25Calib::portcardNames_
private

Definition at line 60 of file PixelDelay25Calib.h.

Referenced by portcardList().

◆ range_

int pos::PixelDelay25Calib::range_
private

Definition at line 65 of file PixelDelay25Calib.h.

Referenced by getRange().