src
SimDataFormats
CaloHit
src
CastorShowerEvent.cc
Go to the documentation of this file.
1
#include "
SimDataFormats/CaloHit/interface/CastorShowerEvent.h
"
2
#include <iostream>
3
4
CastorShowerEvent::CastorShowerEvent
() {
5
// Clear();
6
// std::cout << "\n *** CastorShowerEvent object created *** " << std::endl;
7
}
8
9
CastorShowerEvent::~CastorShowerEvent
() {}
10
11
void
CastorShowerEvent::Clear
(Option_t*
option
) {
12
nhit
= 0;
13
detID
.clear();
14
hitPosition
.clear();
15
nphotons
.clear();
16
time
.clear();
17
primaryEnergy
= 0.;
18
primEta
= 0.;
19
primPhi
= 0.;
20
primX
= 0.;
21
primY
= 0.;
22
primZ
= 0.;
23
}
CastorShowerEvent::Clear
void Clear(Option_t *option="") override
Definition:
CastorShowerEvent.cc:11
CastorShowerEvent.h
CastorShowerEvent::primEta
float primEta
Definition:
CastorShowerEvent.h:33
CastorShowerEvent::~CastorShowerEvent
~CastorShowerEvent() override
Definition:
CastorShowerEvent.cc:9
CastorShowerEvent::primPhi
float primPhi
Definition:
CastorShowerEvent.h:33
CastorShowerEvent::hitPosition
std::vector< Point > hitPosition
Definition:
CastorShowerEvent.h:29
CastorShowerEvent::CastorShowerEvent
CastorShowerEvent()
Definition:
CastorShowerEvent.cc:4
CastorShowerEvent::nphotons
std::vector< float > nphotons
Definition:
CastorShowerEvent.h:30
CastorShowerEvent::detID
std::vector< unsigned int > detID
Definition:
CastorShowerEvent.h:28
CastorShowerEvent::primaryEnergy
float primaryEnergy
Definition:
CastorShowerEvent.h:32
CastorShowerEvent::primX
float primX
Definition:
CastorShowerEvent.h:34
CastorShowerEvent::primZ
float primZ
Definition:
CastorShowerEvent.h:34
CastorShowerEvent::time
std::vector< float > time
Definition:
CastorShowerEvent.h:31
CastorShowerEvent::nhit
unsigned int nhit
Definition:
CastorShowerEvent.h:27
fileinputsource_cfi.option
option
Definition:
fileinputsource_cfi.py:88
CastorShowerEvent::primY
float primY
Definition:
CastorShowerEvent.h:34
Generated for CMSSW Reference Manual by
1.8.14