test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoVertex
BeamSpotProducer
interface
FcnBeamSpotFitPV.h
Go to the documentation of this file.
1
#ifndef FcnBeamSpotFitPV_h_
2
#define FcnBeamSpotFitPV_h_
3
17
#include "
RecoVertex/BeamSpotProducer/interface/BeamSpotFitPVData.h
"
18
#include "Minuit2/FCNBase.h"
19
20
#include <vector>
21
22
class
FcnBeamSpotFitPV
:
public
ROOT::Minuit2::FCNBase {
23
public
:
24
// constructor from vertex data
25
FcnBeamSpotFitPV
(
const
std::vector<BeamSpotFitPVData>&
data
);
26
~FcnBeamSpotFitPV
() {}
27
// additional vertex selection using limits in x, y, z
28
void
setLimits
(
float
xmin
,
float
xmax
,
29
float
ymin
,
float
ymax
,
30
float
zmin
,
float
zmax
);
31
// deltaFcn for definition of the uncertainty
32
double
Up
()
const
{
return
errorDef_
;}
33
// -2lnL value based on vector of parameters
34
double
operator()
(
const
std::vector<double>&)
const
;
35
// vertex count used for the fit (after selection)
36
unsigned
int
nrOfVerticesUsed
()
const
;
37
private
:
38
const
std::vector<BeamSpotFitPVData>&
data_
;
//< vertex data
39
double
errorDef_
;
//< error definition for Minuit
40
41
float
lowerLimits_
[3];
//< lower limits for x,y,z
42
float
upperLimits_
[3];
//< upper limits for x,y,z
43
};
44
#endif
BeamSpotFitPVData.h
FcnBeamSpotFitPV::errorDef_
double errorDef_
Definition:
FcnBeamSpotFitPV.h:39
FcnBeamSpotFitPV
Definition:
FcnBeamSpotFitPV.h:22
SiStripMonitorClusterAlca_cfi.ymax
tuple ymax
Definition:
SiStripMonitorClusterAlca_cfi.py:87
SiStripMonitorClusterAlca_cfi.xmin
tuple xmin
Definition:
SiStripMonitorClusterAlca_cfi.py:34
FcnBeamSpotFitPV::upperLimits_
float upperLimits_[3]
Definition:
FcnBeamSpotFitPV.h:42
FcnBeamSpotFitPV::FcnBeamSpotFitPV
FcnBeamSpotFitPV(const std::vector< BeamSpotFitPVData > &data)
Definition:
FcnBeamSpotFitPV.cc:12
FcnBeamSpotFitPV::operator()
double operator()(const std::vector< double > &) const
Definition:
FcnBeamSpotFitPV.cc:60
SiStripMonitorClusterAlca_cfi.ymin
tuple ymin
Definition:
SiStripMonitorClusterAlca_cfi.py:86
SiStripMonitorClusterAlca_cfi.zmin
tuple zmin
Definition:
SiStripMonitorClusterAlca_cfi.py:170
FcnBeamSpotFitPV::setLimits
void setLimits(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax)
Definition:
FcnBeamSpotFitPV.cc:22
SiStripMonitorClusterAlca_cfi.xmax
tuple xmax
Definition:
SiStripMonitorClusterAlca_cfi.py:35
FcnBeamSpotFitPV::nrOfVerticesUsed
unsigned int nrOfVerticesUsed() const
Definition:
FcnBeamSpotFitPV.cc:35
FcnBeamSpotFitPV::Up
double Up() const
Definition:
FcnBeamSpotFitPV.h:32
FcnBeamSpotFitPV::lowerLimits_
float lowerLimits_[3]
Definition:
FcnBeamSpotFitPV.h:41
FcnBeamSpotFitPV::data_
const std::vector< BeamSpotFitPVData > & data_
Definition:
FcnBeamSpotFitPV.h:38
AlCaHLTBitMon_QueryRunRegistry.data
tuple data
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:288
SiStripMonitorClusterAlca_cfi.zmax
tuple zmax
Definition:
SiStripMonitorClusterAlca_cfi.py:171
FcnBeamSpotFitPV::~FcnBeamSpotFitPV
~FcnBeamSpotFitPV()
Definition:
FcnBeamSpotFitPV.h:26
Generated for CMSSW Reference Manual by
1.8.5