Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
* $Date: 2010/05/25 16:50:50 $
10
* $Revision: 1.1 $
11
*
12
*/
13
14
#include <iostream>
15
16
class
CaloCellId
{
17
18
public
:
19
20
enum
System
{
Barrel
=1,
Endcap
=2,
Forward
=3 };
21
22
CaloCellId
(
double
theEtaMin,
double
theEtaMax,
double
thePhiMin,
double
thePhiMax,
System
theSubSys );
23
CaloCellId
(
const
CaloCellId
& );
24
virtual
~CaloCellId
();
25
26
double
getEtaMin
()
const
{
return
etaMin
; }
27
double
getEtaMax
()
const
{
return
etaMax
; }
28
double
getPhiMin
()
const
{
return
phiMin
; }
29
double
getPhiMax
()
const
{
return
phiMax
; }
30
System
getSubSys
()
const
{
return
subSys
; }
31
32
bool
operator==
(
const
CaloCellId
&)
const
;
33
34
bool
isInCell
(
double
thisEta,
double
thisPhi);
35
36
double
getThetaCell
();
37
38
private
:
39
40
double
etaMin
;
41
double
etaMax
;
42
double
phiMin
;
43
double
phiMax
;
44
System
subSys
;
45
46
};
47
48
std::ostream&
operator<<
(std::ostream&,
const
CaloCellId
&);
49
#endif
50
CaloCellId::getThetaCell
double getThetaCell()
Definition:
CaloCellId.cc:49
CaloCellId::operator==
bool operator==(const CaloCellId &) const
Definition:
CaloCellId.cc:31
CaloCellId::System
System
Definition:
CaloCellId.h:20
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
CaloCellId
Definition:
CaloCellId.h:16
CaloCellId::getEtaMin
double getEtaMin() const
Definition:
CaloCellId.h:26
CaloCellId::CaloCellId
CaloCellId(double theEtaMin, double theEtaMax, double thePhiMin, double thePhiMax, System theSubSys)
Definition:
CaloCellId.cc:21
CaloCellId::getPhiMax
double getPhiMax() const
Definition:
CaloCellId.h:29
CaloCellId::getEtaMax
double getEtaMax() const
Definition:
CaloCellId.h:27
CaloCellId::Barrel
Definition:
CaloCellId.h:20
CaloCellId::getSubSys
System getSubSys() const
Definition:
CaloCellId.h:30
CaloCellId::~CaloCellId
virtual ~CaloCellId()
Definition:
CaloCellId.cc:29
CaloCellId::getPhiMin
double getPhiMin() const
Definition:
CaloCellId.h:28
CaloCellId::Endcap
Definition:
CaloCellId.h:20
CaloCellId::isInCell
bool isInCell(double thisEta, double thisPhi)
Definition:
CaloCellId.cc:37
CaloCellId::phiMin
double phiMin
Definition:
CaloCellId.h:42
CaloCellId::Forward
Definition:
CaloCellId.h:20
CaloCellId::subSys
System subSys
Definition:
CaloCellId.h:44
CaloCellId::phiMax
double phiMax
Definition:
CaloCellId.h:43
CaloCellId::etaMax
double etaMax
Definition:
CaloCellId.h:41
CaloCellId::etaMin
double etaMin
Definition:
CaloCellId.h:40
Generated for CMSSW Reference Manual by
1.8.5