CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
TEcnaParPaths Class Reference

#include <TEcnaParPaths.h>

Inheritance diagram for TEcnaParPaths:

Public Member Functions

void AppendResultsAsciiFilePath (const Text_t *)
 
void AppendResultsRootFilePath (const Text_t *)
 
TString BeginningOfResultsAsciiFilePath ()
 
TString BeginningOfResultsRootFilePath ()
 
TString CMSSWBase ()
 
TString CMSSWSubsystem ()
 
void GetCMSSWParameters ()
 
Bool_t GetPathForHistoryRunListFiles ()
 
Bool_t GetPathForHistoryRunListFiles (const TString &)
 
Bool_t GetPathForResultsAsciiFiles ()
 
Bool_t GetPathForResultsAsciiFiles (const TString &)
 
Bool_t GetPathForResultsRootFiles ()
 
Bool_t GetPathForResultsRootFiles (const TString &)
 
Bool_t GetPaths ()
 
TString HistoryRunListFilePath ()
 
void Init ()
 
TString PathModulesData ()
 
TString PathTestScramArch ()
 
TString ResultsAsciiFilePath ()
 
TString ResultsRootFilePath ()
 
TString SCRAMArch ()
 
void SetHistoryRunListFilePath (const TString &)
 
void SetResultsAsciiFilePath (const TString &)
 
void SetResultsRootFilePath (const TString &)
 
 TEcnaParPaths ()
 
 TEcnaParPaths (TEcnaObject *)
 
void TruncateResultsAsciiFilePath (const Int_t &, const Int_t &)
 
void TruncateResultsRootFilePath (const Int_t &, const Int_t &)
 
virtual ~TEcnaParPaths ()
 

Private Attributes

Int_t fCdelete
 
Int_t fCdeleteRoot
 
TString fCfgCMSSWBase
 
TString fCfgCMSSWSubsystem
 
TString fCfgHistoryRunListFilePath
 
TString fCfgResultsAsciiFilePath
 
TString fCfgResultsRootFilePath
 
TString fCfgSCRAMArch
 
Int_t fCnaCommand
 
Int_t fCnaError
 
Int_t fCnew
 
Int_t fCnewRoot
 
std::ifstream fFcin_cmssw
 
std::ifstream fFcin_lor
 
std::ifstream fFcin_ra
 
std::ifstream fFcin_rr
 
TString fFileForCMSSWParameters
 
TString fFileForHistoryRunListFilePath
 
TString fFileForResultsAsciiFilePath
 
TString fFileForResultsRootFilePath
 
Int_t fgMaxCar
 
TString fTTBELL
 

Detailed Description


TEcnaParPaths.h Update: 15/02/2011 Author: B.Fabbro (berna.nosp@m.rd.f.nosp@m.abbro.nosp@m.@cea.nosp@m..fr) DSM/IRFU/SPP CEA-Saclay Copyright: Those valid for CEA sofware

ECNA web page: http://cms-fabbro.web.cern.ch/cms-fabbro/

cna_new/Correlated_Noise_Analysis/ECNA_cna_1.htm

Definition at line 24 of file TEcnaParPaths.h.

Constructor & Destructor Documentation

TEcnaParPaths::TEcnaParPaths ( )

Definition at line 31 of file TEcnaParPaths.cc.

32 {
33 // Constructor without argument
34  // cout << "[Info Management] CLASS: TEcnaParPaths. CREATE OBJECT: this = " << this << endl;
35  Init();
36 }
TEcnaParPaths::TEcnaParPaths ( TEcnaObject pObjectManager)

Definition at line 38 of file TEcnaParPaths.cc.

References TEcnaObject::RegisterPointer().

39 {
40 // Constructor without argument
41  // cout << "[Info Management] CLASS: TEcnaParPaths. CREATE OBJECT: this = " << this << endl;
42  Init();
43  Long_t i_this = (Long_t)this;
44  pObjectManager->RegisterPointer("TEcnaParPaths", i_this);
45 }
Bool_t RegisterPointer(const TString &, const Long_t &)
Definition: TEcnaObject.cc:103
TEcnaParPaths::~TEcnaParPaths ( )
virtual

