PandaRoot
PndAnalysisTask.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 PNDANALYSISTASK_H
14 #define PNDANALYSISTASK_H 1
15 
16 #include "FairTask.h"
17 #include <map>
18 #include <string>
19 
20 class TClonesArray;
21 class TObjectArray;
22 class TH1F;
23 
29 #include "RhoSimpleKaonSelector.h"
30 #include "RhoSimpleMuonSelector.h"
31 #include "RhoSimplePionSelector.h"
33 
34 class PndAnalysisTask : public FairTask {
35 
36  public:
37  typedef std::map<Int_t, Float_t> mapper;
38 
41 
44 
46  virtual InitStatus Init();
47 
49  virtual void Exec(Option_t *opt);
50 
51  virtual void Finish();
52  // void CreateStructure();
53 
54  protected:
55  int evcount;
56 
57  // **** some basic selectors
58  //
59  // RhoChargedParticleSelector *chargedSel;
63 
64  // **** mass selectors for the resonances/composites
65  //
71 
73  TH1F *phimass;
74  TH1F *pi0mass;
75  TH1F *dsmass;
76  TH1F *ds0mass;
77  TH1F *ppmass;
78 
79  TH1F *nmult;
80 
81  private:
83  TClonesArray *fChargedArray;
84  TClonesArray *fNeutralArray;
85 
89  virtual void SetParContainers();
90 
91  ClassDef(PndAnalysisTask, 1);
92 };
93 
94 #endif
RhoSimpleKaonSelector * kSel
std::map< Int_t, Float_t > mapper
virtual void Exec(Option_t *opt)
RhoMassParticleSelector * phiMSel
RhoMinusParticleSelector * minusSel
RhoNeutralParticleSelector * neutralSel
virtual void Finish()
virtual InitStatus Init()
RhoSimplePionSelector * piSel
RhoMassParticleSelector * dsMSel
RhoPlusParticleSelector * plusSel
RhoMassParticleSelector * pi0MSel