CMS 3D CMS Logo

Public Member Functions | Public Attributes | Private Attributes

TEcnaParPaths Class Reference

#include <TEcnaParPaths.h>

List of all members.

Public Member Functions

void AppendResultsAsciiFilePath (const Text_t *)
void AppendResultsRootFilePath (const Text_t *)
TString BeginningOfResultsAsciiFilePath ()
TString BeginningOfResultsRootFilePath ()
TString CMSSWSlc ()
TString CMSSWSubsystem ()
TString CMSSWVersion ()
void GetCMSSWParameters (const TString)
void GetCMSSWParameters ()
void GetPathForHistoryRunListFiles (const TString)
void GetPathForHistoryRunListFiles ()
void GetPathForResultsAsciiFiles (const TString)
void GetPathForResultsAsciiFiles ()
void GetPathForResultsRootFiles ()
void GetPathForResultsRootFiles (const TString)
TString HistoryRunListFilePath ()
void Init ()
TString PathModulesData ()
TString PathTestSlc ()
TString ResultsAsciiFilePath ()
TString ResultsRootFilePath ()
void SetResultsAsciiFilePath (const TString)
void SetResultsRootFilePath (const TString)
 TEcnaParPaths ()
void TruncateResultsAsciiFilePath (const Int_t &, const Int_t &)
void TruncateResultsRootFilePath (const Int_t &, const Int_t &)
virtual ~TEcnaParPaths ()

Public Attributes

Bool_t fPathForHistoryRunListFiles
Bool_t fPathForResultsAsciiFiles
Bool_t fPathForResultsRootFiles

Private Attributes

Int_t fCdelete
Int_t fCdeleteRoot
TString fCfgCMSSWSlc
TString fCfgCMSSWSubsystem
TString fCfgCMSSWVersion
TString fCfgHistoryRunListFilePath
TString fCfgResultsAsciiFilePath
TString fCfgResultsRootFilePath
Int_t fCnaCommand
Int_t fCnaError
Int_t fCnew
Int_t fCnewRoot
ifstream fFcin_cmssw
ifstream fFcin_lor
ifstream fFcin_ra
ifstream fFcin_rr
TString fFileForCMSSWParameters
TString fFileForHistoryRunListFilePath
TString fFileForResultsAsciiFilePath
TString fFileForResultsRootFilePath
Int_t fgMaxCar
TString fTTBELL

Detailed Description

Definition at line 18 of file TEcnaParPaths.h.


Constructor & Destructor Documentation

TEcnaParPaths::TEcnaParPaths ( )

Definition at line 48 of file TEcnaParPaths.cc.

References GetCMSSWParameters(), GetPathForHistoryRunListFiles(), GetPathForResultsAsciiFiles(), GetPathForResultsRootFiles(), and Init().

{
// Constructor without argument

 // cout << "[Info Management] CLASS: TEcnaParPaths.      CREATE OBJECT: this = " << this << endl;

  Init();

  //............................... Get user's parameters from user's directory
  GetPathForResultsRootFiles();        //  Init the values of fCfgResultsRootFilePath
  GetPathForResultsAsciiFiles();       //  Init the values of fCfgResultsAsciiFilePath
  GetPathForHistoryRunListFiles();     //  Init the values of fCfgHistoryRunListFilePath
  //  GetPathForAnalyzerParametersFiles(); //  Init the values of fCfgAnalyzerParametersFilePath
  GetCMSSWParameters();                //  Init the values of fCfgCMSSWVersion, fCfgCMSSWSubsystem and fCfgCMSSWSlc
}
virtual TEcnaParPaths::~TEcnaParPaths ( ) [virtual]

Member Function Documentation

void TEcnaParPaths::AppendResultsAsciiFilePath ( const Text_t *  t_file_nohome)

Definition at line 586 of file TEcnaParPaths.cc.

References fCfgResultsAsciiFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{fCfgResultsAsciiFilePath.Append(t_file_nohome);}
void TEcnaParPaths::AppendResultsRootFilePath ( const Text_t *  t_file_nohome)