Definition at line 19 of file TEcnaParPaths.cc.

20 {
21 //destructor
22 
23  // cout << "[Info Management] CLASS: TEcnaParPaths. DESTROY OBJECT: this = " << this << endl;
24 }

Member Function Documentation

void TEcnaParPaths::AppendResultsAsciiFilePath ( const Text_t *  t_file_nohome)

Definition at line 451 of file TEcnaParPaths.cc.

452 {fCfgResultsAsciiFilePath.Append(t_file_nohome);}
TString fCfgResultsAsciiFilePath
Definition: TEcnaParPaths.h:48
void TEcnaParPaths::AppendResultsRootFilePath ( const Text_t *  t_file_nohome)

Definition at line 448 of file TEcnaParPaths.cc.

449 {fCfgResultsRootFilePath.Append(t_file_nohome);}
TString fCfgResultsRootFilePath
Definition: TEcnaParPaths.h:45
TString TEcnaParPaths::BeginningOfResultsAsciiFilePath ( )

Definition at line 443 of file TEcnaParPaths.cc.

444 {TString sBegin = "?";
445  if( fCfgResultsAsciiFilePath.BeginsWith("$HOME") ){sBegin = "$HOME";}
446  return sBegin;}
TString fCfgResultsAsciiFilePath
Definition: TEcnaParPaths.h:48
TString TEcnaParPaths::BeginningOfResultsRootFilePath ( )

Definition at line 438 of file TEcnaParPaths.cc.

439 {TString sBegin = "?";
440  if( fCfgResultsRootFilePath.BeginsWith("$HOME") ){sBegin = "$HOME";}
441  return sBegin;}
TString fCfgResultsRootFilePath
Definition: TEcnaParPaths.h:45
TString TEcnaParPaths::CMSSWBase ( )

Definition at line 370 of file TEcnaParPaths.cc.

Referenced by TEcnaGui::SubmitOnBatchSystem().

370 {return fCfgCMSSWBase;}
TString fCfgCMSSWBase
Definition: TEcnaParPaths.h:54
TString TEcnaParPaths::CMSSWSubsystem ( )

Definition at line 371 of file TEcnaParPaths.cc.

Referenced by TEcnaGui::SubmitOnBatchSystem().

371 {return fCfgCMSSWSubsystem;}
TString fCfgCMSSWSubsystem
Definition: TEcnaParPaths.h:55
void TEcnaParPaths::GetCMSSWParameters ( )

Definition at line 314 of file TEcnaParPaths.cc.

References gather_cfg::cout.

Referenced by TEcnaGui::TEcnaGui().

315 {
316  // Init fCfgCMSSWBase, fCfgSCRAMArch and fCfgCMSSWSubsystem
317 
318  Int_t MaxCar = fgMaxCar;
319  fCfgCMSSWBase.Resize(MaxCar);
320  fCfgCMSSWBase = "?";
321 
322  fCfgSCRAMArch.Resize(MaxCar);
323  fCfgSCRAMArch = "?";
324 
325  fCfgCMSSWSubsystem.Resize(MaxCar);
326  fCfgCMSSWSubsystem = "?";
327 
328  //------------ CMSSW_BASE
329 
330  char* ch_cmssw_base = getenv("CMSSW_BASE");
331  if( ch_cmssw_base == 0 )
332  {
333  cout << "*TEcnaParPaths::GetCMSSWParameters()> CMSSW_BASE not defined."
334  << " Please, set up the environment (command: eval `scramv1 runtime -csh`)"
335  << fTTBELL << endl;
336  }
337  else
338  {
339  fCfgCMSSWBase = (TString)ch_cmssw_base;
340  }
341 
342  //------------ SCRAM_ARCH
343 
344  char* ch_scram_arch = getenv("SCRAM_ARCH");
345  if( ch_scram_arch == 0 )
346  {
347  cout << "*TEcnaParPaths::GetCMSSWParameters()> SCRAM_ARCH not defined."
348  << " Please, set up the environment (command: eval `scramv1 runtime -csh`)"
349  << fTTBELL << endl;
350  }
351  else
352  {
353  fCfgSCRAMArch = (TString)ch_scram_arch;
354  }
355 
356  //------------ SUBSYSTEM: CalibCalorimetry
357 
358  fCfgCMSSWSubsystem = "CalibCalorimetry";
359 
360 } // ----------- (end of GetCMSSWParameters) --------------------
TString fCfgSCRAMArch
Definition: TEcnaParPaths.h:56
TString fCfgCMSSWSubsystem
Definition: TEcnaParPaths.h:55
TString fCfgCMSSWBase
Definition: TEcnaParPaths.h:54
tuple cout
Definition: gather_cfg.py:121
TString fTTBELL
Definition: TEcnaParPaths.h:35
Bool_t TEcnaParPaths::GetPathForHistoryRunListFiles ( )

