11 #ifndef ROOT_ProcFileElements 12 #define ROOT_ProcFileElements 18 class ProcFileElements :
public TObject {
21 class ProcFileElement :
public TObject {
26 fFirst(fst), fLast(lst) { }
27 virtual ~ProcFileElement() { }
32 Int_t MergeElement(ProcFileElement *);
34 Int_t Overlapping(ProcFileElement *);
48 ProcFileElements(
const char *fn =
"") : fName(fn), fElements(0),
49 fFirst(0), fLast(-1) { }
50 virtual ~ProcFileElements() {
if (fElements) { fElements->
SetOwner();
52 const char *
GetName()
const {
return fName; }
58 TSortedList *GetListOfElements()
const {
return fElements; }
59 Int_t GetNumElements()
const {
return (fElements ? fElements->
GetSize() : 0); }
62 Long64_t GetLast()
const {
return fLast; }
std::string GetName(const std::string &scope_name)
UInt_t Hash(const TString &s)
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
UInt_t Hash(ECaseCompare cmp=kExact) const
Return hash value.
#define ClassDef(name, id)
A sorted doubly linked list.
Collection abstract base class.
void Add(THist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, const THist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
void Print(std::ostream &os, const OptionType &opt)
Mother of all ROOT objects.
Int_t Compare(const void *item1, const void *item2)
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.