StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StFunctional.h
Go to the documentation of this file.
1 
4 /***************************************************************************
5  *
6  * $Id: StFunctional.h,v 2.4 2002/02/22 22:56:48 jeromel Exp $
7  *
8  * Author: Thomas Ullrich, Sep 1999
9  ***************************************************************************
10  *
11  * Description:
12  *
13  ***************************************************************************
14  *
15  * $Log: StFunctional.h,v $
16  * Revision 2.4 2002/02/22 22:56:48 jeromel
17  * Doxygen basic documentation in all header files. None of this is required
18  * for QM production.
19  *
20  * Revision 2.3 2001/04/05 04:00:37 ullrich
21  * Replaced all (U)Long_t by (U)Int_t and all redundant ROOT typedefs.
22  *
23  * Revision 2.2 1999/10/28 22:25:30 ullrich
24  * Adapted new StArray version. First version to compile on Linux and Sun.
25  *
26  * Revision 2.1 1999/10/13 19:43:15 ullrich
27  * Initial Revision
28  *
29  **************************************************************************/
30 #ifndef StFunctional_hh
31 #define StFunctional_hh
32 #include "Rtypes.h"
33 #include "StContainers.h"
34 
35 class StTrack;
36 class StHit;
38 class StTrackPidTraits;
39 
44 {
45  virtual bool operator() (const StTrack*) = 0;
46 };
47 
52 {
53  virtual bool operator() (const StHit*) = 0;
54 };
55 
60 {
61  virtual StParticleDefinition* operator() (const StTrack&, const StSPtrVecTrackPidTraits&) = 0;
62  virtual ~StPidAlgorithm() {}
63 };
64 
65 #endif
Definition: StHit.h:125