SimMuon
CSCDigitizer
src
CSCDetectorHit.h
Go to the documentation of this file.
1
#ifndef MU_END_DETECTOR_HIT_H
2
#define MU_END_DETECTOR_HIT_H
3
13
#include <iosfwd>
14
class
PSimHit
;
15
16
class
CSCDetectorHit
{
17
public
:
18
CSCDetectorHit
(
int
element,
float
charge
,
float
position
,
float
time
,
const
PSimHit
*hitp)
19
:
theElement
(element),
theCharge
(
charge
),
thePosition
(
position
),
theTime
(
time
),
theHitp
(hitp) {}
20
21
int
getElement
()
const
{
return
theElement
; }
22
float
getCharge
()
const
{
return
theCharge
; }
23
float
getPosition
()
const
{
return
thePosition
; }
24
float
getTime
()
const
{
return
theTime
; }
25
const
PSimHit
*
getSimHit
()
const
{
return
theHitp
; }
26
27
friend
std::ostream &
operator<<
(std::ostream &,
const
CSCDetectorHit
&);
28
29
private
:
31
int
theElement
;
32
float
theCharge
;
34
float
thePosition
;
36
float
theTime
;
38
const
PSimHit
*
theHitp
;
39
};
40
41
#endif
CSCDetectorHit::theCharge
float theCharge
Definition:
CSCDetectorHit.h:32
CSCDetectorHit::CSCDetectorHit
CSCDetectorHit(int element, float charge, float position, float time, const PSimHit *hitp)
Definition:
CSCDetectorHit.h:18
protons_cff.time
time
Definition:
protons_cff.py:35
CSCDetectorHit::getTime
float getTime() const
Definition:
CSCDetectorHit.h:24
CSCDetectorHit::theTime
float theTime
start counting time at the beam crossing
Definition:
CSCDetectorHit.h:36
CSCDetectorHit::theElement
int theElement
strip or wire number
Definition:
CSCDetectorHit.h:31
CSCDetectorHit
Definition:
CSCDetectorHit.h:16
CSCDetectorHit::getSimHit
const PSimHit * getSimHit() const
Definition:
CSCDetectorHit.h:25
CSCDetectorHit::thePosition
float thePosition
the position is along the element, with (0,0) the center of the chamber
Definition:
CSCDetectorHit.h:34
CSCDetectorHit::getPosition
float getPosition() const
Definition:
CSCDetectorHit.h:23
CSCDetectorHit::operator<<
friend std::ostream & operator<<(std::ostream &, const CSCDetectorHit &)
Definition:
CSCDetectorHit.cc:4
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition:
ALCARECOTkAlJpsiMuMu_cff.py:47
position
static int position[264][3]
Definition:
ReadPGInfo.cc:289
CSCDetectorHit::getCharge
float getCharge() const
Definition:
CSCDetectorHit.h:22
CSCDetectorHit::theHitp
const PSimHit * theHitp
theSimHit that created this hit
Definition:
CSCDetectorHit.h:38
PSimHit
Definition:
PSimHit.h:15
CSCDetectorHit::getElement
int getElement() const
Definition:
CSCDetectorHit.h:21
Generated for CMSSW Reference Manual by
1.8.16