Definition at line 237 of file TEcnaParPaths.cc.

238 {
240 }
Bool_t GetPathForHistoryRunListFiles()
Bool_t TEcnaParPaths::GetPathForHistoryRunListFiles ( const TString &  argFileName)

Definition at line 242 of file TEcnaParPaths.cc.

References gather_cfg::cout.

243 {
244  // Init fCfgHistoryRunListFilePath and get it from the file named argFileName
245  // argFileName = complete name of the file (/afs/cern.ch/...)
246  // if string is empty, file name = "ECNA/path_runlist_history_plots" (located in $HOME user's directory - default - )
247 
248  Bool_t FileHere = kFALSE;
249 
250  Int_t MaxCar = fgMaxCar;
251  fCfgHistoryRunListFilePath.Resize(MaxCar);
253 
254  //..... put the name of the ascii file (containing the paths for CNA treatements)
255  // in the string cFileNameForCnaPaths and in class attribute fFileForHistoryRunListFilePath
256 
257  if ( argFileName == "" )
258  {
259  string cFileNameForCnaPaths = "ECNA/path_runlist_history_plots"; // config file name
260  TString s_file_name = cFileNameForCnaPaths.c_str();
261  const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
262 
263  TString s_path_name = gSystem->Getenv("HOME"); // get user's home directory path
264 
265  fFileForHistoryRunListFilePath = s_path_name;
266  fFileForHistoryRunListFilePath.Append('/');
267  fFileForHistoryRunListFilePath.Append(t_file_name);
268  }
269  else
270  {
271  fFileForHistoryRunListFilePath = argFileName.Data();
272  }
273 
274  //........ Reading of the paths in the file named fFileForHistoryRunListFilePath.Data()
275  //
277  if(fFcin_lor.fail() == kFALSE)
278  {
279  fFcin_lor.clear();
280  string xHistoryRunListP;
281  fFcin_lor >> xHistoryRunListP;
282  fCfgHistoryRunListFilePath = xHistoryRunListP.c_str();
283  fFcin_lor.close();
284  FileHere = kTRUE;
285  }
286  else
287  {
288  fFcin_lor.clear();
289  fCnaError++;
290  cout << fTTBELL << endl
291  << " ******************************************************************************************************** " << endl;
292  cout << " !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
293  << " " << fFileForHistoryRunListFilePath.Data() << ": file not found. " << endl << endl
294  << " Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
295  << " and create a file named path_runlist_history_plots in the subdirectory ECNA." << endl << endl
296  << " The file " << fFileForHistoryRunListFilePath.Data() << " is a configuration file" << endl
297  << " for ECNA and must contain one line with the following syntax:" << endl << endl
298  << " PATH_FOR_THE_LIST_OF_RUNS_FOR_HISTORY_PLOTS_FILE (without slash at the end of line)" << endl
299  << " ================================"
300  << endl << endl
301  << " Example: $HOME/scratch0/ecna/runlist_history_plots" << endl << endl
302  << " ******************************************************************************************************** "
303  << fTTBELL << endl;
304 
305  fFcin_lor.close();
306  FileHere = kFALSE;
307  }
308 
309  return FileHere;
310 
311 } // ----------- (end of GetPathForHistoryRunListFiles) --------------------
TString fCfgHistoryRunListFilePath
Definition: TEcnaParPaths.h:51
TString fFileForHistoryRunListFilePath
Definition: TEcnaParPaths.h:52
tuple cout
Definition: gather_cfg.py:121
std::ifstream fFcin_lor
Definition: TEcnaParPaths.h:41
TString fTTBELL
Definition: TEcnaParPaths.h:35
Bool_t TEcnaParPaths::GetPathForResultsAsciiFiles ( )

