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