SimDataFormats
SimHitMaker
interface
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
9
#include "
SimDataFormats/CaloHit/interface/PCaloHit.h
"
10
#include "
SimDataFormats/CaloHit/interface/PCaloHitContainer.h
"
11
12
#include <string>
13
#include <vector>
14
15
class
CaloSlaveSD
{
16
public
:
17
typedef
std::vector<PCaloHit>
Collection
;
18
typedef
Collection::iterator
iterator
;
19
typedef
Collection::const_iterator
const_iterator
;
20
21
CaloSlaveSD
(
std::string
);
22
virtual
~CaloSlaveSD
();
23
virtual
void
Initialize
();
24
std::string
name
()
const
{
return
name_
; }
25
virtual
bool
processHits
(uint32_t,
double
,
double
,
double
,
int
, uint16_t
depth
= 0);
26
virtual
bool
format
();
27
Collection
&
hits
() {
return
hits_
; }
28
std::string
type
() {
return
"calo"
; }
29
virtual
const_iterator
begin
() {
return
hits_
.begin(); }
30
virtual
const_iterator
end
() {
return
hits_
.end(); }
31
virtual
void
Clean
();
32
virtual
void
ReserveMemory
(
unsigned
int
size
);
33
34
protected
:
35
Collection
hits_
;
36
37
private
:
38
std::string
name_
;
39
};
40
41
#endif // CaloSlaveSD_h
CaloSlaveSD::~CaloSlaveSD
virtual ~CaloSlaveSD()
Definition:
CaloSlaveSD.cc:18
CaloSlaveSD::Collection
std::vector< PCaloHit > Collection
Definition:
CaloSlaveSD.h:17
CaloSlaveSD::Clean
virtual void Clean()
Definition:
CaloSlaveSD.cc:37
CaloSlaveSD::processHits
virtual bool processHits(uint32_t, double, double, double, int, uint16_t depth=0)
Definition:
CaloSlaveSD.cc:30
CaloSlaveSD::end
virtual const_iterator end()
Definition:
CaloSlaveSD.h:30
CaloSlaveSD
Definition:
CaloSlaveSD.h:15
CaloSlaveSD::hits
Collection & hits()
Definition:
CaloSlaveSD.h:27
CaloSlaveSD::ReserveMemory
virtual void ReserveMemory(unsigned int size)
Definition:
CaloSlaveSD.cc:42
CaloSlaveSD::iterator
Collection::iterator iterator
Definition:
CaloSlaveSD.h:18
LEDCalibrationChannels.depth
depth
Definition:
LEDCalibrationChannels.py:65
CaloSlaveSD::CaloSlaveSD
CaloSlaveSD(std::string)
Definition:
CaloSlaveSD.cc:14
PCaloHit.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloSlaveSD::hits_
Collection hits_
Definition:
CaloSlaveSD.h:35
CaloSlaveSD::begin
virtual const_iterator begin()
Definition:
CaloSlaveSD.h:29
CaloSlaveSD::format
virtual bool format()
Definition:
CaloSlaveSD.cc:25
CaloSlaveSD::const_iterator
Collection::const_iterator const_iterator
Definition:
CaloSlaveSD.h:19
PCaloHitContainer.h
CaloSlaveSD::name
std::string name() const
Definition:
CaloSlaveSD.h:24
CaloSlaveSD::type
std::string type()
Definition:
CaloSlaveSD.h:28
CaloSlaveSD::name_
std::string name_
Definition:
CaloSlaveSD.h:38
CaloSlaveSD::Initialize
virtual void Initialize()
Definition:
CaloSlaveSD.cc:20
findQualityFiles.size
size
Write out results.
Definition:
findQualityFiles.py:443
Generated for CMSSW Reference Manual by
1.8.16