Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:03

0001 #ifndef CommonTools_CandUtils_AddFourMomenta_h
0002 #define CommonTools_CandUtils_AddFourMomenta_h
0003 /** \class AddFourMomenta

0004  *

0005  * set up a composite reco::Candidate adding its 

0006  * daughters four-momenta and electric charge

0007  *

0008  * \author Luca Lista, INFN

0009  *

0010  * \version $Revision: 1.9 $

0011  *

0012  * $Id: AddFourMomenta.h,v 1.9 2007/01/09 09:14:42 llista Exp $

0013  *

0014  */
0015 #include "DataFormats/Candidate/interface/CandidateFwd.h"
0016 #include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
0017 
0018 struct AddFourMomenta {
0019   /// default constructor

0020   AddFourMomenta() {}
0021   /// constructor

0022   explicit AddFourMomenta(const edm::ParameterSet&) {}
0023   /// set up a candidate

0024   void set(reco::Candidate& c) const;
0025 };
0026 
0027 #endif