Block with residual and pull information.
More...
#include <MuonInsideOutValidationNtuple.h>
|
typedef std::pair< std::reference_wrapper< std::vector< int > * >, std::string > | IntBlock |
|
typedef std::pair< std::reference_wrapper< std::vector< unsigned int > * >, std::string > | UnsignedIntBlock |
|
typedef std::pair< std::reference_wrapper< std::vector< float > * >, std::string > | FloatBlock |
|
typedef std::pair< MuonValidationBlockBase *, std::string > | SubBlock |
|
|
| MuonValidationResidualBlock () |
|
void | fill (const Trk::MeasurementBase &hit, const MuonSystemExtension::Intersection &intersection, Trk::ParamDefs par) |
|
void | fill (float pos_, float err_, const MuonSystemExtension::Intersection &intersection, Trk::ParamDefs par) |
|
void | fill (float pos_, float err_, float expos_, float expos_err_, int status=1) |
|
void | fillResPull (float res_, float pull_, int status=1) |
|
void | fillResPull (float res_, float pull_, float err_, float expos_err_, int status=1) |
|
void | addBlock (std::vector< int > *&block, std::string name) |
|
void | addBlock (std::vector< unsigned int > *&block, std::string name) |
|
void | addBlock (std::vector< float > *&block, std::string name) |
|
void | addBlock (MuonValidationBlockBase *block, std::string name) |
|
void | init (const std::string &prefix, TTree *, bool write=true) |
|
void | clear () |
|
Block with residual and pull information.
Definition at line 133 of file MuonInsideOutValidationNtuple.h.
◆ FloatBlock
◆ IntBlock
◆ SubBlock
◆ UnsignedIntBlock
◆ MuonValidationResidualBlock()
Muon::MuonValidationResidualBlock::MuonValidationResidualBlock |
( |
| ) |
|
◆ addBlock() [1/4]
◆ addBlock() [2/4]
void Muon::MuonValidationBlockBase::addBlock |
( |
std::vector< float > *& |
block, |
|
|
std::string |
name |
|
) |
| |
|
inlineinherited |
◆ addBlock() [3/4]
void Muon::MuonValidationBlockBase::addBlock |
( |
std::vector< int > *& |
block, |
|
|
std::string |
name |
|
) |
| |
|
inlineinherited |
◆ addBlock() [4/4]
void Muon::MuonValidationBlockBase::addBlock |
( |
std::vector< unsigned int > *& |
block, |
|
|
std::string |
name |
|
) |
| |
|
inlineinherited |
◆ clear()
void Muon::MuonValidationBlockBase::clear |
( |
| ) |
|
|
inherited |
◆ fill() [1/3]
◆ fill() [2/3]
◆ fill() [3/3]
void Muon::MuonValidationResidualBlock::fill |
( |
float |
pos_, |
|
|
float |
err_, |
|
|
float |
expos_, |
|
|
float |
expos_err_, |
|
|
int |
status = 1 |
|
) |
| |
|
inline |
Definition at line 149 of file MuonInsideOutValidationNtuple.h.
151 float res = pos_ - expos_;
152 float err2 = err_*err_ + expos_err_*expos_err_;
153 float pull_ =
res/sqrt(err2);
156 pull->push_back(pull_);
157 pos->push_back(pos_);
158 err->push_back(err_);
159 expos->push_back(expos_);
◆ fillResPull() [1/2]
void Muon::MuonValidationResidualBlock::fillResPull |
( |
float |
res_, |
|
|
float |
pull_, |
|
|
float |
err_, |
|
|
float |
expos_err_, |
|
|
int |
status = 1 |
|
) |
| |
|
inline |
◆ fillResPull() [2/2]
void Muon::MuonValidationResidualBlock::fillResPull |
( |
float |
res_, |
|
|
float |
pull_, |
|
|
int |
status = 1 |
|
) |
| |
|
inline |
◆ init()
void Muon::MuonValidationBlockBase::init |
( |
const std::string & |
prefix, |
|
|
TTree * |
tree, |
|
|
bool |
write = true |
|
) |
| |
|
inherited |
◆ err
std::vector<float>* Muon::MuonValidationResidualBlock::err = nullptr |
◆ expos
std::vector<float>* Muon::MuonValidationResidualBlock::expos = nullptr |
◆ expos_err
std::vector<float>* Muon::MuonValidationResidualBlock::expos_err = nullptr |
◆ expos_errstatus
std::vector<int>* Muon::MuonValidationResidualBlock::expos_errstatus = nullptr |
◆ floatBlocks
std::vector< FloatBlock > Muon::MuonValidationBlockBase::floatBlocks |
|
inherited |
◆ intBlocks
std::vector< IntBlock > Muon::MuonValidationBlockBase::intBlocks |
|
inherited |
◆ pos
std::vector<float>* Muon::MuonValidationResidualBlock::pos = nullptr |
◆ pull
std::vector<float>* Muon::MuonValidationResidualBlock::pull = nullptr |
◆ residual
std::vector<float>* Muon::MuonValidationResidualBlock::residual = nullptr |
◆ subBlocks
std::vector< SubBlock > Muon::MuonValidationBlockBase::subBlocks |
|
inherited |
◆ unsignedIntBlocks
std::vector< UnsignedIntBlock > Muon::MuonValidationBlockBase::unsignedIntBlocks |
|
inherited |
The documentation for this struct was generated from the following files: