Geometry
CaloGeometry
interface
CaloCellCrossing.h
Go to the documentation of this file.
1
#ifndef GEOMETRY_CALOGEOMETRY_CALOCELLCROSSING_H
2
#define GEOMETRY_CALOGEOMETRY_CALOCELLCROSSING_H 1
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
6
7
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
8
9
#include <vector>
10
#include <string>
11
12
class
CaloCellCrossing
{
13
public
:
14
typedef
std::vector<DetId>
DetIds
;
15
typedef
std::vector<GlobalPoint>
Points
;
16
typedef
std::vector<double>
Lengths
;
17
18
CaloCellCrossing
(
const
GlobalPoint
&
gp
,
19
const
GlobalVector
&
gv
,
20
const
DetIds
* di,
21
const
CaloSubdetectorGeometry
* sg,
22
DetId::Detector
det,
23
int
subdet,
24
double
small = 1.
e
-10,
25
bool
onewayonly =
false
);
26
27
virtual
~CaloCellCrossing
(){};
28
29
const
GlobalPoint
&
gp
()
const
{
return
m_gp
; }
30
const
GlobalVector
&
gv
()
const
{
return
m_gv
; }
31
32
const
DetIds
&
detIds
()
const
{
return
m_detId
; }
33
const
Points
&
centers
()
const
{
return
m_ctr
; }
34
const
Points
&
entrances
()
const
{
return
m_entr
; }
35
const
Points
&
exits
()
const
{
return
m_exit
; }
36
const
Lengths
&
lengths
()
const
{
return
m_len
; }
37
38
CaloCellCrossing
(
const
CaloCellCrossing
&) =
delete
;
39
CaloCellCrossing
operator=
(
const
CaloCellCrossing
&) =
delete
;
40
41
private
:
42
GlobalPoint
m_gp
;
43
GlobalVector
m_gv
;
44
45
DetIds
m_detId
;
46
47
Points
m_ctr
;
48
49
Points
m_entr
;
50
Points
m_exit
;
51
Lengths
m_len
;
52
};
53
54
std::ostream&
operator<<
(std::ostream&
s
,
const
CaloCellCrossing
& cell);
55
56
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
CaloCellCrossing::gp
const GlobalPoint & gp() const
Definition:
CaloCellCrossing.h:29
CaloCellCrossing::CaloCellCrossing
CaloCellCrossing(const GlobalPoint &gp, const GlobalVector &gv, const DetIds *di, const CaloSubdetectorGeometry *sg, DetId::Detector det, int subdet, double small=1.e-10, bool onewayonly=false)
Definition:
CaloCellCrossing.cc:5
CaloCellCrossing::m_detId
DetIds m_detId
Definition:
CaloCellCrossing.h:45
operator<<
std::ostream & operator<<(std::ostream &s, const CaloCellCrossing &cell)
CaloCellCrossing::DetIds
std::vector< DetId > DetIds
Definition:
CaloCellCrossing.h:14
CaloCellCrossing::m_gp
GlobalPoint m_gp
Definition:
CaloCellCrossing.h:42
CaloCellCrossing::gv
const GlobalVector & gv() const
Definition:
CaloCellCrossing.h:30
CaloCellCrossing::detIds
const DetIds & detIds() const
Definition:
CaloCellCrossing.h:32
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
CaloCellCrossing::m_entr
Points m_entr
Definition:
CaloCellCrossing.h:49
CaloCellCrossing
Definition:
CaloCellCrossing.h:12
CaloCellCrossing::centers
const Points & centers() const
Definition:
CaloCellCrossing.h:33
CaloCellCrossing::Lengths
std::vector< double > Lengths
Definition:
CaloCellCrossing.h:16
Point3DBase< float, GlobalTag >
CaloCellCrossing::m_gv
GlobalVector m_gv
Definition:
CaloCellCrossing.h:43
CaloSubdetectorGeometry.h
CaloCellCrossing::operator=
CaloCellCrossing operator=(const CaloCellCrossing &)=delete
CaloCellCrossing::entrances
const Points & entrances() const
Definition:
CaloCellCrossing.h:34
CaloCellCrossing::m_exit
Points m_exit
Definition:
CaloCellCrossing.h:50
CaloCellCrossing::Points
std::vector< GlobalPoint > Points
Definition:
CaloCellCrossing.h:15
DetId::Detector
Detector
Definition:
DetId.h:24
GlobalVector.h
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
CaloCellCrossing::exits
const Points & exits() const
Definition:
CaloCellCrossing.h:35
CaloCellCrossing::lengths
const Lengths & lengths() const
Definition:
CaloCellCrossing.h:36
GlobalPoint.h
CaloCellCrossing::~CaloCellCrossing
virtual ~CaloCellCrossing()
Definition:
CaloCellCrossing.h:27
CaloCellCrossing::m_ctr
Points m_ctr
Definition:
CaloCellCrossing.h:47
CaloCellCrossing::m_len
Lengths m_len
Definition:
CaloCellCrossing.h:51
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16