]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/UNICOR/AliDAnalSingle.h
Added seperate methods to write histograms to a file when not using the task framework
[u/mrichter/AliRoot.git] / PWG2 / UNICOR / AliDAnalSingle.h
1 // Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2007
2
3 //=============================================================================
4 // single particle analyzer
5 //=============================================================================
6
7 #ifndef ALIDANALSINGLE_H
8 #define ALIDANALSINGLE_H
9
10 #include "AliDAnal.h"
11 class AliDEvent;
12 class AliDHN;
13
14 //=============================================================================
15 class AliDAnalSingle : public AliDAnal {
16    
17  public:
18   AliDAnalSingle(Char_t *nam="single", 
19               Double_t emi=-1, Double_t ema=1, 
20               Int_t pid=0);                       // constructor
21   virtual ~AliDAnalSingle(){}                        // destructor
22   void Process(AliDEvent *ev);                       // fill histograms
23
24  protected:
25   Int_t    fPid;                                  // pid; 0 means all
26   Double_t fMass;                                 // mass (if pid!=0)
27
28   ClassDef(AliDAnalSingle,1)
29 };
30 //=============================================================================
31 #endif