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

TMBL3BTagJet.hpp

Go to the documentation of this file.
00001 
00002 //
00003 //   Purpose: Store Level3 btagging information per L3 jet
00004 //
00005 //   Author: Boris Tuchming
00006 //   Date:   4-Aug-2005
00007 //
00009 
00010 #ifndef TMBL3BTAGJET_H_
00011 #define TMBL3BTAGJET_H_
00012 
00013 #include "TObject.h"
00014 #include "TRef.h"
00015 #include "tmb_tree/TMBL3Jet.hpp"
00016 
00022 class TMBL3BTagJet : public TObject {
00023 public:
00024   TMBL3BTagJet(); //constructor
00025   TMBL3BTagJet(const TMBL3BTagJet&); //copy constructor
00026   
00027   ~TMBL3BTagJet() {;} //destructor
00028 
00029   // setters
00030   void BTag (double x) {_btag = x;};
00031   void SetL3Jet(TMBL3Jet *jet) {_jetptr=TRef(jet);};
00032  
00033   // accessors
00034   double BTag() const {return _btag;}
00035   const TMBL3Jet* GetL3Jet() const {return _jetptr.IsValid() ? (const TMBL3Jet *)_jetptr.GetObject() : 0;}
00036   TRef jetptr() const {return _jetptr;};
00037        
00038 private:
00039   float _btag;
00040   TRef  _jetptr;
00041 
00042   ClassDef(TMBL3BTagJet,1)
00043 
00044 }; //end of class TMBL3BTagJet
00045 #endif // TMBL3BTAGJET_H_

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