Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Validation
EventGenerator
interface
CaloCellId.h
Go to the documentation of this file.
1
#ifndef Validation_EventGenerator_CaloCellId
2
#define Validation_EventGenerator_CaloCellId
3
4
/* class CaloCellId
5
*
6
* Simple eta-phi cell identifier, mimic calorimetric tower structure
7
* phi is stored in radians
8
*
9
*
10
*/
11
12
#include <iostream>
13
14
class
CaloCellId
{
15
16
public
:
17
18
enum
System
{
Barrel
=1,
Endcap
=2,
Forward
=3 };
19
20
CaloCellId
(
double
theEtaMin,
double
theEtaMax,
double
thePhiMin,
double
thePhiMax,
System
theSubSys );
21
CaloCellId
(
const
CaloCellId
& );
22
virtual
~CaloCellId
();
23
24
double
getEtaMin
()
const
{
return
etaMin
; }
25
double
getEtaMax
()
const
{
return
etaMax
; }
26
double
getPhiMin
()
const
{
return
phiMin
; }
27
double
getPhiMax
()
const
{
return
phiMax
; }
28
System
getSubSys
()
const
{
return
subSys
; }
29
30
bool
operator==
(
const
CaloCellId
&)
const
;
31
32
bool
isInCell
(
double
thisEta,
double
thisPhi);
33
34
double
getThetaCell
();
35
36
private
:
37
38
double
etaMin
;
39
double
etaMax
;
40
double
phiMin
;
41
double
phiMax
;
42
System
subSys
;
43
44
};
45
46
std::ostream&
operator<<
(std::ostream&,
const
CaloCellId
&);
47
#endif
48
CaloCellId::getThetaCell
double getThetaCell()
Definition:
CaloCellId.cc:47
CaloCellId::operator==
bool operator==(const CaloCellId &) const
Definition:
CaloCellId.cc:29
CaloCellId::System
System
Definition:
CaloCellId.h:18
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CaloCellId
Definition:
CaloCellId.h:14
CaloCellId::getEtaMin
double getEtaMin() const
Definition:
CaloCellId.h:24
CaloCellId::CaloCellId
CaloCellId(double theEtaMin, double theEtaMax, double thePhiMin, double thePhiMax, System theSubSys)
Definition:
CaloCellId.cc:19
CaloCellId::getPhiMax
double getPhiMax() const
Definition:
CaloCellId.h:27
CaloCellId::getEtaMax
double getEtaMax() const
Definition:
CaloCellId.h:25
CaloCellId::Barrel
Definition:
CaloCellId.h:18
CaloCellId::getSubSys
System getSubSys() const
Definition:
CaloCellId.h:28
CaloCellId::~CaloCellId
virtual ~CaloCellId()
Definition:
CaloCellId.cc:27
CaloCellId::getPhiMin
double getPhiMin() const
Definition:
CaloCellId.h:26
CaloCellId::Endcap
Definition:
CaloCellId.h:18
CaloCellId::isInCell
bool isInCell(double thisEta, double thisPhi)
Definition:
CaloCellId.cc:35
CaloCellId::phiMin
double phiMin
Definition:
CaloCellId.h:40
CaloCellId::Forward
Definition:
CaloCellId.h:18
CaloCellId::subSys
System subSys
Definition:
CaloCellId.h:42
CaloCellId::phiMax
double phiMax
Definition:
CaloCellId.h:41
CaloCellId::etaMax
double etaMax
Definition:
CaloCellId.h:39
CaloCellId::etaMin
double etaMin
Definition:
CaloCellId.h:38
Generated for CMSSW Reference Manual by
1.8.5