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

In This Package:

PerSimHitCollection.cc

Go to the documentation of this file.
00001 #include "PerSimEvent/PerSimHitCollection.h"
00002 
00003 PerSimHitCollection::PerSimHitCollection()
00004   : detId(),
00005     hits()
00006 {
00007 }
00008 
00009 PerSimHitCollection::PerSimHitCollection(short int detId, 
00010                                          const phit_container& in_hits)
00011   : detId(detId),
00012     hits(in_hits)
00013 {
00014 }
00015 PerSimHitCollection::~PerSimHitCollection()
00016 {
00017     detId = 0;
00018     for (size_t ind=0; ind<hits.size(); ++ind) {
00019         delete hits[ind];
00020     }
00021     hits.clear();
00022 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

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