49 virtual Int_t
getflag(
const char* flagname)
51 if (strcmp(flagname,
"IsRemote")==0)
return 1;
73 const char* classname) :
86 virtual Bool_t
GetObject(TObject* &obj, Bool_t &owner)
const
88 if (
fHServ==0)
return kFALSE;
90 if (obj!=0) owner = kTRUE;
127 const char* basename,
128 const char* userpass,
162 if (itemslot==0)
return 0;
203 if(result!=0)
return kFALSE;
208 for(
int i_j=0;i_j<l_histos;i_j++) {
209 TString HisType=
"TH";
211 if(strstr(ps_his_head->
c_dtype,
"r")!=0)
216 if(strstr(ps_his_head->
c_dtype,
"r")!=0)
227 child->
SetPar(
"::HistoClass", HisType.Data());
254 if(result!=0)
return 0;
256 if(l_size==0)
return 0;
258 int i1 = ps_his_head->l_bins_1;
259 int i2 = ps_his_head->l_bins_2;
261 REAL4* pr_all = (strstr(ps_his_head->c_dtype,
"r")!=0) ? (
REAL4 *) pl_all : 0;
262 INTS4* pl_start = pl_all;
265 Double_t entries = 0;
269 h1 =
new TH1F(ps_his_head->c_name, ps_his_head->c_name,
270 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up);
271 for (
int k=0; k<i1; k++) {
272 REAL4 val = *(pr_all++);
273 h1->SetBinContent(k, val);
277 h1 =
new TH1I(ps_his_head->c_name, ps_his_head->c_name,
278 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up);
279 for (
int k=0; k<i1; k++) {
280 INTS4 val = *(pl_all++);
281 h1->SetBinContent(k, val);
286 h1->GetYaxis()->SetTitle(ps_his_head->c_lettering_res);
290 h1 =
new TH2F(ps_his_head->c_name,ps_his_head->c_name,
291 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up,
292 i2, ps_his_head->r_limits_low_2, ps_his_head->r_limits_up_2);
293 for (
int k=0; k<i2; k++)
294 for (
int k1=0; k1<i1; k1++) {
295 REAL4 val= *(pr_all++);
296 h1->SetBinContent(k1,k,val);
300 h1 =
new TH2I(ps_his_head->c_name,ps_his_head->c_name,
301 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up,
302 i2, ps_his_head->r_limits_low_2, ps_his_head->r_limits_up_2);
303 for (
int k=0; k<i2; k++)
304 for (
int k1=0; k1<i1; k1++) {
305 INTS4 val = *(pl_all++);
306 h1->SetBinContent(k1,k,val);
311 h1->GetYaxis()->SetTitle(ps_his_head->c_lettering_2);
318 h1->SetEntries(entries);
321 h1->GetXaxis()->SetTitle(ps_his_head->c_lettering_1);
322 h1->GetXaxis()->CenterTitle();
323 h1->GetYaxis()->CenterTitle();
virtual const char * GetObjectName() const
INTS4 f_his_getdir(const char *, int, const char *, const char *, const char *, INTS4 **, INTS4 *)
Bool_t HasSlotsSubLevels() const
virtual TGo4LevelIter * subiterator()
virtual void Initialize(TGo4Slot *slot)
virtual Bool_t HasSublevels() const
const char * GetPar(const char *name) const
virtual Bool_t isfolder()
TGo4HServObjectAccess(TGo4HServProxy *hserv, const char *name, const char *fullname, const char *classname)
virtual TGo4LevelIter * MakeIter()
virtual const char * info()
TGo4HServIter(const TGo4Slot *slot)
virtual void Update(TGo4Slot *slot, Bool_t strong)
virtual const char * GetClassName()
virtual const char * GetObjectClassName() const
virtual const char * GetContainedClassName()
virtual Bool_t RefreshNamesList()
virtual void Finalize(TGo4Slot *slot)
virtual const char * name()
CHARS c_data_time_cre[28]
TGo4Slot * GetSlot(const char *name, Bool_t force=kFALSE)
virtual TGo4Access * ProvideAccess(const char *name)
virtual Bool_t CanGetObject() const
TGo4Slot * curSlot() const
TH1 * GetHistogram(const char *remotehistoname)
virtual Int_t getflag(const char *flagname)
virtual ~TGo4HServProxy()
void SetHServConfig(const char *servername, Int_t portnumber, const char *basename, const char *userpass, const char *filter)
virtual Bool_t GetObject(TObject *&obj, Bool_t &owner) const
virtual Int_t GetObjectKind()
INTS4 f_his_gethis(const char *, int, const char *, const char *, const char *, s_his_head **, INTS4 **, INTS4 *)
void SetPar(const char *name, const char *value)
TGo4Slot * GetChild(Int_t n) const
virtual ~TGo4HServObjectAccess()
virtual void WriteData(TGo4Slot *slot, TDirectory *dir, Bool_t onlyobjs)
virtual void ReadData(TGo4Slot *slot, TDirectory *dir)