]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGPP/ITS/AliTrackMatchingTPCITSCosmics.h
Added matching efficiency for tracks with TOFbc/2==0
[u/mrichter/AliRoot.git] / PWGPP / ITS / AliTrackMatchingTPCITSCosmics.h
CommitLineData
dae0a357 1#ifndef ALITRACKMATCHINGTPCITSCOSMICS_H
2#define ALITRACKMATCHINGTPCITSCOSMICS_H
3
4/* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//*************************************************************************
8// Class AliTrackMatchingTPCITSCosmics
9// AliAnalysisTask to study the matching efficiency of ITS and TPC
10// Author: A.Dainese, andrea.dainese@pd.infn.it
11//*************************************************************************
12
13class TNtuple;
14class TList;
15class TH1F;
16
17#include "AliAnalysisTask.h"
18
19class AliTrackMatchingTPCITSCosmics : public AliAnalysisTask
20{
21 public:
22
23 AliTrackMatchingTPCITSCosmics(const char *name="matching");
24 virtual ~AliTrackMatchingTPCITSCosmics();
25
26
27 // Implementation of interface methods
28 virtual void ConnectInputData(Option_t *);
29 virtual void CreateOutputObjects();
30 virtual void Init();
31 virtual void LocalInit() {Init();}
32 virtual void Exec(Option_t *option);
33 virtual void Terminate(Option_t *option);
34 void SetOnlySPDFO(Bool_t set=kTRUE) {fOnlySPDFO=set;}
35 void SetReadHLTESD(Bool_t set=kTRUE) {fReadHLTESD=set;}
36 void SetGeometryFileName(TString name="geometry.root") {fGeometryFileName=name;}
37
38 private:
39
40
41 AliTrackMatchingTPCITSCosmics(const AliTrackMatchingTPCITSCosmics &source);
42 AliTrackMatchingTPCITSCosmics& operator=(const AliTrackMatchingTPCITSCosmics& source);
43
44 Bool_t fOnlySPDFO; // only fastOR events
45 Bool_t fReadHLTESD; // read the ESD from the HLT tree
46 TString fGeometryFileName; // where to find the geometry.root
47 AliESDEvent *fESD; // ESD object
48 TList *fList; //! list of histos and ntuples: output slot 0
49 TH1F *fHistEvCount; //! output histogram
50 TNtuple *fntTrks; //! output ntuple
51 TNtuple *fntPairs; //! output ntuple
52 TNtuple *fntITSPairs; //! output ntuple
53
54 ClassDef(AliTrackMatchingTPCITSCosmics,2); // AliAnalysisTask to check ITS-TPC matching
55};
56
57#endif
58