get_record_title.h File Reference

Go to the source code of this file.

Functions

TString get_record_title (TString release)
TString get_record_title ()

Function Documentation

TString get_record_title (  ) 

Definition at line 22 of file get_record_title.h.

References get_record_title().

00023 {
00024   return get_record_title("");
00025 }

TString get_record_title ( TString  release  ) 

Definition at line 4 of file get_record_title.h.

Referenced by attach_mrcc_path(), attach_output(), attach_output_mc(), attach_output_mc_srsafitter(), attach_output_srsafitter(), and get_record_title().

00005 {
00006   const char *BaseRel = getenv("SRT_BASE_RELEASE");
00007   const char *RootRel = getenv("ROOTSYS");
00008 
00009   string RootVer(RootRel);
00010   RootVer.replace(0,RootVer.rfind("/")+1,"");
00011 
00012   if(release != "") release = ","+release;
00013 
00014   char RecTitle[100];
00015   sprintf(RecTitle, "RecordTitle=CEDAR_PHY(minossoft:%s,root:%s%s)", BaseRel, RootVer.c_str(), release.Data());
00016 
00017   return RecTitle;
00018 }


Generated on 17 Jun 2018 for loon by  doxygen 1.6.1