Main Page
Namespaces
Classes
Package Documentation
DataFormats
ParticleFlowReco
interface
CaloBox.h
Go to the documentation of this file.
1
/*
2
* CaloBox.h
3
*
4
* Created on: 11-May-2009
5
* Author: jamie
6
*/
7
8
#ifndef CALOBOX_H_
9
#define CALOBOX_H_
10
11
#include <map>
12
#include <utility>
13
#include <iostream>
14
#include <string>
15
namespace
pftools
{
16
17
class
CaloBox
{
18
public
:
19
CaloBox
(
double
centerEta,
double
centerPhi,
double
dEta
,
double
dPhi
,
20
unsigned
nEta
,
unsigned
nPhi
);
21
virtual
~CaloBox
();
22
23
bool
fill
(
double
eta
,
double
phi,
double
energy
);
24
25
void
reset
();
26
27
double
centerEta_
;
28
double
centerPhi_
;
29
double
dEta_
;
30
double
dPhi_
;
31
unsigned
nEta_
;
32
unsigned
nPhi_
;
33
34
int
etaPosBound_
;
35
int
etaNegBound_
;
36
int
phiPosBound_
;
37
int
phiNegBound_
;
38
39
void
test
();
40
41
const
std::map<std::pair<int, int>,
double
>&
energies
()
const
{
42
return
energies_
;
43
}
44
45
std::ostream&
dump
(std::ostream& stream,
double
norm = 1.0,
std::string
rowDelim =
"\n"
)
const
;
46
47
private
:
48
std::map<std::pair<int, int>,
double
>
energies_
;
49
CaloBox
() =
delete
;
50
51
};
52
53
std::ostream&
operator<<
(std::ostream& stream,
const
CaloBox
& cb);
54
55
}
56
57
#endif
/* CALOBOX_H_ */
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PVValHelper::eta
Definition:
PVValidationHelpers.h:65
pftools::CaloBox::fill
bool fill(double eta, double phi, double energy)
Definition:
CaloBox.cc:61
pftools::CaloBox::reset
void reset()
Definition:
CaloBox.cc:48
pftools::CaloBox::test
void test()
Definition:
CaloBox.cc:103
pftools::CaloBox::etaNegBound_
int etaNegBound_
Definition:
CaloBox.h:35
pftools::CaloBox::centerEta_
double centerEta_
Definition:
CaloBox.h:27
pftools::CaloBox
Definition:
CaloBox.h:17
pftools::CaloBox::phiPosBound_
int phiPosBound_
Definition:
CaloBox.h:36
pftools::CaloBox::etaPosBound_
int etaPosBound_
Definition:
CaloBox.h:34
pftools::CaloBox::dEta_
double dEta_
Definition:
CaloBox.h:29
pftools::CaloBox::~CaloBox
virtual ~CaloBox()
Definition:
CaloBox.cc:57
pftools
Definition:
Calibratable.h:15
pftools::CaloBox::nPhi_
unsigned nPhi_
Definition:
CaloBox.h:32
pftools::CaloBox::energies
const std::map< std::pair< int, int >, double > & energies() const
Definition:
CaloBox.h:41
pftools::CaloBox::energies_
std::map< std::pair< int, int >, double > energies_
Definition:
CaloBox.h:48
pftools::CaloBox::phiNegBound_
int phiNegBound_
Definition:
CaloBox.h:37
randomXiThetaGunProducer_cfi.energy
energy
Definition:
randomXiThetaGunProducer_cfi.py:6
pftools::CaloBox::centerPhi_
double centerPhi_
Definition:
CaloBox.h:28
pftools::CaloBox::CaloBox
CaloBox()=delete
particleFlow_cfi.dPhi
dPhi
Definition:
particleFlow_cfi.py:80
pftools::CaloBox::dump
std::ostream & dump(std::ostream &stream, double norm=1.0, std::string rowDelim="\n") const
Definition:
CaloBox.cc:82
DetIdAssociatorESProducer_cff.nEta
nEta
Definition:
DetIdAssociatorESProducer_cff.py:8
pftools::operator<<
std::ostream & operator<<(std::ostream &s, const Calibratable &calib_)
Definition:
Calibratable.cc:6
pftools::CaloBox::dPhi_
double dPhi_
Definition:
CaloBox.h:30
pftools::CaloBox::nEta_
unsigned nEta_
Definition:
CaloBox.h:31
particleFlow_cfi.dEta
dEta
Definition:
particleFlow_cfi.py:79
DetIdAssociatorESProducer_cff.nPhi
nPhi
Definition:
DetIdAssociatorESProducer_cff.py:9
Generated for CMSSW Reference Manual by
1.8.11