Definition at line 583 of file TEcnaParPaths.cc.

References fCfgResultsRootFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{fCfgResultsRootFilePath.Append(t_file_nohome);}
TString TEcnaParPaths::BeginningOfResultsAsciiFilePath ( )

Definition at line 578 of file TEcnaParPaths.cc.

References fCfgResultsAsciiFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{TString sBegin = "?";
 if( fCfgResultsAsciiFilePath.BeginsWith("$HOME") ){sBegin = "$HOME";}
 return sBegin;}
TString TEcnaParPaths::BeginningOfResultsRootFilePath ( )

Definition at line 573 of file TEcnaParPaths.cc.

References fCfgResultsRootFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{TString sBegin = "?";
 if( fCfgResultsRootFilePath.BeginsWith("$HOME") ){sBegin = "$HOME";}
 return sBegin;}
TString TEcnaParPaths::CMSSWSlc ( )

Definition at line 491 of file TEcnaParPaths.cc.

References fCfgCMSSWSlc.

Referenced by PathTestSlc().

{return fCfgCMSSWSlc;}
TString TEcnaParPaths::CMSSWSubsystem ( )

Definition at line 490 of file TEcnaParPaths.cc.

References fCfgCMSSWSubsystem.

Referenced by PathModulesData(), and TEcnaGui::SubmitOnBatchSystem().

TString TEcnaParPaths::CMSSWVersion ( )

Definition at line 489 of file TEcnaParPaths.cc.

References fCfgCMSSWVersion.

Referenced by PathModulesData(), PathTestSlc(), and TEcnaGui::SubmitOnBatchSystem().

{return fCfgCMSSWVersion;}
void TEcnaParPaths::GetCMSSWParameters ( const TString  argFileName)

Definition at line 402 of file TEcnaParPaths.cc.

References gather_cfg::cout, fCfgCMSSWSlc, fCfgCMSSWSubsystem, fCfgCMSSWVersion, fCnaError, fFcin_cmssw, fFileForCMSSWParameters, fgMaxCar, and fTTBELL.

{
  // Init fCfgCMSSWVersion, fCfgCMSSWSubsystem and fCfgCMSSWSlc
  // and get them from the file named argFileName
  // argFileName = complete name of the file (/afs/cern.ch/...)
  // if string is empty, file name = "ECNA/cmssw_parameters" (located in $HOME user's directory - default - )

  Int_t MaxCar = fgMaxCar;
  fCfgCMSSWVersion.Resize(MaxCar);
  fCfgCMSSWVersion = "?";
  fCfgCMSSWSubsystem.Resize(MaxCar);
  fCfgCMSSWSubsystem = "?";
  fCfgCMSSWSlc.Resize(MaxCar);
  fCfgCMSSWSlc = "?";

  //..... put the name of the ascii file (containing the paths for CNA treatements)
  //      in the string cFileNameForCMSSWParameters and in class attribute fFileForCMSSWParameters

  if ( argFileName == "" )
    {
      string cFileNameForCMSSWParameters = "ECNA/cmssw_parameters";     // config file name
      TString s_file_name = cFileNameForCMSSWParameters.c_str();
      const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
      
      TString s_path_name = gSystem->Getenv("HOME");       // get user's home directory path
      
      fFileForCMSSWParameters = s_path_name;
      fFileForCMSSWParameters.Append('/');
      fFileForCMSSWParameters.Append(t_file_name);
    }
  else
    {
      fFileForCMSSWParameters = argFileName.Data();
    }

  //... Reading of the CMSSW version, subsystem and slc name in the file named fFileForCMSSWParameters.Data()
  //

  fFcin_cmssw.open(fFileForCMSSWParameters.Data());
  if(fFcin_cmssw.fail() == kFALSE)
    {
      fFcin_cmssw.clear();

      string xCMSSWVersionFileP;
      fFcin_cmssw >> xCMSSWVersionFileP;
      fCfgCMSSWVersion = xCMSSWVersionFileP.c_str();

      string xCMSSWSubsystemFileP;
      fFcin_cmssw >> xCMSSWSubsystemFileP;
      fCfgCMSSWSubsystem = xCMSSWSubsystemFileP.c_str();

      string xCMSSWSlcFileP;
      fFcin_cmssw >> xCMSSWSlcFileP;
      fCfgCMSSWSlc = xCMSSWSlcFileP.c_str();

      fFcin_cmssw.close();
    }
  else
    {
      fFcin_cmssw.clear();
      fCnaError++;
      cout << fTTBELL << endl
           << " ************************************************************************************************** " << endl;
      cout << "   !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
           << "     " << fFileForCMSSWParameters.Data() << ": file not found. " << endl << endl
           << "     Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
           << "     and create a file named cmssw_parameters in the subdirectory ECNA." << endl << endl
           << "     The file " << fFileForCMSSWParameters.Data() << " is a configuration file" << endl
           << "     for the CNA and must contain one line with the following syntax:" << endl << endl
           << "        CMSSW_VERSION SUBSYSTEM_NAME TEST_SUBDIRECTORY_NAME" << endl
           << endl << endl
           << "     Example: CMSSW_2_1_19 CalibCalorimetry slc4_ia32_gcc345" << endl << endl
           << " ************************************************************************************************** "
           << fTTBELL << endl;

      fFcin_cmssw.close();
    }
} // ----------- (end of GetCMSSWParameters) --------------------
void TEcnaParPaths::GetCMSSWParameters ( )

