00001 00002 // 00003 // Purpose: This is the header file that defines a class to help fill the 00004 // tuple correctly with TMBL3 B tagger (impact parameter). 00005 // 00006 // Author: Yann Coadou 00007 // Date: 28-Mar-2004 00008 // 00010 00011 #ifndef TMBL3BTAGIP_H_ 00012 #define TMBL3BTAGIP_H_ 00013 00014 #include "TObject.h" 00015 #include "TClonesArray.h" 00016 #include "tmb_tree/TMBL3BTagJet.hpp" 00017 #include <string> 00018 00024 class TMBL3BTagIP : public TObject { 00025 public: 00026 TMBL3BTagIP(); //constructor 00027 TMBL3BTagIP(const TMBL3BTagIP&); //copy constructor 00028 ~TMBL3BTagIP(); 00029 00030 TMBL3BTagIP& operator=(const TMBL3BTagIP& other); 00031 00032 // setters 00033 void BTag (double x) {btag = x;} 00034 void ToolName(const std::string &x) {toolname = x;} 00035 00036 // accessors 00037 std::string ToolName() const {return toolname;} 00038 double BTag() const {return btag;} 00039 const TClonesArray * GetJetInfo() const {return jet_info;} 00040 void Add(const TMBL3BTagJet& j); 00041 private: 00042 float btag; 00043 std::string toolname; 00044 TClonesArray *jet_info; 00045 int n_jet_info; 00046 ClassDef(TMBL3BTagIP,2) 00047 00048 }; //end of class TMBL3BTagIP 00049 #endif // TMBL3BTAGIP_H_
1.3.4