Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

ArchScanTxtNames.cpp

Go to the documentation of this file.
00001 #include "ArchScanTxtNames.h"
00002 #include <iostream>
00003 #include <sstream>
00004 //#include "SCTData/ScanType.h"
00005 #include "SctData/ConfigurationVariable.h"
00006 
00007 using namespace std;
00008 
00009 /********************************** ArchScan Methods Definitions ************************/
00010 
00011 
00012 /***********************  Constructor  *************** */
00013 
00014 ArchScanTxtNames::ArchScanTxtNames(): ArchScanNames()  {
00015 
00016   
00017 }
00018   
00019   
00020 ArchScanTxtNames::ArchScanTxtNames(const long runNumber, const string moduleName,  const long scanNumber, const ConfigurationVariable& sVariable, unsigned int cycle): ArchScanNames(runNumber,moduleName, scanNumber, sVariable, cycle)  {
00021 
00022   
00023 }
00024 
00025 
00026 const string ArchScanTxtNames::getAllFilesTxtComment(int commentN) {
00027 
00028   string TxtComment;
00029   char tmp_TxtComment[40];
00030   sprintf(tmp_TxtComment,"FileTxtComment_%i",commentN);
00031   TxtComment = tmp_TxtComment;
00032   return TxtComment;
00033 
00034 }
00035 
00036 
00037 const string ArchScanTxtNames::getRunTxtComment(int commentN) {
00038 
00039   string TxtComment;
00040   char tmp_TxtComment[40];
00041   sprintf(tmp_TxtComment,"RunTxtComment_%i",commentN);
00042   TxtComment = tmp_TxtComment;
00043   return TxtComment;
00044 
00045 }
00046 
00047 const string ArchScanTxtNames::getModuleTxtComment(int commentN) {
00048 
00049   string TxtComment;
00050   char tmp_TxtComment[40];
00051   sprintf(tmp_TxtComment,"ModuleTxtComment_%i",commentN);
00052   TxtComment = tmp_TxtComment;
00053   return TxtComment;
00054 
00055 }
00056 
00057 
00058 const string ArchScanTxtNames::getTestTxtComment(int commentN) {
00059 
00060   string TxtComment;
00061   char tmp_TxtComment[40];
00062   sprintf(tmp_TxtComment,"TestTxtComment_%i",commentN);
00063   TxtComment = tmp_TxtComment;
00064   return TxtComment;
00065 
00066 }
00067 
00068 
00069 const string ArchScanTxtNames::getVariableTxtComment(int commentN) {
00070 
00071   string TxtComment;
00072   char tmp_TxtComment[40];
00073   sprintf(tmp_TxtComment,"VariableTxtComment_%i",commentN);
00074   TxtComment = tmp_TxtComment;
00075   return TxtComment;
00076 
00077 }
00078 
00079 
00080 const string ArchScanTxtNames::getScanNumberTxtComment(int commentN) {
00081 
00082   string TxtComment;
00083   char tmp_TxtComment[40];
00084   sprintf(tmp_TxtComment,"ScanNumberTxtComment_%i",commentN);
00085   TxtComment = tmp_TxtComment;
00086   return TxtComment;
00087 
00088 }
00089 
00090 
00091 const string ArchScanTxtNames::getRODTxtComment(int commentN) {
00092 
00093   string TxtComment;
00094   char tmp_TxtComment[40];
00095   sprintf(tmp_TxtComment,"RODDataTxtComment_%i",commentN);
00096   TxtComment = tmp_TxtComment;
00097   return TxtComment;
00098 
00099 }
00100 
00101 const string ArchScanTxtNames::getFitTxtComment(int commentN) {
00102 
00103   string TxtComment;
00104   char tmp_TxtComment[40];
00105   sprintf(tmp_TxtComment,"FitDataTxtComment_%i",commentN);
00106   TxtComment = tmp_TxtComment;
00107   return TxtComment;
00108 
00109 }
00110 
00111 const string ArchScanTxtNames::getRawTxtComment(int commentN) {
00112 
00113   string TxtComment;
00114   char tmp_TxtComment[40];
00115   sprintf(tmp_TxtComment,"RawDataTxtComment_%i",commentN);
00116   TxtComment = tmp_TxtComment;
00117   return TxtComment;
00118 
00119 }

Generated on Mon Dec 15 19:35:57 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3