Test for Coverity
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibTrigger.h
CommitLineData
c43e2d89 1#ifndef ALITPCCALIBTRIGGER_H
2#define ALITPCCALIBTRIGGER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include "AliTPCcalibBase.h"
8#include "TH2F.h"
9#include "TF1.h"
10#include "TArrayD.h"
11#include "TObjArray.h"
12
13class TH1F;
14class TH3F;
15class TH2F;
16class THnSparse;
17class TList;
18class AliESDEvent;
19class AliESDtrack;
20class AliTPCcalibLaser;
21class TGraphErrors;
22
23#include "TTreeStream.h"
24#include "TMap.h"
25
26
27class AliTPCcalibTrigger:public AliTPCcalibBase {
28public:
29 AliTPCcalibTrigger();
30 AliTPCcalibTrigger(const Text_t *name, const Text_t *title);
df4d08f8 31 virtual ~AliTPCcalibTrigger();
c43e2d89 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);
38 //
84a3f7f3 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);
c018bcd4 44 Int_t HasTRD(TObjString *tname);
c43e2d89 45public:
46 TMap *fHisMap; // map of the histogram per trigger class
c018bcd4 47 void Process(AliESDtrack *track, Int_t runNo=-1){AliTPCcalibBase::Process(track,runNo);};
48 void Process(AliTPCseed *track){return AliTPCcalibBase::Process(track);}
49private:
50 AliTPCcalibTrigger(const AliTPCcalibTrigger&); // Not implemented
51 AliTPCcalibTrigger& operator=(const AliTPCcalibTrigger&); // Not implemented
52
c43e2d89 53 ClassDef(AliTPCcalibTrigger, 1);
54};
55
56#endif
57
58