]>
Commit | Line | Data |
---|---|---|
762e8424 | 1 | #ifndef ALIJETRANDOMIZERTASK_H |
2 | #define ALIJETRANDOMIZERTASK_H | |
3 | ||
4 | // $Id$ | |
5 | ||
6 | class TClonesArray; | |
7 | ||
8 | #include "AliJetModelBaseTask.h" | |
9 | ||
10 | class AliJetRandomizerTask : public AliJetModelBaseTask { | |
11 | public: | |
12 | AliJetRandomizerTask(); | |
13 | AliJetRandomizerTask(const char *name); | |
14 | virtual ~AliJetRandomizerTask(); | |
15 | ||
58285fc6 | 16 | void SetRandomizeEta(Int_t opt = 1) { fRandomizeEta = opt; } |
17 | ||
ffe32451 | 18 | void UserExec(Option_t* /*option*/); |
762e8424 | 19 | |
58285fc6 | 20 | |
762e8424 | 21 | protected: |
ffe32451 | 22 | void Run(); |
762e8424 | 23 | |
58285fc6 | 24 | Int_t fRandomizeEta; //0 = do not randomize eta; 1 = randomize eta uniformly; 2 = invert eta sign |
25 | ||
762e8424 | 26 | private: |
27 | AliJetRandomizerTask(const AliJetRandomizerTask&); // not implemented | |
28 | AliJetRandomizerTask &operator=(const AliJetRandomizerTask&); // not implemented | |
29 | ||
4643d2e8 | 30 | ClassDef(AliJetRandomizerTask, 2) // Jet randomizer task |
762e8424 | 31 | }; |
32 | #endif |