#include <HepMCProduct.h>
Public Member Functions | |
void | addHepMCData (HepMC::GenEvent *evt) |
void | applyVtxGen (HepMC::FourVector *vtxShift) const |
void | boostToLab (TMatrixD *lorentz, std::string type) const |
const HepMC::GenEvent * | GetEvent () const |
const HepMC::GenEvent & | getHepMCData () const |
HepMCProduct () | |
HepMCProduct (HepMC::GenEvent *evt) | |
HepMCProduct (HepMCProduct const &orig) | |
bool | isPBoostApplied () const |
bool | isVtxBoostApplied () const |
bool | isVtxGenApplied () const |
HepMCProduct & | operator= (HepMCProduct const &other) |
void | swap (HepMCProduct &other) |
virtual | ~HepMCProduct () |
Private Attributes | |
HepMC::GenEvent * | evt_ |
bool | isPBoostApplied_ |
bool | isVtxBoostApplied_ |
bool | isVtxGenApplied_ |
Definition at line 18 of file HepMCProduct.h.
|
inline |
Definition at line 20 of file HepMCProduct.h.
|
explicit |
|
virtual |
Definition at line 27 of file HepMCProduct.cc.
HepMCProduct::HepMCProduct | ( | HepMCProduct const & | orig | ) |
Definition at line 153 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, and isVtxGenApplied_.
void HepMCProduct::addHepMCData | ( | HepMC::GenEvent * | evt | ) |
Definition at line 35 of file HepMCProduct.cc.
void HepMCProduct::applyVtxGen | ( | HepMC::FourVector * | vtxShift | ) | const |
Definition at line 45 of file HepMCProduct.cc.
References reco::return(), edmStreamStallGrapher::t, funct::true, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
void HepMCProduct::boostToLab | ( | TMatrixD * | lorentz, |
std::string | type | ||
) | const |
Definition at line 70 of file HepMCProduct.cc.
References gather_cfg::cout, p4, reco::return(), and funct::true.
|
inline |
Definition at line 35 of file HepMCProduct.h.
References evt_.
Referenced by edm::TestMix::analyze(), MuScleFitPlotter::fillGen(), MuScleFitUtils::findGenMuFromRes(), MuScleFitMuonSelector::findGenMuFromRes(), MixEvtVtxGenerator::getVertex(), and GenParticleProducer::produce().
const HepMC::GenEvent & HepMCProduct::getHepMCData | ( | ) | const |
Definition at line 147 of file HepMCProduct.cc.
Referenced by edm::refhelper::FindTrait< edm::HepMCProduct, HepMC::GenVertex >::Find::operator()().
|
inline |
|
inline |
|
inline |
Definition at line 37 of file HepMCProduct.h.
References isVtxGenApplied_.
Referenced by MixEvtVtxGenerator::getVertex().
HepMCProduct & HepMCProduct::operator= | ( | HepMCProduct const & | other | ) |
Definition at line 175 of file HepMCProduct.cc.
References swap(), and groupFilesInBlocks::temp.
void HepMCProduct::swap | ( | HepMCProduct & | other | ) |
Definition at line 165 of file HepMCProduct.cc.
References evt_, isPBoostApplied_, isVtxBoostApplied_, isVtxGenApplied_, and std::swap().
Referenced by operator=().
|
private |
Definition at line 46 of file HepMCProduct.h.
Referenced by GetEvent(), HepMCProduct(), and swap().
|
mutableprivate |
Definition at line 50 of file HepMCProduct.h.
Referenced by HepMCProduct(), isPBoostApplied(), and swap().
|
mutableprivate |
Definition at line 49 of file HepMCProduct.h.
Referenced by HepMCProduct(), isVtxBoostApplied(), and swap().
|
mutableprivate |
Definition at line 48 of file HepMCProduct.h.
Referenced by HepMCProduct(), isVtxGenApplied(), and swap().