1 #ifndef ALITPCCALIBTRIGGER_H
2 #define ALITPCCALIBTRIGGER_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 #include "AliTPCcalibBase.h"
11 #include "TObjArray.h"
20 class AliTPCcalibLaser;
23 #include "TTreeStream.h"
27 class AliTPCcalibTrigger:public AliTPCcalibBase {
30 AliTPCcalibTrigger(const Text_t *name, const Text_t *title);
31 virtual ~AliTPCcalibTrigger();
32 virtual void Process(AliESDEvent *event);
33 virtual Long64_t Merge(TCollection *li);
34 virtual void Analyze(){;}
35 THnSparse * GetHisto(const char *trigger);
36 void AddHisto(const char *trigger, THnSparse *his);
37 THnSparse *MakeHisto(const char* trigger);
39 TTree * MakeTree(const char *fname);
40 void MakeTree(TTreeStream &pcstream, const char *tname);
41 Bool_t HasTOF(TObjString *tname);
42 Bool_t HasACORDE(TObjString *tname);
43 Bool_t HasPIXEL(TObjString *tname);
44 Int_t HasTRD(TObjString *tname);
46 TMap *fHisMap; // map of the histogram per trigger class
47 void Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);};
48 void Process(AliTPCseed *track){return AliTPCcalibBase::Process(track);}
50 AliTPCcalibTrigger(const AliTPCcalibTrigger&); // Not implemented
51 AliTPCcalibTrigger& operator=(const AliTPCcalibTrigger&); // Not implemented
53 ClassDef(AliTPCcalibTrigger, 1);