PandaRoot
PndJPsiExample.h
Go to the documentation of this file.
1 #ifndef PNDJPSIEXAMPLE_H
2 #define PNDJPSIEXAMPLE_H 1
3 
4 #include "FairTask.h"
5 #include "TH1F.h"
6 #include "TFile.h"
7 #include "TVector3.h"
8 #include "TLorentzVector.h"
9 #include <map>
10 #include <string>
11 
12 class TClonesArray;
13 class TObjectArray;
14 
15 class PndJPsiExample : public FairTask {
16 
17  public:
18  typedef std::map<Int_t, Float_t> mapper;
19 
22 
25 
27  virtual InitStatus Init();
28 
30  virtual void Exec(Option_t *opt);
31 
32  virtual void Finish();
33  // void CreateStructure();
34 
35  protected:
36  TLorentzVector track1;
37  TLorentzVector track2;
38 
40  TH1D *fInvMass;
41 
42  private:
44  TClonesArray *fTrArray;
45 
49  virtual void SetParContainers();
50 
51  ClassDef(PndJPsiExample, 1);
52 };
53 
54 #endif
virtual void Finish()
std::map< Int_t, Float_t > mapper
TLorentzVector track1
virtual InitStatus Init()
virtual void Exec(Option_t *opt)
TLorentzVector track2