ROOT logo
/**************************************************************************
* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
*                                                                        *
* Author: The ALICE Off-line Project.                                    *
* Contributors are mentioned in the code where appropriate.              *
*                                                                        *
* Permission to use, copy, modify and distribute this software and its   *
* documentation strictly for non-commercial purposes is hereby granted   *
* without fee, provided that the above copyright notice appears in all   *
* copies and that both the copyright notice and this permission notice   *
* appear in the supporting documentation. The authors make no claims     *
* about the suitability of this software for any purpose. It is          *
* provided "as is" without express or implied warranty.                  *
**************************************************************************/
//
// Cut step class
// Select all tracks surviving cuts in one special cut step
// Used in AliHFEtrackFilter
// 
#ifndef ALIHFECUTSTEP_H
#define ALIHFECUTSTEP_H

#include <TNamed.h>

class TObjArray;
class AliAnalysisCuts;
class AliMCEvent;
class AliVEvent;

class AliHFEcutStep : public TNamed{
    public:
      AliHFEcutStep(const Char_t *name);
      AliHFEcutStep(const AliHFEcutStep &o);
      AliHFEcutStep &operator=(const AliHFEcutStep &o);
      virtual void Copy(TObject &o) const;
      ~AliHFEcutStep();
      
      void AddCut(AliAnalysisCuts *cut);
      AliAnalysisCuts *GetCut(const Char_t *name);
      Bool_t IsSelected(TObject *o);

      void SetMC(const AliMCEvent *mc);
      void SetRecEvent(const AliVEvent *mc);

    private:
      TObjArray *fCuts; // List of cuts in one cut step
      
      ClassDef(AliHFEcutStep, 1)
};
#endif

 AliHFEcutStep.h:1
 AliHFEcutStep.h:2
 AliHFEcutStep.h:3
 AliHFEcutStep.h:4
 AliHFEcutStep.h:5
 AliHFEcutStep.h:6
 AliHFEcutStep.h:7
 AliHFEcutStep.h:8
 AliHFEcutStep.h:9
 AliHFEcutStep.h:10
 AliHFEcutStep.h:11
 AliHFEcutStep.h:12
 AliHFEcutStep.h:13
 AliHFEcutStep.h:14
 AliHFEcutStep.h:15
 AliHFEcutStep.h:16
 AliHFEcutStep.h:17
 AliHFEcutStep.h:18
 AliHFEcutStep.h:19
 AliHFEcutStep.h:20
 AliHFEcutStep.h:21
 AliHFEcutStep.h:22
 AliHFEcutStep.h:23
 AliHFEcutStep.h:24
 AliHFEcutStep.h:25
 AliHFEcutStep.h:26
 AliHFEcutStep.h:27
 AliHFEcutStep.h:28
 AliHFEcutStep.h:29
 AliHFEcutStep.h:30
 AliHFEcutStep.h:31
 AliHFEcutStep.h:32
 AliHFEcutStep.h:33
 AliHFEcutStep.h:34
 AliHFEcutStep.h:35
 AliHFEcutStep.h:36
 AliHFEcutStep.h:37
 AliHFEcutStep.h:38
 AliHFEcutStep.h:39
 AliHFEcutStep.h:40
 AliHFEcutStep.h:41
 AliHFEcutStep.h:42
 AliHFEcutStep.h:43
 AliHFEcutStep.h:44
 AliHFEcutStep.h:45
 AliHFEcutStep.h:46
 AliHFEcutStep.h:47
 AliHFEcutStep.h:48
 AliHFEcutStep.h:49
 AliHFEcutStep.h:50
 AliHFEcutStep.h:51