Possibility to keep only D mesons that have a c or b quark as a grandmother (Francesc...
[u/mrichter/AliRoot.git] / PWG3 / hfe / AliHFEtrdPIDqaV1.h
CommitLineData
27de2dfb 1#ifndef ALIHFETRDPIDQAV1_H
2#define ALIHFETRDPIDQAV1_H
3
3a72645a 4/**************************************************************************
5* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6* *
7* Author: The ALICE Off-line Project. *
8* Contributors are mentioned in the code where appropriate. *
9* *
10* Permission to use, copy, modify and distribute this software and its *
11* documentation strictly for non-commercial purposes is hereby granted *
12* without fee, provided that the above copyright notice appears in all *
13* copies and that both the copyright notice and this permission notice *
14* appear in the supporting documentation. The authors make no claims *
15* about the suitability of this software for any purpose. It is *
16* provided "as is" without express or implied warranty. *
17**************************************************************************/
27de2dfb 18
19/* $Id$ */
20
3a72645a 21//
22// Class AliHFEtrdPIDqaV1
23// Monitoring TRD PID in the HFE PID montioring framework.
24// More information can be found inside the implementation file
25//
3a72645a 26#ifndef ALIHFEDETPIDQAV1_H
27#include "AliHFEdetPIDqa.h"
28#endif
29
30class AliESDtrack;
31class AliAODTrack;
32class AliHFEcollection;
33class AliHFEpidObject;
e3ae862b 34class TBrowser;
3a72645a 35class TCollection;
36
37class AliHFEtrdPIDqaV1 : public AliHFEdetPIDqa{
38 public:
39 AliHFEtrdPIDqaV1();
40 AliHFEtrdPIDqaV1(const Char_t *name);
41 AliHFEtrdPIDqaV1(const AliHFEtrdPIDqaV1 &c);
42 AliHFEtrdPIDqaV1 &operator=(const AliHFEtrdPIDqaV1 &o);
43 ~AliHFEtrdPIDqaV1(){}
e3ae862b 44 virtual Long64_t Merge(TCollection *coll);
45 virtual void Browse(TBrowser *b);
46 virtual Bool_t IsFolder() const { return kTRUE; };
3a72645a 47
48 virtual void Initialize();
6555e2ad 49 virtual void ProcessTrack(const AliHFEpidObject *track, AliHFEdetPIDqa::EStep_t step);
3a72645a 50
51 TH2 *MakeTPCspectrumNsigma(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
e3ae862b 52 TH2 *MakeTRDspectrumTM(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
3a72645a 53 TH2 *MakeTRDlikelihoodDistribution(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
54 TH2 *MakeTRDchargeDistribution(AliHFEdetPIDqa::EStep_t step, Int_t species = -1);
55 protected:
56 void ProcessESDtrack(const AliESDtrack *esdtrack, AliHFEdetPIDqa::EStep_t step, Int_t species);
57 void ProcessAODtrack(const AliAODTrack *aodtrack, AliHFEdetPIDqa::EStep_t step, Int_t species);
58 AliHFEcollection *fHistos; // QA histograms
59
60 ClassDef(AliHFEtrdPIDqaV1, 1) // Base class for detector PID QA
61};
62
63#endif