AliPhysics  608b256 (608b256)
AliAnalysisTaskSVtaskMCFilter.h
Go to the documentation of this file.
1 #ifndef AliAnalysisTaskSVtaskMCFilter_H
2 #define AliAnalysisTaskSVtaskMCFilter_H
3 
4 /**************************************************************************
5  * Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
6  * *
7  * Author: The ALICE Off-line Project. *
8  * Contributors are mentioned in the code where appropriate. *
9  * *
10  * Permission to use, copy, modify and distribute this software and its *
11  * documentation strictly for non-commercial purposes is hereby granted *
12  * without fee, provided that the above copyright notice appears in all *
13  * copies and that both the copyright notice and this permission notice *
14  * appear in the supporting documentation. The authors make no claims *
15  * about the suitability of this software for any purpose. It is *
16  * provided "as is" without express or implied warranty. *
17  **************************************************************************/
18 
19 //-----------------------------------------------------------------------
20 // Author : Filip Krizek
21 //-----------------------------------------------------------------------
22 
23 
24 #include "AliAnalysisTaskEmcal.h"
25 
26 class TString;
27 class TClonesArray;
28 class AliAODMCHeader;
29 class AliStack;
31 
33 {
34 
35  public:
36 
40 
42  Bool_t Run();
43 
44  void SetInputTracksName(const Char_t* name){ fInputTracksName = name; }
45  void SetFilteredTracksName(const Char_t* name){ fFilteredTracksName = name; }
46  void SetFilterType(Bool_t param) {fFilterType = param; }
47 
48  protected:
49  void ExecOnce();
50 
51 
52  TClonesArray *fFilteredTracksArray;
53  TString fFilteredTracksName; // name of output container
54  TString fInputTracksName; // name of input container
55  Bool_t fFilterType; // filtering for tracks=1 or mcParticles=0 //AID
56 
58  AliAODMCHeader *fMCHeader;
59  TClonesArray *fMCPartArray;
60 
61 
62  private:
63 
66 
67  ClassDef(AliAnalysisTaskSVtaskMCFilter, 2);
68 };
69 
70 #endif
Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
Base task in the EMCAL framework.
char Char_t
Definition: External.C:18
void SetFilteredTracksName(const Char_t *name)
AliAnalysisTaskSVtaskMCFilter & operator=(const AliAnalysisTaskSVtaskMCFilter &source)
TString fFilteredTracksName
output PYTHIA only tracks
bool Bool_t
Definition: External.C:53
void ExecOnce()
Perform steps needed to initialize the analysis.