1 #ifndef SimDataFormats_GeneratorProducts_HepMCProduct_h
2 #define SimDataFormats_GeneratorProducts_HepMCProduct_h
12 #include <HepMC/GenEvent.h>
13 #include <HepMC/SimpleVector.h>
29 void applyVtxGen(HepMC::FourVector *vtxShift)
const;
58 struct Find :
public std::binary_function<edm::HepMCProduct const&, int, HepMC::GenParticle const*> {
60 self::result_type operator () (self::first_argument_type iContainer,
61 self::second_argument_type iBarCode)
62 {
return iContainer.getHepMCData().barcode_to_particle(iBarCode); }
70 struct Find :
public std::binary_function<edm::HepMCProduct const&, int, HepMC::GenVertex const*> {
73 self::result_type operator () (self::first_argument_type iContainer,
74 self::second_argument_type iBarCode)
75 {
return iContainer.
getHepMCData().barcode_to_vertex(iBarCode); }
83 #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
volatile std::atomic< bool > shutdown_flag false