17#include "ha_compiledata.h"
18#include "hc_compiledata.h"
29#define HC_GITREV HC_GITVERS
32#define HC_BUILDTIME HC_DATETIME
35#define HC_SOURCETIME HC_DATETIME
45 void* options,
int numOptions,
Bool_t noLogo ) :
65 TTree::SetMaxTreeSize(100000000000LL);
85 Int_t iday,imonth,iyear,mille;
86 static const char* months[] = {
"Jan",
"Feb",
"Mar",
"Apr",
"May",
87 "Jun",
"Jul",
"Aug",
"Sep",
"Oct",
89 const char* root_version =
gROOT->GetVersion();
92 imonth = (idatqq/100)%100;
93 iyear = (idatqq/10000);
96 else if ( iyear < 1900 )
100 char* root_date =
Form(
"%s %d %4d",months[imonth-1],iday,mille);
103 Printf(
" ************************************************");
105 Printf(
" * W E L C O M E to the *");
106 Printf(
" * H A L L C ++ A N A L Y Z E R *");
110 Printf(
" * ROOT %10s %16s *", root_version, root_date);
112 Printf(
" * For information visit *");
113 Printf(
" * http://hallcweb.jlab.org/hcana/docs/ *");
115 Printf(
" ************************************************");
127 bool use_buildtime =
true;
131 use_buildtime = (
len > 6 && strcmp(gitrev +
len - 6,
"-dirty") == 0);
138 return hc_date.
Data();
148 if( version_string.
IsNull() ) {
150 ostr <<
"hcana " << HC_VERSION
"";
155 version_string = ostr.str().c_str();
157 return version_string.
Data();
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
ClassImp(VDC::AnalyticTTDConv) using namespace std
R__EXTERN class THcParmList * gHcParms
R__EXTERN class THcDetectorMap * gHcDetectorMap
THcDetectorMap * gHcDetectorMap
char * Form(const char *fmt,...)
void Printf(const char *fmt,...)
static const char * GetVersionString()
static TString extract_short_date(const char *long_date)
static const char * GetHaDate()
virtual const char * SetPrompt(const char *newPrompt)
static THaInterface * fgAint
Class to read and hold a Hall C style detector map.
THcInterface is the interactive interface to the Hall C Analyzer.
static const char * GetHcDate()
THcInterface(const char *appClassName, int *argc, char **argv, void *options=NULL, int numOptions=0, Bool_t noLogo=kFALSE)
virtual void PrintLogo(Bool_t lite=kFALSE)
static const char * GetVersionString()
A list parameters and their values.
const char * Data() const