test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
MuonAlignmentAlgorithms
interface
MuonResiduals5DOFFitter.h
Go to the documentation of this file.
1
#ifndef Alignment_MuonAlignmentAlgorithms_MuonResiduals5DOFFitter_H
2
#define Alignment_MuonAlignmentAlgorithms_MuonResiduals5DOFFitter_H
3
10
#ifdef STANDALONE_FITTER
11
#include "
MuonResidualsFitter.h
"
12
#else
13
#include "
Alignment/MuonAlignmentAlgorithms/interface/MuonResidualsFitter.h
"
14
#endif
15
16
class
TTree;
17
18
class
MuonResiduals5DOFFitter
:
public
MuonResidualsFitter
19
{
20
public
:
21
enum
{
22
kAlignX
= 0,
23
kAlignZ
,
24
kAlignPhiX
,
25
kAlignPhiY
,
26
kAlignPhiZ
,
27
kResidSigma
,
28
kResSlopeSigma
,
29
kAlpha
,
30
kResidGamma
,
31
kResSlopeGamma
,
32
kNPar
33
};
34
35
enum
{
36
kResid
= 0,
37
kResSlope
,
38
kPositionX
,
39
kPositionY
,
40
kAngleX
,
41
kAngleY
,
42
kRedChi2
,
43
kPz
,
44
kPt
,
45
kCharge
,
46
kStation
,
47
kWheel
,
48
kSector
,
49
kChambW
,
50
kChambl
,
51
kNData
52
};
53
54
MuonResiduals5DOFFitter
(
int
residualsModel
,
int
minHits
,
int
useResiduals
,
bool
weightAlignment
=
true
):
MuonResidualsFitter
(residualsModel, minHits, useResiduals,
weightAlignment
) {}
55
virtual
~MuonResiduals5DOFFitter
(){}
56
57
int
type
()
const
{
return
MuonResidualsFitter::k5DOF
; }
58
59
int
npar
() {
60
if
(
residualsModel
() ==
kPureGaussian
||
residualsModel
() ==
kPureGaussian2D
||
residualsModel
() ==
kGaussPowerTails
)
return
kNPar
- 2;
61
else
if
(
residualsModel
() ==
kPowerLawTails
)
return
kNPar
;
62
else
if
(
residualsModel
() ==
kROOTVoigt
)
return
kNPar
;
63
else
assert
(
false
);
64
}
65
int
ndata
() {
return
kNData
; }
66
67
double
sumofweights
();
68
bool
fit
(
Alignable
*ali);
69
double
plot
(
std::string
name
,
TFileDirectory
*
dir
,
Alignable
*ali);
70
71
void
correctBField
();
72
73
TTree *
readNtuple
(
std::string
fname
,
unsigned
int
wheel,
unsigned
int
station
,
unsigned
int
sector,
unsigned
int
preselected = 1);
74
75
protected
:
76
void
inform
(TMinuit *tMinuit);
77
};
78
79
#endif // Alignment_MuonAlignmentAlgorithms_MuonResiduals5DOFFitter_H
align_cfg.weightAlignment
tuple weightAlignment
Definition:
align_cfg.py:30
MuonResiduals5DOFFitter::kAlignPhiZ
Definition:
MuonResiduals5DOFFitter.h:26
MuonResiduals5DOFFitter::npar
int npar()
Definition:
MuonResiduals5DOFFitter.h:59
MuonResiduals5DOFFitter::kRedChi2
Definition:
MuonResiduals5DOFFitter.h:42
MuonResidualsFitter::kROOTVoigt
Definition:
MuonResidualsFitter.h:86
MuonResiduals5DOFFitter::ndata
int ndata()
Definition:
MuonResiduals5DOFFitter.h:65
MuonResiduals5DOFFitter::kSector
Definition:
MuonResiduals5DOFFitter.h:48
MuonResidualsFitter::kPureGaussian
Definition:
MuonResidualsFitter.h:84
MuonResiduals5DOFFitter::kAlignX
Definition:
MuonResiduals5DOFFitter.h:22
Alignable
Definition:
Alignable.h:29
MuonResiduals5DOFFitter::kPositionY
Definition:
MuonResiduals5DOFFitter.h:39
MuonResiduals5DOFFitter::kPositionX
Definition:
MuonResiduals5DOFFitter.h:38
MuonResiduals5DOFFitter::kNData
Definition:
MuonResiduals5DOFFitter.h:51
MuonResiduals5DOFFitter::kResSlopeSigma
Definition:
MuonResiduals5DOFFitter.h:28
assert
assert(m_qm.get())
MuonResiduals5DOFFitter::kNPar
Definition:
MuonResiduals5DOFFitter.h:32
MuonResiduals5DOFFitter::kCharge
Definition:
MuonResiduals5DOFFitter.h:45
OccupancyClient_cfi.minHits
int minHits
Definition:
OccupancyClient_cfi.py:5
MuonResiduals5DOFFitter::kResSlopeGamma
Definition:
MuonResiduals5DOFFitter.h:31
MuonResidualsFitter::residualsModel
int residualsModel() const
Definition:
MuonResidualsFitter.h:140
MuonResiduals5DOFFitter::MuonResiduals5DOFFitter
MuonResiduals5DOFFitter(int residualsModel, int minHits, int useResiduals, bool weightAlignment=true)
Definition:
MuonResiduals5DOFFitter.h:54
MuonResiduals5DOFFitter::readNtuple
TTree * readNtuple(std::string fname, unsigned int wheel, unsigned int station, unsigned int sector, unsigned int preselected=1)
Definition:
MuonResiduals5DOFFitter.cc:502
MuonResidualsFitter
Definition:
MuonResidualsFitter.h:80
MuonResiduals5DOFFitter::sumofweights
double sumofweights()
Definition:
MuonResiduals5DOFFitter.cc:147
MuonResiduals5DOFFitter::kResidSigma
Definition:
MuonResiduals5DOFFitter.h:27
MuonResiduals5DOFFitter::correctBField
void correctBField()
Definition:
MuonResiduals5DOFFitter.cc:135
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
MuonResidualsFitter.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MuonResidualsFitter::k5DOF
Definition:
MuonResidualsFitter.h:93
MuonResiduals5DOFFitter::fit
bool fit(Alignable *ali)
Definition:
MuonResiduals5DOFFitter.cc:169
MuonResiduals5DOFFitter::kPz
Definition:
MuonResiduals5DOFFitter.h:43
MuonResiduals5DOFFitter::kAlpha
Definition:
MuonResiduals5DOFFitter.h:29
MuonResiduals5DOFFitter::kAlignZ
Definition:
MuonResiduals5DOFFitter.h:23
MuonResiduals5DOFFitter::kPt
Definition:
MuonResiduals5DOFFitter.h:44
MuonResidualsFitter::kPureGaussian2D
Definition:
MuonResidualsFitter.h:88
relativeConstraints.station
tuple station
Definition:
relativeConstraints.py:66
MuonResiduals5DOFFitter::kAlignPhiX
Definition:
MuonResiduals5DOFFitter.h:24
MuonResiduals5DOFFitter::kChambW
Definition:
MuonResiduals5DOFFitter.h:49
MuonResiduals5DOFFitter::kStation
Definition:
MuonResiduals5DOFFitter.h:46
MuonResiduals5DOFFitter::kResid
Definition:
MuonResiduals5DOFFitter.h:36
MuonResiduals5DOFFitter
Definition:
MuonResiduals5DOFFitter.h:18
MuonResiduals5DOFFitter::kAngleX
Definition:
MuonResiduals5DOFFitter.h:40
MuonResiduals5DOFFitter::kAlignPhiY
Definition:
MuonResiduals5DOFFitter.h:25
align_cfg.useResiduals
list useResiduals
Definition:
align_cfg.py:36
MuonResiduals5DOFFitter::plot
double plot(std::string name, TFileDirectory *dir, Alignable *ali)
Definition:
MuonResiduals5DOFFitter.cc:226
MuonResiduals5DOFFitter::type
int type() const
Definition:
MuonResiduals5DOFFitter.h:57
MuonResiduals5DOFFitter::kChambl
Definition:
MuonResiduals5DOFFitter.h:50
MuonResiduals5DOFFitter::kResSlope
Definition:
MuonResiduals5DOFFitter.h:37
alignmentValidation.fname
string fname
main script
Definition:
alignmentValidation.py:957
MuonResidualsFitter::kPowerLawTails
Definition:
MuonResidualsFitter.h:85
TFileDirectory
Definition:
TFileDirectory.h:24
MuonResiduals5DOFFitter::kResidGamma
Definition:
MuonResiduals5DOFFitter.h:30
dir
dbl *** dir
Definition:
mlp_gen.cc:35
MuonResiduals5DOFFitter::inform
void inform(TMinuit *tMinuit)
Definition:
MuonResiduals5DOFFitter.cc:141
MuonResiduals5DOFFitter::~MuonResiduals5DOFFitter
virtual ~MuonResiduals5DOFFitter()
Definition:
MuonResiduals5DOFFitter.h:55
MuonResiduals5DOFFitter::kWheel
Definition:
MuonResiduals5DOFFitter.h:47
MuonResidualsFitter::kGaussPowerTails
Definition:
MuonResidualsFitter.h:87
MuonResiduals5DOFFitter::kAngleY
Definition:
MuonResiduals5DOFFitter.h:41
Generated for CMSSW Reference Manual by
1.8.5