1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 // Class AliHFEpidQAmanager
18 // More information can be found inside the implementation file
20 #ifndef ALIHFEPIDQAMANAGER_H
21 #define ALIHFEPIDQAMANAGER_H
28 #include "AliHFEpid.h"
31 #ifndef ALIHFEDETPIDQA_H
32 #include "AliHFEdetPIDqa.h"
39 class AliHFEpidObject;
41 class AliHFEpidQAmanager : public TObject{
44 AliHFEpidQAmanager(const AliHFEpidQAmanager &ref);
45 AliHFEpidQAmanager &operator=(const AliHFEpidQAmanager &ref);
46 void Copy(TObject &o) const;
47 ~AliHFEpidQAmanager();
49 void Initialize(AliHFEpid *pid);
50 void ProcessTrack(const AliHFEpidObject *track, AliHFEpid::EDETtype_t det, AliHFEdetPIDqa::EStep_t step);
51 AliHFEdetPIDqa *GetDetectorPIDqa(AliHFEpid::EDETtype_t detector) const { return fDetPIDqa[detector]; }
52 AliHFEpidBase *GetDetectorPID(AliHFEpid::EDETtype_t detector) const { return fDetPID[detector]; }
53 TList *MakeList(const Char_t *name);
54 void SetHighResolutionHistos() { SetBit(kHighResolutionHistos, kTRUE); };
55 Bool_t HasHighResolutionHistos() const { return TestBit(kHighResolutionHistos); }
60 kHighResolutionHistos = BIT(15)
62 Bool_t IsOwner() const { return TestBit(kIsOwner); }
63 void SetOwner() { SetBit(kIsOwner, kTRUE); }
64 void ReleaseOwnerShip() { SetBit(kIsOwner, kFALSE); }
65 void CreateDetPIDqa(AliHFEpid::EDETtype_t detector);
68 AliHFEdetPIDqa *fDetPIDqa[AliHFEpid::kNdetectorPID]; //! Detector PID QA objects
69 AliHFEpidBase *fDetPID[AliHFEpid::kNdetectorPID]; // Detector PID objects
71 ClassDef(AliHFEpidQAmanager, 0)