Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Alignment
MuonAlignmentAlgorithms
interface
MuonResidualsAngleFitter.h
Go to the documentation of this file.
1
#ifndef Alignment_MuonAlignmentAlgorithms_MuonResidualsAngleFitter_H
2
#define Alignment_MuonAlignmentAlgorithms_MuonResidualsAngleFitter_H
3
10
#include "
Alignment/MuonAlignmentAlgorithms/interface/MuonResidualsFitter.h
"
11
12
class
MuonResidualsAngleFitter
:
public
MuonResidualsFitter
{
13
public
:
14
enum
{
15
kAngle
= 0,
16
kXControl
,
17
kYControl
,
18
kSigma
,
19
kGamma
,
20
kNPar
21
};
22
23
enum
{
24
kResidual
= 0,
25
kXAngle
,
26
kYAngle
,
27
kNData
28
};
29
30
MuonResidualsAngleFitter
(
int
residualsModel
,
int
minHitsPerRegion,
int
useResiduals
,
bool
weightAlignment
=
true
):
MuonResidualsFitter
(residualsModel, minHitsPerRegion, useResiduals,
weightAlignment
) {}
31
32
int
type
()
const
{
return
MuonResidualsFitter::kAngleFitter
; }
33
34
int
npar
() {
35
if
(
residualsModel
() ==
kPureGaussian
||
residualsModel
() ==
kGaussPowerTails
)
return
kNPar
- 1;
36
else
if
(
residualsModel
() ==
kPowerLawTails
)
return
kNPar
;
37
else
if
(
residualsModel
() ==
kROOTVoigt
)
return
kNPar
;
38
else
assert
(
false
);
39
}
40
int
ndata
() {
return
kNData
; }
41
42
bool
fit
(
Alignable
*ali);
43
double
sumofweights
() {
return
numResiduals
(); }
44
double
plot
(
std::string
name
,
TFileDirectory
*
dir
,
Alignable
*ali);
45
46
protected
:
47
void
inform
(TMinuit *tMinuit);
48
};
49
50
#endif // Alignment_MuonAlignmentAlgorithms_MuonResidualsAngleFitter_H
MuonResidualsAngleFitter::kNPar
Definition:
MuonResidualsAngleFitter.h:20
align_cfg.weightAlignment
tuple weightAlignment
Definition:
align_cfg.py:30
MuonResidualsAngleFitter::ndata
int ndata()
Definition:
MuonResidualsAngleFitter.h:40
MuonResidualsFitter::kPureGaussian
Definition:
MuonResidualsFitter.h:84
MuonResidualsFitter::kAngleFitter
Definition:
MuonResidualsFitter.h:97
MuonResidualsAngleFitter::plot
double plot(std::string name, TFileDirectory *dir, Alignable *ali)
Definition:
MuonResidualsAngleFitter.cc:112
Alignable
Definition:
Alignable.h:29
MuonResidualsAngleFitter::type
int type() const
Definition:
MuonResidualsAngleFitter.h:32
MuonResidualsFitter::numResiduals
long numResiduals() const
Definition:
MuonResidualsFitter.h:151
MuonResidualsFitter::kGaussPowerTails
Definition:
MuonResidualsFitter.h:87
MuonResidualsAngleFitter::MuonResidualsAngleFitter
MuonResidualsAngleFitter(int residualsModel, int minHitsPerRegion, int useResiduals, bool weightAlignment=true)
Definition:
MuonResidualsAngleFitter.h:30
assert
assert(m_qm.get())
MuonResidualsAngleFitter::inform
void inform(TMinuit *tMinuit)
Definition:
MuonResidualsAngleFitter.cc:5
MuonResidualsFitter::residualsModel
int residualsModel() const
Definition:
MuonResidualsFitter.h:150
MuonResidualsAngleFitter
Definition:
MuonResidualsAngleFitter.h:12
MuonResidualsFitter
Definition:
MuonResidualsFitter.h:80
MuonResidualsFitter::kROOTVoigt
Definition:
MuonResidualsFitter.h:86
MuonResidualsAngleFitter::kYControl
Definition:
MuonResidualsAngleFitter.h:17
mergeVDriftHistosByStation.name
string name
Definition:
mergeVDriftHistosByStation.py:77
MuonResidualsFitter.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
MuonResidualsAngleFitter::kXAngle
Definition:
MuonResidualsAngleFitter.h:25
MuonResidualsAngleFitter::kXControl
Definition:
MuonResidualsAngleFitter.h:16
MuonResidualsAngleFitter::npar
int npar()
Definition:
MuonResidualsAngleFitter.h:34
MuonResidualsAngleFitter::kSigma
Definition:
MuonResidualsAngleFitter.h:18
align_cfg.useResiduals
list useResiduals
Definition:
align_cfg.py:36
MuonResidualsAngleFitter::fit
bool fit(Alignable *ali)
Definition:
MuonResidualsAngleFitter.cc:40
MuonResidualsAngleFitter::kAngle
Definition:
MuonResidualsAngleFitter.h:15
TFileDirectory
Definition:
TFileDirectory.h:24
MuonResidualsFitter::kPowerLawTails
Definition:
MuonResidualsFitter.h:85
MuonResidualsAngleFitter::kGamma
Definition:
MuonResidualsAngleFitter.h:19
dir
dbl *** dir
Definition:
mlp_gen.cc:35
MuonResidualsAngleFitter::kResidual
Definition:
MuonResidualsAngleFitter.h:24
MuonResidualsAngleFitter::kNData
Definition:
MuonResidualsAngleFitter.h:27
MuonResidualsAngleFitter::sumofweights
double sumofweights()
Definition:
MuonResidualsAngleFitter.h:43
MuonResidualsAngleFitter::kYAngle
Definition:
MuonResidualsAngleFitter.h:26
Generated for CMSSW Reference Manual by
1.8.5