1 #ifndef ALITRDV0MONITOR_H
2 #define ALITRDV0MONITOR_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 /////////////////////////////////////////////////////
12 // Markus Heide <mheide@uni-muenster.de>
13 //////////////////////////////////////////////////////
15 #ifndef ALITRDRECOTASK_H
16 #include "AliTRDrecoTask.h"
21 #ifndef ALITRDV0INFO_H
22 #include "info/AliTRDv0Info.h"
29 class AliTRDv0Monitor : public AliTRDrecoTask
34 ,kNPlots = 13 // Number of plots for this task
40 AliTRDv0Monitor(const char *name);
41 virtual ~AliTRDv0Monitor(){};
43 Bool_t GetRefFigure(Int_t ifig);
45 void UserExec(Option_t *option);
49 AliTRDv0Monitor(const AliTRDv0Monitor&); // not implemented
50 AliTRDv0Monitor& operator=(const AliTRDv0Monitor&); // not implemented
52 TH1I *fhCutReductions[AliPID::kSPECIES];//!histo for sample reductions by each ID cut
53 TH1I *fhQualityReductions;//!histo for sample reductions by each quality cut
54 TH2F *fhV0Chi2ndf[AliTRDv0Info::kNDecays][kNCutSteps];//!Chi2/ndf distributions before cuts, after inv. mass cut, after all cuts (same for all arrays below!!!)
55 TH2F *fhInvMass[AliTRDv0Info::kNDecays];//!invariant mass distributions
56 TH2F *fhPsiPair[AliTRDv0Info::kNDecays][kNCutSteps];//!Psi_pair angle distributions
57 TH2F *fhPointAngle[AliTRDv0Info::kNDecays][kNCutSteps];//!pointing angle
58 TH2F *fhDCA[AliTRDv0Info::kNDecays][kNCutSteps];//!Distance of closest approach between daughters
59 TH2F *fhOpenAngle[AliTRDv0Info::kNDecays][kNCutSteps];//!opening angle between daughters
60 TH2F *fhDetPID[kNDets][AliPID::kSPECIES];//!likelihood outputs from different detectors
61 TH2F *fhComPID[AliPID::kSPECIES];//!combined PID from TPC and TOF
62 TH2F *fhRadius[AliTRDv0Info::kNDecays][kNCutSteps];//!radial distance of secondary vertex to primary vertex
63 TH2F *fhTPCdEdx[AliPID::kSPECIES][kNCutSteps];//!energy deposition in TPC
67 TObjArray *fV0s; //! v0 array
68 TTree *fData; //! dEdx-P data
69 TObjArray *fInfo; //! list of PID info
70 Float_t fP; //! momentum
71 Float_t fPID[AliPID::kSPECIES]; //! pid from v0s
73 ClassDef(AliTRDv0Monitor, 3); // V0 Monitor