Definition at line 397 of file TEcnaParPaths.cc.

Referenced by TEcnaParPaths().

void TEcnaParPaths::GetPathForHistoryRunListFiles ( )

Definition at line 238 of file TEcnaParPaths.cc.

Referenced by TEcnaParPaths().

void TEcnaParPaths::GetPathForHistoryRunListFiles ( const TString  argFileName)

Definition at line 243 of file TEcnaParPaths.cc.

References gather_cfg::cout, fCfgHistoryRunListFilePath, fCnaError, fFcin_lor, fFileForHistoryRunListFilePath, fgMaxCar, fPathForHistoryRunListFiles, and fTTBELL.

{
  // Init fCfgHistoryRunListFilePath and get it from the file named argFileName
  // argFileName = complete name of the file (/afs/cern.ch/...)
  // if string is empty, file name = "ECNA/path_runlist_history_plots" (located in $HOME user's directory - default - )

  Int_t MaxCar = fgMaxCar;
  fCfgHistoryRunListFilePath.Resize(MaxCar);
  fCfgHistoryRunListFilePath          = "?";

  //..... put the name of the ascii file (containing the paths for CNA treatements)
  //      in the string cFileNameForCnaPaths and in class attribute fFileForHistoryRunListFilePath

  if ( argFileName == "" )
    {
      string cFileNameForCnaPaths = "ECNA/path_runlist_history_plots";     // config file name
      TString s_file_name = cFileNameForCnaPaths.c_str();
      const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
      
      TString s_path_name = gSystem->Getenv("HOME");       // get user's home directory path
      
      fFileForHistoryRunListFilePath = s_path_name;
      fFileForHistoryRunListFilePath.Append('/');
      fFileForHistoryRunListFilePath.Append(t_file_name);
    }
  else
    {
      fFileForHistoryRunListFilePath = argFileName.Data();
    }

  //........ Reading of the paths in the file named fFileForHistoryRunListFilePath.Data()
  //

  fFcin_lor.open(fFileForHistoryRunListFilePath.Data());
  if(fFcin_lor.fail() == kFALSE)
    {
      fFcin_lor.clear();
      string xHistoryRunListP;
      fFcin_lor >> xHistoryRunListP;
      fCfgHistoryRunListFilePath = xHistoryRunListP.c_str();
      fFcin_lor.close();
      fPathForHistoryRunListFiles = kTRUE;
    }
  else
    {
      fFcin_lor.clear();
      fCnaError++;
      cout << fTTBELL << endl
           << " ******************************************************************************************************** " << endl;
      cout << "   !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
           << "     " << fFileForHistoryRunListFilePath.Data() << ": file not found. " << endl << endl
           << "     Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
           << "     and create a file named path_runlist_history_plots in the subdirectory ECNA." << endl << endl
           << "     The file " << fFileForHistoryRunListFilePath.Data() << " is a configuration file" << endl
           << "     for the CNA and must contain one line with the following syntax:" << endl << endl
           << "        PATH_OF_THE_LIST_OF_RUNS_FOR_HISTORY_PLOTS_FILE ($HOME/etc...) (without slash at the end of line)" << endl
           << "                                                                        ================================"
           << endl << endl
           << "     Example: $HOME/scratch0/cna/runlist_history_plots" << endl << endl
           << " ******************************************************************************************************** "
           << fTTBELL << endl;

      fFcin_lor.close();
      fPathForHistoryRunListFiles = kFALSE;
    }
} // ----------- (end of GetPathForHistoryRunListFiles) --------------------
void TEcnaParPaths::GetPathForResultsAsciiFiles ( )

