50 virtual Int_t
getflag(
const char* flagname)
52 if (strcmp(flagname,
"IsRemote")==0)
return 1;
74 const char* classname) :
87 virtual Bool_t
GetObject(TObject* &obj, Bool_t &owner)
const
89 if (
fHServ==0)
return kFALSE;
91 if (obj!=0) owner = kTRUE;
128 const char* basename,
129 const char* userpass,
163 if (itemslot==0)
return 0;
204 if(result!=0)
return kFALSE;
209 for(
int i_j=0;i_j<l_histos;i_j++) {
210 TString HisType=
"TH";
212 if(strstr(ps_his_head->
c_dtype,
"r")!=0)
217 if(strstr(ps_his_head->
c_dtype,
"r")!=0)
228 child->
SetPar(
"::HistoClass", HisType.Data());
255 if(result!=0)
return 0;
257 if(l_size==0)
return 0;
259 int i1 = ps_his_head->l_bins_1;
260 int i2 = ps_his_head->l_bins_2;
262 REAL4* pr_all = (strstr(ps_his_head->c_dtype,
"r")!=0) ? (
REAL4 *) pl_all : 0;
263 INTS4* pl_start = pl_all;
266 Double_t entries = 0;
270 h1 =
new TH1F(ps_his_head->c_name, ps_his_head->c_name,
271 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up);
272 for (
int k=0; k<i1; k++) {
273 REAL4 val = *(pr_all++);
274 h1->SetBinContent(k, val);
278 h1 =
new TH1I(ps_his_head->c_name, ps_his_head->c_name,
279 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up);
280 for (
int k=0; k<i1; k++) {
281 INTS4 val = *(pl_all++);
282 h1->SetBinContent(k, val);
287 h1->GetYaxis()->SetTitle(ps_his_head->c_lettering_res);
291 h1 =
new TH2F(ps_his_head->c_name,ps_his_head->c_name,
292 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up,
293 i2, ps_his_head->r_limits_low_2, ps_his_head->r_limits_up_2);
294 for (
int k=0; k<i2; k++)
295 for (
int k1=0; k1<i1; k1++) {
296 REAL4 val= *(pr_all++);
297 h1->SetBinContent(k1,k,val);
301 h1 =
new TH2I(ps_his_head->c_name,ps_his_head->c_name,
302 i1, ps_his_head->r_limits_low, ps_his_head->r_limits_up,
303 i2, ps_his_head->r_limits_low_2, ps_his_head->r_limits_up_2);
304 for (
int k=0; k<i2; k++)
305 for (
int k1=0; k1<i1; k1++) {
306 INTS4 val = *(pl_all++);
307 h1->SetBinContent(k1,k,val);
312 h1->GetYaxis()->SetTitle(ps_his_head->c_lettering_2);
319 h1->SetEntries(entries);
322 h1->GetXaxis()->SetTitle(ps_his_head->c_lettering_1);
323 h1->GetXaxis()->CenterTitle();
324 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)