MINT2
D_hhhh.h
Go to the documentation of this file.
1 /*
2  * MintGen.h
3  *
4  * Created on: May 11, 2011
5  * Author: mcoombes
6  *
7  * Purpose: Interface between Gauss model and MINT
8  */
9 
10 #ifndef GENERATOR_H_
11 #define GENERATOR_H_
12 
13 //C++
14 #include <string>
15 // #include <iostream>
16 #include <vector>
17 
18 //MINT
19 //#include "Mint/SignalGenerator.h"
20 #include "Mint/IDalitzEvent.h"
21 #include "Mint/IMintGen.h"
22 
23 //ROOT
24 // #include "TVector3.h"
25 // #include "TRandom2.h"
26 // #include "TRandom3.h"
27 #include "TRandom.h"
28 // #include <ctime>
29 
30 class TVector3;
31 class SignalGenerator;
32 
33 namespace MINT {
34  class MintGen : virtual public IMintGen{
35  public:
36  MintGen();
37  virtual ~MintGen();
38 
39  void Initalize(const std::vector<int>& pat,
40  TRandom* rnd=gRandom);
41 
42  void SetInputTextFile(std::string inputFile);
43 
44  // Decay Event in parent Rest Frame
45  std::vector<std::vector<double> > DecayEventRFVec();
46 
47  std::vector<double> getDaughterMom(IDalitzEvent* , int );
48 
49  //DalitzEvent
51 
52  private:
53  std::string m_inputFileName;
56  bool m_swap;
57  };
58 }
59 
60 #endif /* MintGen_H_ */
std::vector< double > getDaughterMom(IDalitzEvent *, int)
Definition: D_hhhh.cpp:44
std::string m_inputFileName
Definition: D_hhhh.h:53
IDalitzEvent * m_dE
Definition: D_hhhh.h:54
void SetInputTextFile(std::string inputFile)
Definition: D_hhhh.cpp:38
std::vector< std::vector< double > > DecayEventRFVec()
Definition: D_hhhh.cpp:98
void Initalize(const std::vector< int > &pat, TRandom *rnd=gRandom)
Definition: D_hhhh.cpp:56
void SetDalitzEvent(IDalitzEvent *)
SignalGenerator * m_sg
Definition: D_hhhh.h:55
bool m_swap
Definition: D_hhhh.h:56
virtual ~MintGen()
Definition: D_hhhh.cpp:32