Definition at line 159 of file TEcnaParPaths.cc.

160 {
161  return GetPathForResultsAsciiFiles("");
162 }
Bool_t GetPathForResultsAsciiFiles()
Bool_t TEcnaParPaths::GetPathForResultsAsciiFiles ( const TString &  argFileName)

Definition at line 164 of file TEcnaParPaths.cc.

References gather_cfg::cout.

165 {
166  // Init fCfgResultsAsciiFilePath and get it from the file named argFileName
167  // argFileName = complete name of the file (/afs/cern.ch/...)
168  // if string is empty, file name = "ECNA/path_results_ascii" (located in $HOME user's directory - default - )
169 
170  Bool_t FileHere = kFALSE;
171 
172  Int_t MaxCar = fgMaxCar;
173  fCfgResultsAsciiFilePath.Resize(MaxCar);
175 
176  //..... put the name of the ascii file (containing the paths for CNA treatements)
177  // in the string cFileNameForCnaPaths and in class attribute fFileForResultsAsciiFilePath
178 
179  if ( argFileName == "" )
180  {
181  string cFileNameForCnaPaths = "ECNA/path_results_ascii"; // config file name
182  TString s_file_name = cFileNameForCnaPaths.c_str();
183  const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
184 
185  TString s_path_name = gSystem->Getenv("HOME"); // get user's home directory path
186 
187  fFileForResultsAsciiFilePath = s_path_name;
188  fFileForResultsAsciiFilePath.Append('/');
189  fFileForResultsAsciiFilePath.Append(t_file_name);
190  }
191  else
192  {
193  fFileForResultsAsciiFilePath = argFileName.Data();
194  }
195 
196  //........ Reading of the paths in the file named fFileForResultsAsciiFilePath.Data()
197  //
199  if(fFcin_ra.fail() == kFALSE)
200  {
201  fFcin_ra.clear();
202  string xResultsFileP;
203  fFcin_ra >> xResultsFileP;
204  fCfgResultsAsciiFilePath = xResultsFileP.c_str();
205  fFcin_ra.close();
206  FileHere = kTRUE;
207  }
208  else
209  {
210  fFcin_ra.clear();
211  fCnaError++;
212  cout << fTTBELL << endl
213  << " ***************************************************************************************** " << endl;
214  cout << " !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
215  << " " << fFileForResultsAsciiFilePath.Data() << ": file not found. " << endl << endl
216  << " Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
217  << " and create a file named path_results_ascii in the subdirectory ECNA." << endl << endl
218  << " The file " << fFileForResultsAsciiFilePath.Data() << " is a configuration file" << endl
219  << " for ECNA and must contain one line with the following syntax:" << endl << endl
220  << " PATH_FOR_THE_RESULTS_ASCII_FILE (without slash at the end of line)" << endl
221  << " ================================"
222  << endl << endl
223  << " Example: $HOME/scratch0/ecna/results_ascii" << endl << endl
224  << " ***************************************************************************************** "
225  << fTTBELL << endl;
226 
227  fFcin_ra.close();
228  FileHere = kFALSE;
229  }
230 
231  return FileHere;
232 
233 } // ----------- (end of GetPathForResultsAsciiFiles) --------------------
TString fCfgResultsAsciiFilePath
Definition: TEcnaParPaths.h:48
TString fFileForResultsAsciiFilePath
Definition: TEcnaParPaths.h:49
tuple cout
Definition: gather_cfg.py:121
TString fTTBELL
Definition: TEcnaParPaths.h:35
std::ifstream fFcin_ra
Definition: TEcnaParPaths.h:40
Bool_t TEcnaParPaths::GetPathForResultsRootFiles ( )

Definition at line 81 of file TEcnaParPaths.cc.

Referenced by TEcnaWrite::TEcnaWrite().

82 {
83  return GetPathForResultsRootFiles("");
84 }
Bool_t GetPathForResultsRootFiles()
Bool_t TEcnaParPaths::GetPathForResultsRootFiles ( const TString &  argFileName)

