1 #ifndef SimDataFormats_GeneratorProducts_HepMCProduct_h
2 #define SimDataFormats_GeneratorProducts_HepMCProduct_h
13 #include <HepMC/GenEvent.h>
14 #include <HepMC/SimpleVector.h>
30 void applyVtxGen(HepMC::FourVector *vtxShift)
const;
59 struct Find :
public std::binary_function<edm::HepMCProduct const&, int, HepMC::GenParticle const*> {
61 self::result_type operator () (self::first_argument_type iContainer,
62 self::second_argument_type iBarCode)
63 {
return iContainer.getHepMCData().barcode_to_particle(iBarCode); }
71 struct Find :
public std::binary_function<edm::HepMCProduct const&, int, HepMC::GenVertex const*> {
74 self::result_type operator () (self::first_argument_type iContainer,
75 self::second_argument_type iBarCode)
76 {
return iContainer.
getHepMCData().barcode_to_vertex(iBarCode); }
84 #endif // SimDataFormats_GeneratorProducts_HepMCProduct_h
bool isVtxBoostApplied() const
void swap(HepMCProduct &other)
void addHepMCData(HepMC::GenEvent *evt)
void applyVtxGen(HepMC::FourVector *vtxShift) const
HepMCProduct & operator=(HepMCProduct const &other)
const HepMC::GenEvent & getHepMCData() const
bool isPBoostApplied() const
const HepMC::GenEvent * GetEvent() const
bool isVtxGenApplied() const
void boostToLab(TMatrixD *lorentz, std::string type) const