CMS 3D CMS Logo

FlavorHistory.cc

Go to the documentation of this file.
00001 #include "DataFormats/HepMCCandidate/interface/FlavorHistory.h"
00002 
00003 using namespace reco;
00004 using namespace edm;
00005 using namespace std;
00006 
00007 FlavorHistory::FlavorHistory()
00008 {
00009   flavorSource_ = FLAVOR_NULL;
00010 }
00011 
00012 FlavorHistory::FlavorHistory( FLAVOR_T flavorSource,
00013                               CandidatePtr const & parton,
00014                               CandidatePtr const & progenitor,
00015                               CandidatePtr const & sister ) :
00016   flavorSource_(flavorSource),
00017   parton_(parton),
00018   progenitor_(progenitor),
00019   sister_(sister)
00020 {
00021   
00022 }
00023 
00024 FlavorHistory::FlavorHistory( FLAVOR_T flavorSource,
00025                               Handle<View<Candidate> > h_partons,
00026                               int parton,
00027                               int progenitor,
00028                               int sister ) :
00029   flavorSource_(flavorSource),
00030   parton_(h_partons,parton),
00031   progenitor_(h_partons,progenitor),
00032   sister_(h_partons,sister)
00033 {
00034   
00035 }
00036 
00037 FlavorHistory::FlavorHistory( FLAVOR_T flavorSource,
00038                               Handle<CandidateCollection> h_partons,
00039                               int parton,
00040                               int progenitor,
00041                               int sister ) :
00042   flavorSource_(flavorSource),
00043   parton_(h_partons,parton),
00044   progenitor_(h_partons,progenitor),
00045   sister_(h_partons,sister)
00046 {
00047   
00048 }
00049 

Generated on Tue Jun 9 17:31:00 2009 for CMSSW by  doxygen 1.5.4