/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Public Attributes
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

Definition at line 19 of file PerSimHitCollection.h.


Constructor & Destructor Documentation

PerSimHitCollection::PerSimHitCollection ( )

Definition at line 3 of file PerSimHitCollection.cc.

  : detId(),
    hits()
{
}
PerSimHitCollection::PerSimHitCollection ( short int  detId,
const phit_container in_hits 
)

Definition at line 9 of file PerSimHitCollection.cc.

  : detId(detId),
    hits(in_hits)
{
}
PerSimHitCollection::~PerSimHitCollection ( )

Definition at line 15 of file PerSimHitCollection.cc.

{
    detId = 0;
    for (size_t ind=0; ind<hits.size(); ++ind) {
        delete hits[ind];
    }
    hits.clear();
}

Member Data Documentation

Definition at line 25 of file PerSimHitCollection.h.

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 Fri May 16 2014 10:07:23 for PerSimEvent by doxygen 1.7.4