remove option C for Clear for trigger array for the moment, causes malloc error
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnCutDaughterType.h
CommitLineData
2dab9030 1//
2// Class AliRsnCutRange
3//
4// General implementation of cuts which check a value inside a range.
5// This range can be defined by two integers or two doubles.
6// A user-friendly enumeration allows to define what is checked.
7//
8// authors: Martin Vala (martin.vala@cern.ch)
9// Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
10//
11
12#ifndef ALIRSNCUTDAUGHTERTYPE_H
13#define ALIRSNCUTDAUGHTERTYPE_H
14
15#include "AliRsnCut.h"
16
17class AliRsnCutDaughterType : public AliRsnCut
18{
19 public:
20
21 enum EType
22 {
23 kTrackTPC,
24 kTrackITSSA,
25 kV0,
26 kTypes
27 };
28
29 AliRsnCutDaughterType();
30 AliRsnCutDaughterType(const char *name, EType type);
31 virtual ~AliRsnCutDaughterType() {;};
32
32992791 33 virtual Bool_t IsSelected(TObject *object);
2dab9030 34
35 protected:
36
37 EType fRefType; // type to which the track format is compared
38
39 ClassDef(AliRsnCutDaughterType, 1)
40};
41
42#endif