Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

BTagJetBrowsable.hpp

Go to the documentation of this file.
00001 #ifndef BTagJetBrowsable_H
00002 #define BTagJetBrowsable_H
00003 
00004 #include "TBranchBrowsable.h"
00005 
00011 class BTagJetBrowsable : public TVirtualBranchBrowsable {
00012 public:
00013 
00014    inline ~BTagJetBrowsable() {}
00015 
00016    static Int_t GetBrowsables(TList& list, const TBranch* branch, 
00017                               const TVirtualBranchBrowsable* parent=0);
00018 
00019    const char* GetDraw() {
00020          return fDraw.Data();
00021    }
00022 
00023    void Browse(TBrowser *b);
00024 
00025    static void Register();
00026    static void Unregister();
00027 
00028 protected:
00029     // contrsuctor, which sets the name and title according to the parameters
00030     // (and thus differently than our base class TVirtualBranchBrowsable)
00031    inline BTagJetBrowsable(const char* name, const char* title, 
00032       const char* draw, const TBranch* branch, const TVirtualBranchBrowsable* parent=0)
00033           : TVirtualBranchBrowsable(branch, 0, kFALSE, parent), fDraw(draw) {
00034       SetNameTitle(name, title);
00035    }
00036 
00037 private:
00038    TString fDraw; // string to send to TTree::Draw(), NOT by GetScope()!
00039 
00040     ClassDef(BTagJetBrowsable, 0);   //TMBTree Cps class
00041 };
00042 
00043 #endif

Generated on Tue Mar 28 10:13:03 2006 for CAF by doxygen 1.3.4