]>
Commit | Line | Data |
---|---|---|
26ba01d4 | 1 | #ifndef ALIAODMUONREPLICATOR_H |
2 | #define ALIAODMUONREPLICATOR_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | // $Id$ | |
8 | ||
9 | ||
10 | #ifndef ALIDAODBRANCHREPLICATOR_H | |
11 | # include "AliAODBranchReplicator.h" | |
12 | #endif | |
13 | ||
14 | class AliAnalysisCuts; | |
15 | class TClonesArray; | |
16 | ||
17 | class AliAODMuonReplicator : public AliAODBranchReplicator | |
18 | { | |
19 | public: | |
20 | AliAODMuonReplicator(const char* name="AliAODMuonReplicator", | |
21 | const char* title="Branch Replicator for muon related branches", | |
22 | AliAnalysisCuts* trackCut=0x0, | |
23 | AliAnalysisCuts* vertexCut=0x0); | |
24 | virtual ~AliAODMuonReplicator(); | |
25 | ||
26 | virtual TList* GetList() const; | |
27 | ||
28 | virtual void ReplicateAndFilter(const AliAODEvent& source); | |
29 | ||
30 | public: | |
31 | AliAnalysisCuts* fTrackCut; // decides which tracks to keep | |
32 | mutable TClonesArray* fTracks; //! internal array of muon tracks | |
33 | AliAnalysisCuts* fVertexCut; // decides which vertices to keep | |
34 | mutable TClonesArray* fVertices; //! internal array of vertices | |
35 | mutable TList* fList; //! internal list of managed objects (fVertices and fTracks) | |
36 | ||
37 | private: | |
38 | AliAODMuonReplicator(const AliAODMuonReplicator&); | |
39 | AliAODMuonReplicator& operator=(const AliAODMuonReplicator&); | |
40 | ||
41 | ClassDef(AliAODMuonReplicator,1) // Branch replicator for ESD to muon AOD. | |
42 | }; | |
43 | ||
44 | #endif |