| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

PerSimHitCollection Class Reference

Persistent version of SimHitCollection. More...

#include <PerSimHitCollection.h>

List of all members.


Public Types

typedef std::vector< PerSimHit * > phit_container

Public Member Functions

 PerSimHitCollection ()
 PerSimHitCollection (short int detId, const phit_container &in_hits)
 ~PerSimHitCollection ()

Public Attributes

short int detId
phit_container hits

Detailed Description

Persistent version of SimHitCollection.

bv@bnl.gov Thu Aug 14 16:03:55 2008

Definition at line 17 of file PerSimHitCollection.h.


Member Typedef Documentation

typedef std::vector<PerSimHit*> PerSimHitCollection::phit_container

Definition at line 19 of file PerSimHitCollection.h.


Constructor & Destructor Documentation

PerSimHitCollection::PerSimHitCollection (  ) 

Definition at line 3 of file PerSimHitCollection.cc.

00004   : detId(),
00005     hits()
00006 {
00007 }

PerSimHitCollection::PerSimHitCollection ( short int  detId,
const phit_container in_hits 
)

Definition at line 9 of file PerSimHitCollection.cc.

00011   : detId(detId),
00012     hits(in_hits)
00013 {
00014 }

PerSimHitCollection::~PerSimHitCollection (  ) 

Definition at line 15 of file PerSimHitCollection.cc.

00016 {
00017     detId = 0;
00018     for (size_t ind=0; ind<hits.size(); ++ind) {
00019         delete hits[ind];
00020     }
00021     hits.clear();
00022 }


Member Data Documentation

short int PerSimHitCollection::detId

Definition at line 25 of file PerSimHitCollection.h.

phit_container PerSimHitCollection::hits

Definition at line 26 of file PerSimHitCollection.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:35:46 2011 for PerSimEvent by doxygen 1.4.7