KaliVeda
Toolkit for HIC analysis
KVUnownedList.h
1 #ifndef KVUNOWNEDLIST_H
2 #define KVUNOWNEDLIST_H
3 
4 #include "KVSeqCollection.h"
5 
21 {
22 
23  void SetOwner(Bool_t o = kTRUE) override
24  {
25  if(o)
26  {
27  Warning("SetOwner", "Attempt to change non-owner status of KVUnownedList");
28  }
29  }
30 
31 public:
32 
34  void Sort(Bool_t order = kSortAscending)
35  {
36  ((TList*)fCollection)->Sort(order);
37  }
38 
40 };
41 
42 #endif // KVUNOWNEDLIST_H
bool Bool_t
#define ClassDefOverride(name, id)
KaliVeda extensions to ROOT collection classes.
TSeqCollection * fCollection
Pointer to embedded ROOT collection.
Extended TList class which does not own its objects by default.
Definition: KVUnownedList.h:21
void Sort(Bool_t order=kSortAscending)
Definition: KVUnownedList.h:34
void SetOwner(Bool_t o=kTRUE) override
Definition: KVUnownedList.h:23
virtual void Warning(const char *method, const char *msgfmt,...) const