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