Typedefs | |
| typedef std::string | Str |
| typedef std::vector< std::string > | StrVec |
Functions | |
| bool | CheckDir (const char *DirName, bool MakeDir=true) |
| bool | CheckFile (Str FileName, bool TestCreate=false) |
| StrVec | DirFileList (Str DirName="./", Str Suf=".root", bool IncludePath=true, bool IncludeSuf=true, StrVec FList=(StrVec) 0) |
| StrVec | FileFileList (Str FileName, Str Suf=".root", bool IncludePath=true, bool IncludeSuf=true, StrVec FList=(StrVec) 0) |
| short | RunType (Str FileName) |
| Str | RunTypeName (short RType) |
| Str | ParseConfigBlock (RawRunConfigBlock *rrcfgb, Str ParseIt, bool Case=true) |
| void | FileListOut (Str FileName, StrVec FList, bool Append=false) |
| void | FileListOut (Str FileName, Str FStr, bool Append=false) |
Variables | |
| const char | RTTest = 0x10 |
| const char | RTMod = 0x20 |
| const char | RTSpec = 0x40 |
| const char | RTFail = 0x80 |
| const char | RTMask = 0x0F |
| const char | RTPhysics = 0x01 |
| const char | RTCheckOut = 0x02 |
| const char | RTVACalibrate = 0x03 |
| const char | RTVAPedestal = 0x04 |
| const char | RTQieCalibrate = 0x05 |
| const char | RTQieMonitor = 0x06 |
|
|
|
|
|
|
|
||||||||||||
|
Definition at line 36 of file UtilRSM.cxx. References gSystem(), and RSMVer. Referenced by RunFileModule::Config(), FarmListModule::FarmFileOUT(), RateSummary::OpenFile(), and RunSummary::SFileOUT(). 00036 {
00037 RSMVer << "UtilRSM::CheckDir" << endl;
00038
00039 string cwd = gSystem->pwd();
00040
00041 if (gSystem->cd(DirName)) {
00042 gSystem->cd(cwd.c_str());
00043 return true;
00044 }
00045
00046 if (!MakeDir) return false;
00047
00048 gSystem->mkdir(DirName,kTRUE);
00049 if (gSystem->cd(DirName)) {
00050 gSystem->cd(cwd.c_str());
00051 return true;
00052 }
00053
00054 gSystem->cd(cwd.c_str());
00055
00056 return false;
00057 }
|
|
||||||||||||
|
Referenced by main(). |
|
||||||||||||||||||||||||
|
Referenced by main(). |
|
||||||||||||||||||||||||
|
Referenced by main(). |
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Referenced by main(). |
|
||||||||||||||||
|
Referenced by FilterRunType::Ana(). |
|
|
Referenced by main(). |
|
|
Definition at line 297 of file UtilRSM.cxx. Referenced by DbuRunSummary::Commit(), main(), operator<<(), DbuSubRunSummary::Store(), DbuRunSummary::Store(), DbuDaqFileModule::WritePythonFile(), and DbuDaqMonitorModule::WriteSubRunSummaryEntry(). 00297 {
00298 string RTypeName="";
00299
00300 short BaseRType=RType&RTMask;
00301 if(BaseRType==RTPhysics) RTypeName="Physics";
00302 if(BaseRType==RTCheckOut) RTypeName="CheckOut";
00303 if(BaseRType==RTVACalibrate) RTypeName="VACalibrate";
00304 if(BaseRType==RTVAPedestal) RTypeName="VAPedestal";
00305 if(BaseRType==RTQieCalibrate) RTypeName="QieCalibrate";
00306 if(BaseRType==RTQieMonitor) RTypeName="QieMonitor";
00307
00308 if(RType&RTFail) RTypeName="Fail";
00309 if(RTypeName.size()==0) RTypeName="Unknown";
00310
00311 if(RType&RTTest) RTypeName+=".Test";
00312 if(RType&RTMod) RTypeName+=".Modified";
00313 if(RType&RTSpec) RTypeName+=".Special";
00314
00315 return RTypeName;
00316 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1