11 #ifndef ROOT_ProcFileElements 12 #define ROOT_ProcFileElements 18 #ifndef ROOT_TSortedList 22 class ProcFileElements :
public TObject {
25 class ProcFileElement :
public TObject {
30 fFirst(fst), fLast(lst) { }
31 virtual ~ProcFileElement() { }
36 Int_t MergeElement(ProcFileElement *);
38 Int_t Overlapping(ProcFileElement *);
52 ProcFileElements(
const char *fn =
"") : fName(fn), fElements(0),
53 fFirst(0), fLast(-1) { }
54 virtual ~ProcFileElements() {
if (fElements) { fElements->
SetOwner();
56 const char *
GetName()
const {
return fName; }
62 TSortedList *GetListOfElements()
const {
return fElements; }
63 Int_t GetNumElements()
const {
return (fElements ? fElements->
GetSize() : 0); }
66 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)
void Add(THist< DIMENSIONS, PRECISION_TO, STAT_TO... > &to, THist< DIMENSIONS, PRECISION_FROM, STAT_FROM... > &from)
Add two histograms.
A sorted doubly linked list.
Collection abstract base class.
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