Definition at line 164 of file TEcnaParPaths.cc.

Referenced by TEcnaParPaths().

void TEcnaParPaths::GetPathForResultsAsciiFiles ( const TString  argFileName)

Definition at line 169 of file TEcnaParPaths.cc.

References gather_cfg::cout, fCfgResultsAsciiFilePath, fCnaError, fFcin_ra, fFileForResultsAsciiFilePath, fgMaxCar, fPathForResultsAsciiFiles, and fTTBELL.

{
  // Init fCfgResultsAsciiFilePath and get it from the file named argFileName
  // argFileName = complete name of the file (/afs/cern.ch/...)
  // if string is empty, file name = "ECNA/path_results_ascii" (located in $HOME user's directory - default - )

  Int_t MaxCar = fgMaxCar;
  fCfgResultsAsciiFilePath.Resize(MaxCar);
  fCfgResultsAsciiFilePath = "?";

  //..... put the name of the ascii file (containing the paths for CNA treatements)
  //      in the string cFileNameForCnaPaths and in class attribute fFileForResultsAsciiFilePath

  if ( argFileName == "" )
    {
      string cFileNameForCnaPaths = "ECNA/path_results_ascii";     // config file name
      TString s_file_name = cFileNameForCnaPaths.c_str();
      const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
      
      TString s_path_name = gSystem->Getenv("HOME");       // get user's home directory path
      
      fFileForResultsAsciiFilePath = s_path_name;
      fFileForResultsAsciiFilePath.Append('/');
      fFileForResultsAsciiFilePath.Append(t_file_name);
    }
  else
    {
      fFileForResultsAsciiFilePath = argFileName.Data();
    }

  //........ Reading of the paths in the file named fFileForResultsAsciiFilePath.Data()
  //

  fFcin_ra.open(fFileForResultsAsciiFilePath.Data());
  if(fFcin_ra.fail() == kFALSE)
    {
      fFcin_ra.clear();
      string xResultsFileP;
      fFcin_ra >> xResultsFileP;
      fCfgResultsAsciiFilePath = xResultsFileP.c_str();
      fFcin_ra.close();
      fPathForResultsAsciiFiles = kTRUE;
    }
  else
    {
      fFcin_ra.clear();
      fCnaError++;
      cout << fTTBELL << endl
           << " ***************************************************************************************** " << endl;
      cout << "   !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
           << "     " << fFileForResultsAsciiFilePath.Data() << ": file not found. " << endl << endl
           << "     Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
           << "     and create a file named path_results_ascii in the subdirectory ECNA." << endl << endl
           << "     The file " << fFileForResultsAsciiFilePath.Data() << " is a configuration file" << endl
           << "     for the CNA and must contain one line with the following syntax:" << endl << endl
           << "        PATH_OF_THE_RESULTS_ASCII_FILE ($HOME/etc...) (without slash at the end of line)" << endl
           << "                                                       ================================"
           << endl << endl
           << "     Example: $HOME/scratch0/cna/results_ascii" << endl << endl
           << " ***************************************************************************************** "
           << fTTBELL << endl;

      fFcin_ra.close();
      fPathForResultsAsciiFiles = kFALSE;
    }
} // ----------- (end of GetPathForResultsAsciiFiles) --------------------
void TEcnaParPaths::GetPathForResultsRootFiles ( const TString  argFileName)