Definition at line 86 of file TEcnaParPaths.cc.

References gather_cfg::cout.

87 {
88  // Init fCfgResultsRootFilePath and get it from the file named argFileName
89  // argFileName = complete name of the file (/afs/cern.ch/...)
90  // if string is empty, file name = "ECNA/path_results_root" (located in $HOME user's directory - default - )
91 
92  Bool_t FileHere = kFALSE;
93 
94  Int_t MaxCar = fgMaxCar;
95  fCfgResultsRootFilePath.Resize(MaxCar);
97 
98  //..... put the name of the ascii file (containing the paths for CNA treatements)
99  // in the string cFileNameForCnaPaths and in class attribute fFileForResultsRootFilePath
100 
101  if ( argFileName == "" )
102  {
103  string cFileNameForCnaPaths = "ECNA/path_results_root"; // config file name
104  TString s_file_name = cFileNameForCnaPaths.c_str();
105  const Text_t *t_file_name = (const Text_t *)s_file_name.Data();
106 
107  TString s_path_name = gSystem->Getenv("HOME"); // get user's home directory path
108 
109  fFileForResultsRootFilePath = s_path_name;
110  fFileForResultsRootFilePath.Append('/');
111  fFileForResultsRootFilePath.Append(t_file_name);
112  }
113  else
114  {
115  fFileForResultsRootFilePath = argFileName.Data();
116  }
117 
118  //........ Reading of the paths in the file named fFileForResultsRootFilePath.Data()
119  //
121  if(fFcin_rr.fail() == kFALSE)
122  {
123  fFcin_rr.clear();
124  string xResultsFileP;
125  fFcin_rr >> xResultsFileP;
126  fCfgResultsRootFilePath = xResultsFileP.c_str();
127  fFcin_rr.close();
128  FileHere = kTRUE;
129  }
130  else
131  {
132  fFcin_rr.clear();
133  fCnaError++;
134  cout << fTTBELL << endl
135  << " ***************************************************************************************** " << endl;
136  cout << " !CNA(TEcnaParPaths) (" << fCnaError << ") *** ERROR *** " << endl << endl
137  << " " << fFileForResultsRootFilePath.Data() << ": file not found. " << endl << endl
138  << " Please create a subdirectory named ECNA in your HOME directory (if not already done)" << endl
139  << " and create a file named path_results_root in the subdirectory ECNA." << endl << endl
140  << " The file " << fFileForResultsRootFilePath.Data() << " is a configuration file" << endl
141  << " for ECNA and must contain one line with the following syntax:" << endl << endl
142  << " PATH_FOR_THE_RESULTS_ROOT_FILE (without slash at the end of line)" << endl
143  << " ================================"
144  << endl << endl
145  << " Example: $HOME/scratch0/ecna/results_root" << endl << endl
146  << " ***************************************************************************************** "
147  << fTTBELL << endl;
148 
149  fFcin_rr.close();
150  FileHere = kFALSE;
151  }
152 
153  return FileHere;
154 
155 } // ----------- (end of GetPathForResultsRootFiles) --------------------
std::ifstream fFcin_rr
Definition: TEcnaParPaths.h:39
TString fCfgResultsRootFilePath
Definition: TEcnaParPaths.h:45
tuple cout
Definition: gather_cfg.py:121
TString fTTBELL
Definition: TEcnaParPaths.h:35
TString fFileForResultsRootFilePath
Definition: TEcnaParPaths.h:46
Bool_t TEcnaParPaths::GetPaths ( )

Definition at line 59 of file TEcnaParPaths.cc.

Referenced by TEcnaGui::TEcnaGui().

