25 if (name) SetName(name);
33 if (name) SetName(name);
41 UInt_t u[2]; u[0]=uRun; u[1]=uEvent;
42 int n = 1;
if (u[1]) n=2;
54 for (n=1;n<nk && uk[n]; n++){}
55 fUrr.Set(n,(Int_t *)uk);
62 SetName(from.GetName());
87 Bool_t res = ( fName == from.fName )
88 && ( fUrr.GetSize() == from.fUrr.GetSize() ) ;
90 Bool_t numMatch = kTRUE;
92 for (; i < fUrr.GetSize(); i++) {
93 if ( fUrr[i] != from.fUrr[i] ) {
98 return ( res && numMatch ) ;
106 if (name) SetName(name);
115 Int_t lUrr = fUrr.GetSize();
116 for (
int i=0;i<lUrr;i++){
118 snprintf(ubuf,12,
"%010u",fUrr[i]);
129 int n = strchr(key,
'.') - key;
130 assert(n>0 && n<100);
131 fName.Replace(0,999,key,n);
133 for (cc=key+n;*cc==
'.'; cc+=11,i++)
134 fUrr.AddAt(strtoul(cc+1,0,10),i);
142 for (
int i=1;i<fUrr.GetSize();i++) s^=fUrr[i];
virtual void Update(const TDsKey &from, const char *name=0)
to be documented
TDsKey(const char *name=0, UInt_t *uk=0, int nk=1)
to be documented
virtual TString GetKey() const
to be documented
virtual void SetUrr(const UInt_t *key, int nk)
to be documented
virtual TDsKey & operator=(const TDsKey &from)
to be documented
virtual UInt_t GetSum() const
to be documented
virtual Bool_t operator==(const TDsKey &from) const
Compare two keys.
virtual void SetKey(const char *key)
to be documented