Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoTBCalo
EcalTBAnalysisCoreTools
interface
TBPositionCalc.h
Go to the documentation of this file.
1
#ifndef TBPositionCalc_h
2
#define TBPositionCalc_h
3
4
#include "CLHEP/Vector/ThreeVector.h"
5
#include "CLHEP/Vector/Rotation.h"
6
#include "Rtypes.h"
7
8
#include <fstream>
9
#include <vector>
10
#include <cmath>
11
#include <map>
12
13
#include "
DataFormats/EcalRecHit/interface/EcalRecHit.h
"
14
#include "
DataFormats/EcalRecHit/interface/EcalRecHitCollections.h
"
15
#include "
DataFormats/EcalDetId/interface/EBDetId.h
"
16
#include "
DataFormats/Math/interface/Point3D.h
"
17
#include "
Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h
"
18
#include "
Geometry/CaloGeometry/interface/CaloCellGeometry.h
"
19
#include "
Geometry/CaloGeometry/interface/TruncatedPyramid.h
"
20
#include "
Geometry/EcalTestBeam/interface/EcalTBCrystalMap.h
"
21
22
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
23
#include "CLHEP/Units/GlobalSystemOfUnits.h"
24
25
class
TBPositionCalc
{
26
public
:
27
TBPositionCalc
(
const
std::map<std::string, double>& providedParameters,
28
const
std::string
& mapFile,
29
const
CaloSubdetectorGeometry
* passedGeometry);
30
31
TBPositionCalc
(){};
32
33
~TBPositionCalc
();
34
35
CLHEP::Hep3Vector
CalculateTBPos
(
const
std::vector<EBDetId>& passedDetIds,
36
int
myCrystal,
37
EcalRecHitCollection
const
* passedRecHitsMap);
38
39
CLHEP::Hep3Vector
CalculateCMSPos
(
const
std::vector<EBDetId>& passedDetIds,
40
int
myCrystal,
41
EcalRecHitCollection
const
* passedRecHitsMap);
42
43
void
computeRotation
(
int
myCrystal, CLHEP::HepRotation& CMStoTB);
44
45
private
:
46
bool
param_LogWeighted_
;
47
Double32_t
param_X0_
;
48
Double32_t
param_T0_
;
49
Double32_t
param_W0_
;
50
51
EcalTBCrystalMap
*
theTestMap
;
52
53
const
CaloSubdetectorGeometry
*
theGeometry_
;
54
};
55
56
#endif
MessageLogger.h
EBDetId.h
edm::SortedCollection< EcalRecHit >
EcalRecHitCollections.h
TBPositionCalc::theGeometry_
const CaloSubdetectorGeometry * theGeometry_
Definition:
TBPositionCalc.h:53
TBPositionCalc::CalculateTBPos
CLHEP::Hep3Vector CalculateTBPos(const std::vector< EBDetId > &passedDetIds, int myCrystal, EcalRecHitCollection const *passedRecHitsMap)
Definition:
TBPositionCalc.cc:27
TBPositionCalc::param_LogWeighted_
bool param_LogWeighted_
Definition:
TBPositionCalc.h:46
TBPositionCalc::CalculateCMSPos
CLHEP::Hep3Vector CalculateCMSPos(const std::vector< EBDetId > &passedDetIds, int myCrystal, EcalRecHitCollection const *passedRecHitsMap)
Definition:
TBPositionCalc.cc:59
TruncatedPyramid.h
EcalTBCrystalMap
Definition:
EcalTBCrystalMap.h:17
TBPositionCalc::param_X0_
Double32_t param_X0_
Definition:
TBPositionCalc.h:47
TBPositionCalc::~TBPositionCalc
~TBPositionCalc()
Definition:
TBPositionCalc.cc:22
TBPositionCalc::param_W0_
Double32_t param_W0_
Definition:
TBPositionCalc.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
CaloSubdetectorGeometry.h
TBPositionCalc::theTestMap
EcalTBCrystalMap * theTestMap
Definition:
TBPositionCalc.h:51
EcalRecHit.h
TBPositionCalc::TBPositionCalc
TBPositionCalc()
Definition:
TBPositionCalc.h:31
EcalTBCrystalMap.h
CaloCellGeometry.h
Point3D.h
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
TBPositionCalc
Definition:
TBPositionCalc.h:25
TBPositionCalc::computeRotation
void computeRotation(int myCrystal, CLHEP::HepRotation &CMStoTB)
Definition:
TBPositionCalc.cc:138
TBPositionCalc::param_T0_
Double32_t param_T0_
Definition:
TBPositionCalc.h:48
Generated for CMSSW Reference Manual by
1.8.16