StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StCalibrationVertex.h
1 
9 /***************************************************************************
10  *
11  * $Id: StCalibrationVertex.h,v 2.5 2009/11/23 16:34:05 fisyak Exp $
12  *
13  * Author: Thomas Ullrich, Nov 2001
14  ***************************************************************************
15  *
16  * Description: Concrete implementatin of StVertex to represent
17  * various types of vertices useful for calibration
18  * and diagnostics. No daughters, no parent.
19  *
20  ***************************************************************************
21  *
22  * $Log: StCalibrationVertex.h,v $
23  * Revision 2.5 2009/11/23 16:34:05 fisyak
24  * Cleanup, remove dependence on dst tables, clean up software monitors
25  *
26  * Revision 2.4 2004/11/04 15:43:22 ullrich
27  * Added set funyion for type.
28  *
29  * Revision 2.3 2004/07/15 16:36:23 ullrich
30  * Removed all clone() declerations and definitions. Use StObject::clone() only.
31  *
32  * Revision 2.2 2002/02/22 22:56:46 jeromel
33  * Doxygen basic documentation in all header files. None of this is required
34  * for QM production.
35  *
36  * Revision 2.1 2001/11/10 23:52:14 ullrich
37  * Initial Revision.
38  *
39  **************************************************************************/
40 #ifndef StCalibrationVertex_hh
41 #define StCalibrationVertex_hh
42 #include "StVertex.h"
43 
44 class StCalibrationVertex : public StVertex {
45 public:
47  // StCalibrationVertex(const StCalibrationVertex&); use default
48  // StCalibrationVertex& operator=(const StCalibrationVertex&); use default
49  virtual ~StCalibrationVertex();
50 
51  StVertexId type() const;
52 
53  unsigned int numberOfDaughters() const;
54  StTrack* daughter(unsigned int);
55  const StTrack* daughter(unsigned int) const;
56  StPtrVecTrack daughters(StTrackFilter&);
57 
58  void addDaughter(StTrack*);
59  void removeDaughter(StTrack*);
60  void setType(StVertexId);
61 
62 protected:
63  ClassDef(StCalibrationVertex,1)
64 };
65 #endif