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