Geometry
HcalCommonData
interface
HcalHitRelabeller.h
Go to the documentation of this file.
1
#ifndef SimCalorimetry_HcalSimProducers_HcalHitRelabeller_h
2
#define SimCalorimetry_HcalSimProducers_HcalHitRelabeller_h 1
3
4
#include <vector>
5
#include "
SimDataFormats/CaloHit/interface/PCaloHit.h
"
6
#include "
DataFormats/DetId/interface/DetId.h
"
7
#include "
Geometry/HcalCommonData/interface/HcalDDDRecConstants.h
"
8
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
9
10
class
HcalHitRelabeller
{
11
public
:
12
HcalHitRelabeller
(
bool
nd =
false
);
13
void
process
(std::vector<PCaloHit>& hcalHits);
14
void
setGeometry
(
const
HcalDDDRecConstants
*&);
15
DetId
relabel
(
const
uint32_t testId)
const
;
16
static
DetId
relabel
(
const
uint32_t testId,
const
HcalDDDRecConstants
*
theRecNumber
);
17
18
private
:
19
double
energyWt
(
const
uint32_t testId)
const
;
20
21
const
HcalDDDRecConstants
*
theRecNumber
;
22
bool
neutralDensity_
;
23
};
24
#endif
HcalHitRelabeller::setGeometry
void setGeometry(const HcalDDDRecConstants *&)
Definition:
HcalHitRelabeller.cc:47
HcalHitRelabeller::neutralDensity_
bool neutralDensity_
Definition:
HcalHitRelabeller.h:22
DetId
Definition:
DetId.h:17
PCaloHit.h
HcalHitRelabeller::relabel
DetId relabel(const uint32_t testId) const
Definition:
HcalHitRelabeller.cc:49
DetId.h
HcalDDDRecConstants.h
HcalHitRelabeller::theRecNumber
const HcalDDDRecConstants * theRecNumber
Definition:
HcalHitRelabeller.h:21
HcalHitRelabeller::process
void process(std::vector< PCaloHit > &hcalHits)
Definition:
HcalHitRelabeller.cc:16
HcalDDDRecConstants
Definition:
HcalDDDRecConstants.h:23
HcalHitRelabeller::energyWt
double energyWt(const uint32_t testId) const
Definition:
HcalHitRelabeller.cc:88
HcalHitRelabeller
Definition:
HcalHitRelabeller.h:10
HcalHitRelabeller::HcalHitRelabeller
HcalHitRelabeller(bool nd=false)
Definition:
HcalHitRelabeller.cc:9
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16