Definition at line 95 of file TEcnaParPaths.cc.

References gather_cfg::cout, fCfgResultsRootFilePath, fCnaError, fFcin_rr, fFileForResultsRootFilePath, fgMaxCar, fPathForResultsRootFiles, and fTTBELL.

{
  // Init fCfgResultsRootFilePath and get it from the file named argFileName
  // argFileName = complete name of the file (/afs/cern.ch/...)
  // if string is empty, file name = "ECNA/path_results_root" (located in $HOME user's directory - default - )

  Int_t MaxCar = fgMaxCar;
  fCfgResultsRootFilePath.Resize(MaxCar);
  fCfgResultsRootFilePath = "?";

  //..... put the name of the ascii file (containing the paths for CNA treatements)
  //      in the string cFileNameForCnaPaths and in class attribute fFileForResultsRootFilePath

  if ( argFileName == "" )
    {
      string cFileNameForCnaPaths = "ECNA/path_results_root";     // config file name
      TString s_file_name = cFileNameForCnaPaths.c_str();
      const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
      
      TString s_path_name = gSystem->Getenv("HOME");       // get user's home directory path
      
      fFileForResultsRootFilePath = s_path_name;
      fFileForResultsRootFilePath.Append('/');
      fFileForResultsRootFilePath.Append(t_file_name);
    }
  else
    {
      fFileForResultsRootFilePath = argFileName.Data();
    }

  //........ Reading of the paths in the file named fFileForResultsRootFilePath.Data()
  //

  fFcin_rr.open(fFileForResultsRootFilePath.Data());
  if(fFcin_rr.fail() == kFALSE)
    {
      fFcin_rr.clear();
      string xResultsFileP;
      fFcin_rr >> xResultsFileP;
      fCfgResultsRootFilePath = xResultsFileP.c_str();
      fFcin_rr.close();
      fPathForResultsRootFiles = kTRUE;
    }
  else
    {
      fFcin_rr.clear();
      fCnaError++;
      cout << fTTBELL << endl
           << " ***************************************************************************************** " << endl;
      cout << "   !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
           << "     " << fFileForResultsRootFilePath.Data() << ": file not found. " << endl << endl
           << "     Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
           << "     and create a file named path_results_root in the subdirectory ECNA." << endl << endl
           << "     The file " << fFileForResultsRootFilePath.Data() << " is a configuration file" << endl
           << "     for the CNA and must contain one line with the following syntax:" << endl << endl
           << "        PATH_OF_THE_RESULTS_ROOT_FILE ($HOME/etc...) (without slash at the end of line)" << endl
           << "                                                      ================================"
           << endl << endl
           << "     Example: $HOME/scratch0/cna/results_root" << endl << endl
           << " ***************************************************************************************** "
           << fTTBELL << endl;

      fFcin_rr.close();
      fPathForResultsRootFiles = kFALSE;
    }
} // ----------- (end of GetPathForResultsRootFiles) --------------------
void TEcnaParPaths::GetPathForResultsRootFiles ( )

Definition at line 90 of file TEcnaParPaths.cc.

Referenced by TEcnaParPaths().

TString TEcnaParPaths::HistoryRunListFilePath ( )

Definition at line 488 of file TEcnaParPaths.cc.

References fCfgHistoryRunListFilePath.

Referenced by TEcnaHistos::TEcnaHistos().

void TEcnaParPaths::Init ( void  )

Definition at line 64 of file TEcnaParPaths.cc.

References fCnaCommand, fCnaError, fgMaxCar, fPathForHistoryRunListFiles, fPathForResultsAsciiFiles, fPathForResultsRootFiles, and fTTBELL.

