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

TMBBTag Class Reference

#include <TMBBTag.hpp>

Inheritance diagram for TMBBTag:

TMBBTagJLIP TMBBTagNN TMBBTagSLT TMBBTagSVT List of all members.

Public Member Functions

 TMBBTag ()
 TMBBTag (Bool_t taggable, Bool_t tagged, Bool_t neg_tagged, Int_t mc_flavor, const TMBJet *jet, const TMBMuon *muon, const TRefArray *tracks, const TRefArray *neg_tracks)
virtual ~TMBBTag ()
Bool_t is_taggable () const
Bool_t is_tagged () const
Bool_t is_neg_tagged () const
Int_t mc_flavor () const
bool print () const
TString GetAlgo () const
void SetAlgo (const char *algo)
void SetBranches (const char *jet, const char *muon, const char *track)
int GetId () const
void SetId (int id)
const TMBJetGetJet () const
const TMBMuonGetMuon () const
int num_tracks () const
int num_neg_tracks () const
const TMBTracktrack (int i) const
const TMBTrackneg_track (int i) const
Double_t data_trf () const
Double_t mc_trf () const
Double_t scale_factor () const
void set_data_trf (double val, double err)
void set_mc_flavor (int value)
 ClassDef (TMBBTag, 5)

Private Attributes

Bool_t _taggable
Bool_t _tagged
Bool_t _neg_tagged
Double_t _trf_data
Double_t _trf_data_err
Double_t _trf_mc
Double_t _trf_sf
Int_t _mc_flavor
TRef _jet
TRef _muon
int _num_tracks
int _num_neg_tracks
TRefArray _tracks
TRefArray _neg_tracks
TString _algo
TString _trackbranch
TString _muonbranch
TString _jetbranch
int _id

Constructor & Destructor Documentation

TMBBTag::TMBBTag  ) 
 

Definition at line 18 of file TMBBTag.cpp.

TMBBTag::TMBBTag Bool_t  taggable,
Bool_t  tagged,
Bool_t  neg_tagged,
Int_t  mc_flavor,
const TMBJet jet,
const TMBMuon muon,
const TRefArray *  tracks,
const TRefArray *  neg_tracks
 

Definition at line 34 of file TMBBTag.cpp.

References _jet, _muon, _neg_tracks, _num_neg_tracks, _num_tracks, and _tracks.

TMBBTag::~TMBBTag  )  [virtual]
 

Definition at line 90 of file TMBBTag.cpp.


Member Function Documentation

TMBBTag::ClassDef TMBBTag  ,
 

Double_t TMBBTag::data_trf  )  const [inline]
 

Definition at line 105 of file TMBBTag.hpp.

References _trf_data.

TString TMBBTag::GetAlgo  )  const [inline]
 

Definition at line 82 of file TMBBTag.hpp.

References _algo.

int TMBBTag::GetId  )  const [inline]
 

Definition at line 87 of file TMBBTag.hpp.

References _id.

Referenced by TMBJet::btag_print(), TMBJet::GetBTag(), and print().

const TMBJet * TMBBTag::GetJet  )  const
 

Definition at line 114 of file TMBBTag.cpp.

References _algo, _jet, and _jetbranch.

Referenced by TMBJet::btag_print(), and print().

const TMBMuon * TMBBTag::GetMuon  )  const
 

Definition at line 138 of file TMBBTag.cpp.

References _algo, _muon, and _muonbranch.

Bool_t TMBBTag::is_neg_tagged  )  const [inline]
 

Definition at line 79 of file TMBBTag.hpp.

References _neg_tagged.

Bool_t TMBBTag::is_taggable  )  const [inline]
 

Definition at line 77 of file TMBBTag.hpp.

References _taggable.

Referenced by TMBJet::taggable().

Bool_t TMBBTag::is_tagged  )  const [inline]
 

Definition at line 78 of file TMBBTag.hpp.

References _tagged.

Referenced by TMBJet::btag_jlip_loose(), TMBJet::btag_nn_loose(), TMBJet::btag_svt_loose(), and caf_util::BTagJetSelector::selectObject().

Int_t TMBBTag::mc_flavor  )  const [inline]
 

Definition at line 80 of file TMBBTag.hpp.

References _mc_flavor.

Referenced by TMBJet::mc_flavor().

Double_t TMBBTag::mc_trf  )  const [inline]
 

Definition at line 106 of file TMBBTag.hpp.

References _trf_mc.

const TMBTrack* TMBBTag::neg_track int  i  )  const [inline]
 

Definition at line 102 of file TMBBTag.hpp.

References _neg_tracks.

int TMBBTag::num_neg_tracks  )  const [inline]
 

Definition at line 97 of file TMBBTag.hpp.

