CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PhotosInterface53XLegacy.h
Go to the documentation of this file.
1 #ifndef gen_PhotosInterface_PhotosInterface53XLegacy_h
2 #define gen_PhotosInterface_PhotosInterface53XLegacy_h
3 
4 // #include "HepPDT/ParticleDataTable.hh"
5 
9 #include "HepMC/SimpleVector.h"
10 #include "CLHEP/Random/RandomEngine.h"
12 
13 namespace HepMC {
14  class GenEvent;
15  class GenVertex;
16  class SimpleVector;
17 }
18 
19 
20 
21 namespace gen {
22 
24  public:
25 
26  // ctor & dtor
30 
31  void SetDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine);
32  void init();
33  const std::vector<std::string>& specialSettings() { return fSpecialSettings; }
34  HepMC::GenEvent* apply( HepMC::GenEvent* );
36 
37  private:
38 
39  struct Scaling {
40  HepMC::ThreeVector weights;
41  int flag;
42  Scaling( HepMC::ThreeVector vec, int flg )
43  : weights(HepMC::ThreeVector(1.,1.,1)), flag(1) { weights=vec; flag=flg; }
44  };
45 
46  int fOnlyPDG;
48  std::vector<int> fBarcodes;
50 
51  void attachParticles( HepMC::GenEvent*, HepMC::GenVertex*, int );
52 
53  };
54 
55 }
56 
57 #endif
void attachParticles(HepMC::GenEvent *, HepMC::GenVertex *, int)
long int flag
Definition: mlp_lapack.h:47
HepMC::GenEvent * apply(HepMC::GenEvent *)
CLHEP::HepRandomEngine * decayRandomEngine
const std::vector< std::string > & specialSettings()
void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
Scaling(HepMC::ThreeVector vec, int flg)
std::vector< std::string > fSpecialSettings