CMS 3D CMS Logo

CaloSlaveSD.h
Go to the documentation of this file.
1 // File: CaloSlaveSD.h
3 // Date: 10.02
4 // Description: Interfaces CaloHit to appropriate container for ORCA usage
6 #ifndef CaloSlaveSD_h
7 #define CaloSlaveSD_h
8 
12 
13 #include <string>
14 #include <vector>
15 
16 class CaloSlaveSD {
17 public:
18  typedef std::vector<PCaloHit> Collection;
19  typedef Collection::iterator iterator;
20  typedef Collection::const_iterator const_iterator;
21 
23  virtual ~CaloSlaveSD();
24  virtual void Initialize();
25  std::string name() const { return name_; }
26  virtual bool processHits(uint32_t, double, double, double, int, uint16_t depth = 0);
27  virtual bool format();
28  Collection &hits() { return hits_; }
29  std::string type() { return "calo"; }
30  virtual const_iterator begin() { return hits_.begin(); }
31  virtual const_iterator end() { return hits_.end(); }
32  virtual void Clean();
33  virtual void ReserveMemory(unsigned int size);
34 
35 protected:
37 
38 private:
40 };
41 
42 #endif // CaloSlaveSD_h
MessageLogger.h
CaloSlaveSD::~CaloSlaveSD
virtual ~CaloSlaveSD()
Definition: CaloSlaveSD.cc:17
CaloSlaveSD::Collection
std::vector< PCaloHit > Collection
Definition: CaloSlaveSD.h:18
CaloSlaveSD::Clean
virtual void Clean()
Definition: CaloSlaveSD.cc:36
CaloSlaveSD::processHits
virtual bool processHits(uint32_t, double, double, double, int, uint16_t depth=0)
Definition: CaloSlaveSD.cc:29
CaloSlaveSD::end
virtual const_iterator end()
Definition: CaloSlaveSD.h:31
CaloSlaveSD
Definition: CaloSlaveSD.h:16
CaloSlaveSD::hits
Collection & hits()
Definition: CaloSlaveSD.h:28
CaloSlaveSD::ReserveMemory
virtual void ReserveMemory(unsigned int size)
Definition: CaloSlaveSD.cc:41
CaloSlaveSD::iterator
Collection::iterator iterator
Definition: CaloSlaveSD.h:19
LEDCalibrationChannels.depth
depth
Definition: LEDCalibrationChannels.py:65
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CaloSlaveSD::CaloSlaveSD
CaloSlaveSD(std::string)
Definition: CaloSlaveSD.cc:13
PCaloHit.h
CaloSlaveSD::hits_
Collection hits_
Definition: CaloSlaveSD.h:36
CaloSlaveSD::begin
virtual const_iterator begin()
Definition: CaloSlaveSD.h:30
CaloSlaveSD::format
virtual bool format()
Definition: CaloSlaveSD.cc:24
CaloSlaveSD::const_iterator
Collection::const_iterator const_iterator
Definition: CaloSlaveSD.h:20
PCaloHitContainer.h
CaloSlaveSD::name
std::string name() const
Definition: CaloSlaveSD.h:25
CaloSlaveSD::type
std::string type()
Definition: CaloSlaveSD.h:29
CaloSlaveSD::name_
std::string name_
Definition: CaloSlaveSD.h:39
CaloSlaveSD::Initialize
virtual void Initialize()
Definition: CaloSlaveSD.cc:19
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443