Class to hold information about the processed elements of a file.
#ifndef ROOT_ProcFileElements
#define ROOT_ProcFileElements
#ifndef ROOT_TObject
#endif
#ifndef ROOT_TSortedList
#endif
class ProcFileElements :
public TObject {
public:
class ProcFileElement :
public TObject {
public:
fFirst(fst), fLast(lst) { }
virtual ~ProcFileElement() { }
Int_t MergeElement(ProcFileElement *);
Int_t Overlapping(ProcFileElement *);
};
private:
public:
ProcFileElements(const char *fn = "") : fName(fn), fElements(0),
fFirst(0), fLast(-1) { }
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
- Author
- Gerardo Ganis (gerar.nosp@m.do.g.nosp@m.anis@.nosp@m.cern.nosp@m..ch)
Definition in file ProcFileElements.h.