References _num_neg_tracks.

int TMBBTag::num_tracks  )  const [inline]
 

Definition at line 96 of file TMBBTag.hpp.

References _num_tracks.

bool TMBBTag::print  )  const
 

Definition at line 96 of file TMBBTag.cpp.

References _algo, _taggable, TMBJet::btagdictcheck(), GetId(), GetJet(), TMBJet::isBad(), TMBJet::isEM(), and TMBJet::taggable().

Double_t TMBBTag::scale_factor  )  const [inline]
 

Definition at line 107 of file TMBBTag.hpp.

References _trf_sf.

void TMBBTag::set_data_trf double  val,
double  err
[inline]
 

Definition at line 116 of file TMBBTag.hpp.

References _trf_data, and _trf_data_err.

void TMBBTag::set_mc_flavor int  value  )  [inline]
 

Definition at line 122 of file TMBBTag.hpp.

References _mc_flavor.

void TMBBTag::SetAlgo const char *  algo  )  [inline]
 

Definition at line 83 of file TMBBTag.hpp.

References _algo.

void TMBBTag::SetBranches const char *  jet,
const char *  muon,
const char *  track
[inline]
 

Definition at line 84 of file TMBBTag.hpp.

References _jetbranch, _muonbranch, and _trackbranch.

void TMBBTag::SetId int  id  )  [inline]
 

Definition at line 88 of file TMBBTag.hpp.

References _id.

Referenced by TMBJet::AddBTag().

const TMBTrack* TMBBTag::track int  i  )  const [inline]
 

Definition at line 101 of file TMBBTag.hpp.

References _tracks.


Member Data Documentation

TString TMBBTag::_algo [private]
 

Definition at line 57 of file TMBBTag.hpp.

Referenced by GetAlgo(), GetJet(), GetMuon(), print(), and SetAlgo().

int TMBBTag::_id [private]
 

Definition at line 59 of file TMBBTag.hpp.

Referenced by GetId(), and SetId().

TRef TMBBTag::_jet [private]
 

Definition at line 49 of file TMBBTag.hpp.

Referenced by GetJet(), and TMBBTag().

TString TMBBTag::_jetbranch [private]
 

Definition at line 58 of file TMBBTag.hpp.

Referenced by GetJet(), and SetBranches().

Int_t TMBBTag::_mc_flavor [private]
 

Definition at line 46 of file TMBBTag.hpp.

Referenced by mc_flavor(), and set_mc_flavor().

TRef TMBBTag::_muon [private]
 

Definition at line 50 of file TMBBTag.hpp.

Referenced by GetMuon(), and TMBBTag().

TString TMBBTag::_muonbranch [private]
 

Definition at line 58 of file TMBBTag.hpp.

Referenced by GetMuon(), and SetBranches().

Bool_t TMBBTag::_neg_tagged [private]
 

Definition at line 39 of file TMBBTag.hpp.

Referenced by is_neg_tagged().

TRefArray TMBBTag::_neg_tracks [private]
 

Definition at line 54 of file TMBBTag.hpp.

Referenced by neg_track(), and TMBBTag().

int TMBBTag::_num_neg_tracks [private]
 

Definition at line 52 of file TMBBTag.hpp.

Referenced by num_neg_tracks(), and TMBBTag().

int TMBBTag::_num_tracks [private]
 

Definition at line 51 of file TMBBTag.hpp.

Referenced by num_tracks(), and TMBBTag().

Bool_t TMBBTag::_taggable [private]
 

Definition at line 37 of file TMBBTag.hpp.

Referenced by is_taggable(), and print().

Bool_t TMBBTag::_tagged [private]
 

Definition at line 38 of file TMBBTag.hpp.

Referenced by is_tagged().

TString TMBBTag::_trackbranch [private]
 

Definition at line 58 of file TMBBTag.hpp.

Referenced by SetBranches().

TRefArray TMBBTag::_tracks [private]
 

Definition at line 53 of file TMBBTag.hpp.

Referenced by TMBBTag(), and track().

Double_t TMBBTag::_trf_data [private]
 

Definition at line 42 of file TMBBTag.hpp.

Referenced by data_trf(), and set_data_trf().

Double_t TMBBTag::_trf_data_err [private]
 

Definition at line 43 of file TMBBTag.hpp.

Referenced by set_data_trf().

Double_t TMBBTag::_trf_mc [private]
 

Definition at line 44 of file TMBBTag.hpp.

Referenced by mc_trf().

Double_t TMBBTag::_trf_sf [private]
 

Definition at line 45 of file TMBBTag.hpp.

Referenced by scale_factor().


The documentation for this class was generated from the following files:
Generated on Tue Mar 28 10:13:06 2006 for CAF by doxygen 1.3.4