Changeset 757
- Timestamp:
- 04/19/01 16:15:33 (24 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MReadTree.cc
r756 r757 347 347 // corresponding object won't be created automatically) 348 348 // 349 // This functionality is for experienced users which don't want to 350 // read in branches which are not processed in the program (for 351 // speed reasons) 352 // 349 353 void MReadTree::VetoBranch(const char *name) 350 354 { -
trunk/MagicSoft/Mars/mbase/MReadTree.h
r705 r757 8 8 class TFile; 9 9 class TChain; 10 class TArrayC; 10 11 11 12 class MReadTree : public MTask 12 13 { 13 14 private: 14 TFile *fFile; // Pointer to file15 TChain *fChain; // Pointer to tree15 TFile *fFile; // Pointer to file 16 TChain *fChain; // Pointer to tree 16 17 17 UInt_t fNumEntry; // Number of actual entry 18 UInt_t fNumEntries; // Number of Events in Tree 18 TArrayC *fVetoList; // List of Branches which are not allowed to get enabled 19 20 UInt_t fNumEntry; // Number of actual entry 21 UInt_t fNumEntries; // Number of Events in Tree 22 23 Bool_t HasVeto(const char *name) const; 19 24 20 25 public: … … 27 32 28 33 void AddFile(const char *fname); 34 void VetoBranch(const char *name); 29 35 30 Bool_t GetEvent() ;36 Bool_t GetEvent(); 31 37 32 38 Bool_t DecEventNum(UInt_t dec=1); // decrease number of event (position in tree)
Note:
See TracChangeset
for help on using the changeset viewer.