60 {
61  //............................... Get user's parameters from user's directory
62  Bool_t FileHere = kFALSE;
63  Int_t NbFileHere = 0;
64  if( GetPathForResultsRootFiles() == kTRUE ){NbFileHere++;} // Init fCfgResultsRootFilePath
65  if( GetPathForResultsAsciiFiles() == kTRUE ){NbFileHere++;} // Init fCfgResultsAsciiFilePath
66  if( GetPathForHistoryRunListFiles() == kTRUE ){NbFileHere++;} // Init fCfgHistoryRunListFilePath
67 
68  GetCMSSWParameters(); // Init fCfgCMSSWBase, fCfgCMSSWSubsystem, fCfgSCRAMArch <== done in TEcnaGui
69 
70  if( NbFileHere == 3 ){FileHere = kTRUE;}
71  return FileHere;
72 }
void GetCMSSWParameters()
Bool_t GetPathForHistoryRunListFiles()
Bool_t GetPathForResultsRootFiles()
Bool_t GetPathForResultsAsciiFiles()
TString TEcnaParPaths::HistoryRunListFilePath ( )

Definition at line 369 of file TEcnaParPaths.cc.

TString fCfgHistoryRunListFilePath
Definition: TEcnaParPaths.h:51
void TEcnaParPaths::Init ( void  )

Definition at line 48 of file TEcnaParPaths.cc.

49 {
50  fgMaxCar = (Int_t)512; // max number of characters in TStrings
51  fTTBELL = '\007';
52 
53  //................ Init CNA Command and error numbering
54  fCnaCommand = 0;
55  fCnaError = 0;
56 
57 }// end of Init()
TString fTTBELL
Definition: TEcnaParPaths.h:35
TString TEcnaParPaths::PathModulesData ( )

Definition at line 375 of file TEcnaParPaths.cc.

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

376 {
377  // ----- return the path of data subdirectory in package "Modules"
378  TString ModulesdataPath = "";
379 
380  const Text_t *t_cmssw_base = (const Text_t *)CMSSWBase().Data();
381  ModulesdataPath.Append(t_cmssw_base);
382  ModulesdataPath.Append('/'); // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/
383 
384  TString s_src = "src";
385  const Text_t *t_src = (const Text_t *)s_src.Data();
386  ModulesdataPath.Append(t_src);
387  ModulesdataPath.Append('/'); // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/src
388 
389  const Text_t *t_cmssw_subsystem = (const Text_t *)CMSSWSubsystem().Data();
390  ModulesdataPath.Append(t_cmssw_subsystem);
391  ModulesdataPath.Append('/'); // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/src/CalibCalorimetry/
392 
393  TString s_package_data_path = "EcalCorrelatedNoiseAnalysisModules/data";
394  const Text_t *t_package_data_path = (const Text_t *)s_package_data_path.Data();
395  ModulesdataPath.Append(t_package_data_path);
396  ModulesdataPath.Append('/');
397  // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/src/CalibCalorimetry/EcalCorrelatedNoiseAnalysisModules/data/
398 
399  return ModulesdataPath;
400 }
TString CMSSWBase()
TString CMSSWSubsystem()
TString TEcnaParPaths::PathTestScramArch ( )

Definition at line 402 of file TEcnaParPaths.cc.

Referenced by TEcnaGui::CleanBatchFiles().

403 {
404  // ----- return the path of test/slc... subdirectory in CMSSW_BASE
405  TString TestslcPath = "";
406 
407  const Text_t *t_cmssw_base = (const Text_t *)CMSSWBase().Data();
408  TestslcPath.Append(t_cmssw_base);
409  TestslcPath.Append('/'); // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/
410 
411  TString s_test = "test";
412  const Text_t *t_test = (const Text_t *)s_test.Data();
413  TestslcPath.Append(t_test);
414  TestslcPath.Append('/'); // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/test
415 
416  const Text_t *t_cmssw_arch = (const Text_t *)SCRAMArch().Data();
417  TestslcPath.Append(t_cmssw_arch);
418  TestslcPath.Append('/'); // /afs/cern.ch/user/U/USERNAME/cmssw/CMSSW_X_Y_Z/test/slc4_ia32_gcc345/
419 
420  return TestslcPath;
421 }
TString CMSSWBase()
TString SCRAMArch()
TString TEcnaParPaths::ResultsAsciiFilePath ( )

Definition at line 368 of file TEcnaParPaths.cc.

368 {return fCfgResultsAsciiFilePath;}
TString fCfgResultsAsciiFilePath
Definition: TEcnaParPaths.h:48
TString TEcnaParPaths::ResultsRootFilePath ( )

