]> git.uio.no Git - u/mrichter/AliRoot.git/blame - 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
CommitLineData
7148817a 1// Author: Dariusz Miskowiec <mailto:d.miskowiec@gsi.de> 2007
2
5a6d201c 3//=============================================================================
4// single particle analyzer
5//=============================================================================
6
7148817a 7#ifndef ALIDANALSINGLE_H
8#define ALIDANALSINGLE_H
9
10#include "AliDAnal.h"
11class AliDEvent;
12class AliDHN;
13
14//=============================================================================
15class 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