CMS 3D CMS Logo

MuonResidualsPositionFitter.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonAlignmentAlgorithms_MuonResidualsPositionFitter_H
2 #define Alignment_MuonAlignmentAlgorithms_MuonResidualsPositionFitter_H
3 
11 
13 public:
15 
17 
20 
21  int type() const override { return MuonResidualsFitter::kPositionFitter; }
22 
23  int npar() override {
25  return kNPar - 1;
26  else if (residualsModel() == kPowerLawTails)
27  return kNPar;
28  else if (residualsModel() == kROOTVoigt)
29  return kNPar;
30  else
31  assert(false);
32  }
33  int ndata() override { return kNData; }
34 
35  bool fit(Alignable *ali) override;
36  double sumofweights() override { return numResiduals(); }
37  double plot(std::string name, TFileDirectory *dir, Alignable *ali) override;
38 
39 protected:
40  void inform(TMinuit *tMinuit) override;
41 };
42 
43 #endif // Alignment_MuonAlignmentAlgorithms_MuonResidualsPositionFitter_H
MuonResidualsFitter
Definition: MuonResidualsFitter.h:84
MuonResidualsPositionFitter::fit
bool fit(Alignable *ali) override
Definition: MuonResidualsPositionFitter.cc:42
MuonResidualsPositionFitter
Definition: MuonResidualsPositionFitter.h:12
MuonResidualsPositionFitter::kGamma
Definition: MuonResidualsPositionFitter.h:14
MuonResidualsPositionFitter::kScattering
Definition: MuonResidualsPositionFitter.h:14
MuonResidualsPositionFitter::kNData
Definition: MuonResidualsPositionFitter.h:16
MuonResidualsPositionFitter::kAngleError
Definition: MuonResidualsPositionFitter.h:16
align_cfg.useResiduals
useResiduals
Definition: align_cfg.py:36
MuonResidualsPositionFitter::kTrackPosition
Definition: MuonResidualsPositionFitter.h:16
MuonResidualsPositionFitter::kPhiz
Definition: MuonResidualsPositionFitter.h:14
Alignable
Definition: Alignable.h:27
MuonResidualsPositionFitter::inform
void inform(TMinuit *tMinuit) override
Definition: MuonResidualsPositionFitter.cc:5
MuonResidualsFitter::numResiduals
long numResiduals() const
Definition: MuonResidualsFitter.h:125
cms::cuda::assert
assert(be >=bs)
MuonResidualsPositionFitter::kResidual
Definition: MuonResidualsPositionFitter.h:16
MuonResidualsFitter::kGaussPowerTails
Definition: MuonResidualsFitter.h:86
TFileDirectory
Definition: TFileDirectory.h:24
MuonResidualsPositionFitter::npar
int npar() override
Definition: MuonResidualsPositionFitter.h:23
MuonResidualsFitter::kPowerLawTails
Definition: MuonResidualsFitter.h:86
MuonResidualsPositionFitter::kZpos
Definition: MuonResidualsPositionFitter.h:14
MuonResidualsFitter.h
MuonResidualsPositionFitter::ndata
int ndata() override
Definition: MuonResidualsPositionFitter.h:33
MuonResidualsPositionFitter::kPosition
Definition: MuonResidualsPositionFitter.h:14
MuonResidualsFitter::kPureGaussian
Definition: MuonResidualsFitter.h:86
MuonResidualsFitter::kPositionFitter
Definition: MuonResidualsFitter.h:88
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonResidualsPositionFitter::kSigma
Definition: MuonResidualsPositionFitter.h:14
MuonResidualsFitter::kROOTVoigt
Definition: MuonResidualsFitter.h:86
MuonResidualsPositionFitter::plot
double plot(std::string name, TFileDirectory *dir, Alignable *ali) override
Definition: MuonResidualsPositionFitter.cc:147
MuonResidualsPositionFitter::type
int type() const override
Definition: MuonResidualsPositionFitter.h:21
align_cfg.weightAlignment
tuple weightAlignment
Definition: align_cfg.py:30
MuonResidualsPositionFitter::kNPar
Definition: MuonResidualsPositionFitter.h:14
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
MuonResidualsPositionFitter::kTrackAngle
Definition: MuonResidualsPositionFitter.h:16
MuonResidualsFitter::residualsModel
int residualsModel() const
Definition: MuonResidualsFitter.h:124
MuonResidualsPositionFitter::MuonResidualsPositionFitter
MuonResidualsPositionFitter(int residualsModel, int minHits, int useResiduals, bool weightAlignment=true)
Definition: MuonResidualsPositionFitter.h:18
reco_skim_cfg_mod.minHits
minHits
Definition: reco_skim_cfg_mod.py:177
MuonResidualsPositionFitter::sumofweights
double sumofweights() override
Definition: MuonResidualsPositionFitter.h:36
DeadROC_duringRun.dir
dir
Definition: DeadROC_duringRun.py:23