PandaRoot
PndAnaWithTrigger.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef PndAnaWithTrigger_H
14 #define PndAnaWithTrigger_H 1
15 
16 #include "FairTask.h"
17 #include "TFile.h"
18 #include <map>
19 #include <string>
20 #include "TLorentzVector.h"
21 
22 class TClonesArray;
23 class TH1F;
24 class TH2F;
25 class TDatabasePDG;
26 
28 class PndAnalysis;
29 class RhoCandList;
30 class RhoCandidate;
31 class RhoTuple;
32 class PndRhoTupleQA;
33 
34 class PndAnaWithTrigger : public FairTask {
35 
36  public:
37  // ** Default constructor
38  PndAnaWithTrigger(double pbarmom, TString outname);
39 
40  // ** Destructor
42 
43  // ** Virtual method Init
44  virtual InitStatus Init();
45 
46  // ** Virtual method Exec
47  virtual void Exec(Option_t *opt);
48 
49  virtual void Finish();
50 
51  protected:
52  private:
53  // *** event counter
54  int fEvtCount;
55 
56  // *** the initial 4-vector
57  TLorentzVector fIni;
58 
59  // *** the PndAnalysis object
60  PndAnalysis *fAnalysis;
61  TDatabasePDG *fPdg;
62  TFile *fFile;
63  TString fOutName;
64 
65  // *******
66  // ******* DECLARE THE STUFF YOU NEED
67  // *******
68 
69  RhoTuple *ntp1;
70  RhoTuple *ntp2;
71  RhoTuple *nmc;
72 
73  RhoMassParticleSelector *jpsiMassSel;
74  RhoMassParticleSelector *jpsiPreMassSel;
75 
76  // TCA to access software trigger info
77  TClonesArray *fOnlineFilterInfo;
78 
79  ClassDef(PndAnaWithTrigger, 1);
80 };
81 
82 #endif
virtual void Exec(Option_t *opt)
PndAnaWithTrigger(double pbarmom, TString outname)
virtual InitStatus Init()
virtual void Finish()