Class to hold information about the processed elements of a file.
#ifndef ROOT_ProcFileElements
#define ROOT_ProcFileElements
class ProcFileElements :
public TObject {
public:
class ProcFileElement :
public TObject {
public:
virtual ~ProcFileElement() { }
Int_t MergeElement(ProcFileElement *);
Int_t Overlapping(ProcFileElement *);
};
private:
public:
ProcFileElements(const char *fn = "") : fName(fn), fElements(0),
virtual ~ProcFileElements() {
if (fElements) { fElements->
SetOwner();
delete fElements; } }
const char *
GetName()
const {
return fName; }
TSortedList *GetListOfElements()
const {
return fElements; }
Int_t GetNumElements()
const {
return (fElements ? fElements->
GetSize() : 0); }
Long64_t GetLast()
const {
return fLast; }
};
#endif
#define ClassDef(name, id)
Int_t Compare(const void *item1, const void *item2)
Collection abstract base class.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
virtual void Print(Option_t *option="") const
This method must be overridden when a class wants to print itself.
virtual ULong_t Hash() const
Return hash value for this object.
A sorted doubly linked list.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
void Add(RHist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const RHist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
void Print(std::ostream &os, const OptionType &opt)