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