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);
63 struct Find :
public std::binary_function<edm::HepMCProduct const&, int, HepMC::GenParticle const*> {
65 self::result_type operator () (self::first_argument_type iContainer,
66 self::second_argument_type iBarCode)
67 {
return iContainer.getHepMCData().barcode_to_particle(iBarCode); }
75 struct Find :
public std::binary_function<edm::HepMCProduct const&, int, HepMC::GenVertex const*> {
78 self::result_type operator () (self::first_argument_type iContainer,
79 self::second_argument_type iBarCode)
80 {
return iContainer.
getHepMCData().barcode_to_vertex(iBarCode); }
88 #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