StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StEpdCollection.cxx
1 
5 /***************************************************************************
6  *
7  * $Id: StEpdCollection.cxx,v 2.1 2018/02/08 17:35:02 ullrich Exp $
8  *
9  * Author: Mike Lisa, Jan 2018
10  ***************************************************************************
11  *
12  * Description: see header file
13  *
14  ***************************************************************************
15  *
16  * $Log: StEpdCollection.cxx,v $
17  * Revision 2.1 2018/02/08 17:35:02 ullrich
18  * Initial Revision.
19  *
20  **************************************************************************/
21 #include "StEpdCollection.h"
22 
23 //static const char rcsid[] = "$Id: StEpdCollection.cxx,v 2.1 2018/02/08 17:35:02 ullrich Exp $";
24 
25 ClassImp(StEpdCollection)
26 
28 {
29  /* no-op */
30 }
31 
32 StEpdCollection::~StEpdCollection()
33 {
34  /* no-op */
35 }
36 
37 const StSPtrVecEpdHit&
38 StEpdCollection::epdHits() const { return mEpdHits; }
39 
40 StSPtrVecEpdHit&
41 StEpdCollection::epdHits() { return mEpdHits; }
42 
43 
44 void
45 StEpdCollection::addHit(const StEpdHit* aHit)
46 {
47  if (aHit) mEpdHits.push_back(aHit);
48 }
49 
50 bool
51 StEpdCollection::hitsPresent() const { return mEpdHits.size(); }
52 
Stores information for tiles in STAR Event Plane Detector.
Definition: StEpdHit.h:43