Definition at line 367 of file TEcnaParPaths.cc.

367 {return fCfgResultsRootFilePath;}
TString fCfgResultsRootFilePath
Definition: TEcnaParPaths.h:45
TString TEcnaParPaths::SCRAMArch ( )

Definition at line 372 of file TEcnaParPaths.cc.

372 {return fCfgSCRAMArch;}
TString fCfgSCRAMArch
Definition: TEcnaParPaths.h:56
void TEcnaParPaths::SetHistoryRunListFilePath ( const TString &  ImposedPath)

Definition at line 430 of file TEcnaParPaths.cc.

430 {fCfgHistoryRunListFilePath = ImposedPath;}
TString fCfgHistoryRunListFilePath
Definition: TEcnaParPaths.h:51
void TEcnaParPaths::SetResultsAsciiFilePath ( const TString &  ImposedPath)

Definition at line 429 of file TEcnaParPaths.cc.

429 {fCfgResultsAsciiFilePath = ImposedPath;}
TString fCfgResultsAsciiFilePath
Definition: TEcnaParPaths.h:48
void TEcnaParPaths::SetResultsRootFilePath ( const TString &  ImposedPath)

Definition at line 428 of file TEcnaParPaths.cc.

428 {fCfgResultsRootFilePath = ImposedPath;}
TString fCfgResultsRootFilePath
Definition: TEcnaParPaths.h:45
void TEcnaParPaths::TruncateResultsAsciiFilePath ( const Int_t &  n1,
const Int_t &  nbcar 
)

Definition at line 435 of file TEcnaParPaths.cc.

436 {fCfgResultsAsciiFilePath.Remove(n1,nbcar);}
TString fCfgResultsAsciiFilePath
Definition: TEcnaParPaths.h:48
void TEcnaParPaths::TruncateResultsRootFilePath ( const Int_t &  n1,
const Int_t &  nbcar 
)

Definition at line 432 of file TEcnaParPaths.cc.

433 {fCfgResultsRootFilePath.Remove(n1,nbcar);}
TString fCfgResultsRootFilePath
Definition: TEcnaParPaths.h:45

Member Data Documentation

Int_t TEcnaParPaths::fCdelete
private

Definition at line 32 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCdeleteRoot
private

Definition at line 33 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgCMSSWBase
private

Definition at line 54 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgCMSSWSubsystem
private

Definition at line 55 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgHistoryRunListFilePath
private

Definition at line 51 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgResultsAsciiFilePath
private

Definition at line 48 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgResultsRootFilePath
private

Definition at line 45 of file TEcnaParPaths.h.

TString TEcnaParPaths::fCfgSCRAMArch
private

Definition at line 56 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCnaCommand
private

Definition at line 37 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCnaError
private

Definition at line 37 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCnew
private

Definition at line 32 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fCnewRoot
private

Definition at line 33 of file TEcnaParPaths.h.

std::ifstream TEcnaParPaths::fFcin_cmssw
private

Definition at line 43 of file TEcnaParPaths.h.

std::ifstream TEcnaParPaths::fFcin_lor
private

Definition at line 41 of file TEcnaParPaths.h.

std::ifstream TEcnaParPaths::fFcin_ra
private

Definition at line 40 of file TEcnaParPaths.h.

std::ifstream TEcnaParPaths::fFcin_rr
private

Definition at line 39 of file TEcnaParPaths.h.

TString TEcnaParPaths::fFileForCMSSWParameters
private

Definition at line 57 of file TEcnaParPaths.h.

TString TEcnaParPaths::fFileForHistoryRunListFilePath
private

Definition at line 52 of file TEcnaParPaths.h.

TString TEcnaParPaths::fFileForResultsAsciiFilePath
private

Definition at line 49 of file TEcnaParPaths.h.

TString TEcnaParPaths::fFileForResultsRootFilePath
private

Definition at line 46 of file TEcnaParPaths.h.

Int_t TEcnaParPaths::fgMaxCar
private

Definition at line 30 of file TEcnaParPaths.h.

TString TEcnaParPaths::fTTBELL
private

Definition at line 35 of file TEcnaParPaths.h.