Referenced by TEcnaParPaths().

{
  fgMaxCar = (Int_t)512;              // max number of characters in TStrings

  fTTBELL = '\007';

  //................ Init CNA Command and error numbering
  fCnaCommand = 0;
  fCnaError   = 0;

  //................ Init path flags

  fPathForResultsRootFiles    = kFALSE;
  fPathForResultsAsciiFiles   = kFALSE;
  fPathForHistoryRunListFiles = kFALSE;

}// end of Init()
TString TEcnaParPaths::PathModulesData ( )

Definition at line 494 of file TEcnaParPaths.cc.

References CMSSWSubsystem(), and CMSSWVersion().

Referenced by TEcnaGui::CleanBatchFiles(), and TEcnaGui::SubmitOnBatchSystem().

{
  // ----- return the path of data subdirectory in package "Modules"
  TString ModulesdataPath = "";
  //...... get HOME directory path, CMSSW version and Subsystem name   
  TString s_path_name = gSystem->Getenv("HOME");
  const Text_t *t_path_name = (const Text_t *)s_path_name.Data();
  ModulesdataPath.Append(t_path_name);
  ModulesdataPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/

  TString s_cmssw = "cmssw";  
  const Text_t *t_cmssw = (const Text_t *)s_cmssw.Data();
  ModulesdataPath.Append(t_cmssw);  
  ModulesdataPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/
      
  const Text_t *t_cmssw_version = (const Text_t *)CMSSWVersion().Data();
  ModulesdataPath.Append(t_cmssw_version);
  ModulesdataPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/

  TString s_src = "src";
  const Text_t *t_src = (const Text_t *)s_src.Data();
  ModulesdataPath.Append(t_src);
  ModulesdataPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/src
      
  const Text_t *t_cmssw_subsystem = (const Text_t *)CMSSWSubsystem().Data();
  ModulesdataPath.Append(t_cmssw_subsystem);
  ModulesdataPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/src/CalibCalorimetry/

  TString s_package_data_path = "EcalCorrelatedNoiseAnalysisModules/data";
  const Text_t *t_package_data_path = (const Text_t *)s_package_data_path.Data();
  ModulesdataPath.Append(t_package_data_path);
  ModulesdataPath.Append('/');
  // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/src/CalibCalorimetry/EcalCorrelatedNoiseAnalysisModules/data/

  return ModulesdataPath;
}
TString TEcnaParPaths::PathTestSlc ( )

Definition at line 531 of file TEcnaParPaths.cc.

References CMSSWSlc(), and CMSSWVersion().

Referenced by TEcnaGui::CleanBatchFiles().

{
  // ----- return the path of test/slc... subdirectory in CMSSW_X_Y_Z
  TString TestslcPath = "";
  //...... get HOME directory path, CMSSW version and Subsystem name   
  TString s_path_name = gSystem->Getenv("HOME");
  const Text_t *t_path_name = (const Text_t *)s_path_name.Data();
  TestslcPath.Append(t_path_name);
  TestslcPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/

  TString s_cmssw = "cmssw";  
  const Text_t *t_cmssw = (const Text_t *)s_cmssw.Data();
  TestslcPath.Append(t_cmssw);  
  TestslcPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/
      
  const Text_t *t_cmssw_version = (const Text_t *)CMSSWVersion().Data();
  TestslcPath.Append(t_cmssw_version);
  TestslcPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/

  TString s_test = "test";
  const Text_t *t_test = (const Text_t *)s_test.Data();
  TestslcPath.Append(t_test);
  TestslcPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/test
      
  const Text_t *t_cmssw_subsystem = (const Text_t *)CMSSWSlc().Data();
  TestslcPath.Append(t_cmssw_subsystem);
  TestslcPath.Append('/');               //  /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/test/slc4_ia32_gcc345/

  return TestslcPath;
}
TString TEcnaParPaths::ResultsAsciiFilePath ( )

Definition at line 487 of file TEcnaParPaths.cc.

References fCfgResultsAsciiFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

TString TEcnaParPaths::ResultsRootFilePath ( )
void TEcnaParPaths::SetResultsAsciiFilePath ( const TString  ImposedPath)

Definition at line 565 of file TEcnaParPaths.cc.

References fCfgResultsAsciiFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{fCfgResultsAsciiFilePath = ImposedPath;}
void TEcnaParPaths::SetResultsRootFilePath ( const TString  ImposedPath)

Definition at line 564 of file TEcnaParPaths.cc.

References fCfgResultsRootFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{fCfgResultsRootFilePath  = ImposedPath;}
void TEcnaParPaths::TruncateResultsAsciiFilePath ( const Int_t &  n1,
const Int_t &  nbcar 
)

Definition at line 570 of file TEcnaParPaths.cc.

References fCfgResultsAsciiFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{fCfgResultsAsciiFilePath.Remove(n1,nbcar);}
void TEcnaParPaths::TruncateResultsRootFilePath ( const Int_t &  n1,
const Int_t &  nbcar 
)

Definition at line 567 of file TEcnaParPaths.cc.

References fCfgResultsRootFilePath.

Referenced by TEcnaWrite::fMakeResultsFileName().

{fCfgResultsRootFilePath.Remove(n1,nbcar);}

Member Data Documentation

Int_t TEcnaParPaths::fCdelete [private]

Definition at line 26 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCdeleteRoot [private]

Definition at line 27 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgCMSSWSlc [private]

Definition at line 54 of file TEcnaParPaths.h.

Referenced by CMSSWSlc(), and GetCMSSWParameters().

Definition at line 53 of file TEcnaParPaths.h.

Referenced by CMSSWSubsystem(), and GetCMSSWParameters().

Definition at line 52 of file TEcnaParPaths.h.

Referenced by CMSSWVersion(), and GetCMSSWParameters().

Definition at line 46 of file TEcnaParPaths.h.

Referenced by GetPathForHistoryRunListFiles(), and HistoryRunListFilePath().

Int_t TEcnaParPaths::fCnaCommand [private]

Definition at line 31 of file TEcnaParPaths.h.

Referenced by Init().

Int_t TEcnaParPaths::fCnaError [private]
Int_t TEcnaParPaths::fCnew [private]

Definition at line 26 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCnewRoot [private]

Definition at line 27 of file TEcnaParPaths.h.

ifstream TEcnaParPaths::fFcin_cmssw [private]

Definition at line 38 of file TEcnaParPaths.h.

Referenced by GetCMSSWParameters().

ifstream TEcnaParPaths::fFcin_lor [private]

Definition at line 36 of file TEcnaParPaths.h.

Referenced by GetPathForHistoryRunListFiles().

ifstream TEcnaParPaths::fFcin_ra [private]

Definition at line 35 of file TEcnaParPaths.h.

Referenced by GetPathForResultsAsciiFiles().

ifstream TEcnaParPaths::fFcin_rr [private]

Definition at line 34 of file TEcnaParPaths.h.

Referenced by GetPathForResultsRootFiles().

Definition at line 55 of file TEcnaParPaths.h.

Referenced by GetCMSSWParameters().

Definition at line 47 of file TEcnaParPaths.h.

Referenced by GetPathForHistoryRunListFiles().

Definition at line 44 of file TEcnaParPaths.h.

Referenced by GetPathForResultsAsciiFiles().

Definition at line 41 of file TEcnaParPaths.h.

Referenced by GetPathForResultsRootFiles().

Int_t TEcnaParPaths::fgMaxCar [private]

Definition at line 63 of file TEcnaParPaths.h.

Referenced by GetPathForHistoryRunListFiles(), and Init().

Definition at line 62 of file TEcnaParPaths.h.

Referenced by GetPathForResultsAsciiFiles(), and Init().

Definition at line 61 of file TEcnaParPaths.h.

Referenced by GetPathForResultsRootFiles(), and Init().

TString TEcnaParPaths::fTTBELL [private]