Block with timing 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 |
|
| | MuonValidationTimeBlock () |
| void | fill (int type_, unsigned int gasgapId_, float r_, float z_, float time_, float err_, float timeProp_=0., float avTimeProp_=0., float tof_=0., float avTof_=0., float timeCor_=0., int stage_=0) |
| 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 timing information.
Definition at line 99 of file MuonInsideOutValidationNtuple.h.
◆ FloatBlock
◆ IntBlock
◆ SubBlock
◆ UnsignedIntBlock
◆ MuonValidationTimeBlock()
| Muon::MuonValidationTimeBlock::MuonValidationTimeBlock |
( |
| ) |
|
Definition at line 78 of file MuonInsideOutValidationNtuple.cxx.
78 {
95 }
void addBlock(std::vector< int > *&block, std::string name)
std::vector< float > * time
std::vector< unsigned int > * gasgapId
std::vector< int > * stage
MuonValidationTrackBlock track
std::vector< float > * timeProp
std::vector< float > * avTimeProp
std::vector< float > * tof
MuonValidationTruthBlock truth
std::vector< int > * type
std::vector< float > * timeCor
std::vector< float > * avTof
std::vector< float > * err
◆ addBlock() [1/4]
◆ addBlock() [2/4]
| void Muon::MuonValidationBlockBase::addBlock |
( |
std::vector< float > *& | block, |
|
|
std::string | name ) |
|
inlineinherited |
Definition at line 39 of file MuonInsideOutValidationNtuple.h.
std::vector< FloatBlock > floatBlocks
std::pair< std::reference_wrapper< std::vector< float > * >, std::string > FloatBlock
◆ addBlock() [3/4]
| void Muon::MuonValidationBlockBase::addBlock |
( |
std::vector< int > *& | block, |
|
|
std::string | name ) |
|
inlineinherited |
Definition at line 37 of file MuonInsideOutValidationNtuple.h.
std::vector< IntBlock > intBlocks
std::pair< std::reference_wrapper< std::vector< int > * >, std::string > IntBlock
◆ addBlock() [4/4]
| void Muon::MuonValidationBlockBase::addBlock |
( |
std::vector< unsigned int > *& | block, |
|
|
std::string | name ) |
|
inlineinherited |
Definition at line 38 of file MuonInsideOutValidationNtuple.h.
std::pair< std::reference_wrapper< std::vector< unsigned int > * >, std::string > UnsignedIntBlock
std::vector< UnsignedIntBlock > unsignedIntBlocks
◆ clear()
| void Muon::MuonValidationBlockBase::clear |
( |
| ) |
|
|
inherited |
◆ fill()
| void Muon::MuonValidationTimeBlock::fill |
( |
int | type_, |
|
|
unsigned int | gasgapId_, |
|
|
float | r_, |
|
|
float | z_, |
|
|
float | time_, |
|
|
float | err_, |
|
|
float | timeProp_ = 0., |
|
|
float | avTimeProp_ = 0., |
|
|
float | tof_ = 0., |
|
|
float | avTof_ = 0., |
|
|
float | timeCor_ = 0., |
|
|
int | stage_ = 0 ) |
|
inline |
◆ init()
| void Muon::MuonValidationBlockBase::init |
( |
const std::string & | prefix, |
|
|
TTree * | tree, |
|
|
bool | write = true ) |
|
inherited |
Definition at line 28 of file MuonInsideOutValidationNtuple.cxx.
28 {
29
30
33 if( write ){
34 entry.first.get() =
new std::vector<int>();
36 }else{
37 tree->SetBranchAddress( (prefix +
entry.second).c_str(), &
entry.first.get());
38 }
39 }
40 }
41
44 if( write ){
45 entry.first.get() =
new std::vector<unsigned int>();
47 }else{
48 tree->SetBranchAddress( (prefix +
entry.second).c_str(), &
entry.first.get());
49 }
50 }
51 }
52
55 if( write ){
56 entry.first.get() =
new std::vector<float>();
58 }else{
59 tree->SetBranchAddress( (prefix +
entry.second).c_str(), &
entry.first.get());
60 }
61 }
62 }
63
66 }
67
68 }
◆ avTimeProp
| std::vector<float>* Muon::MuonValidationTimeBlock::avTimeProp = nullptr |
◆ avTof
| std::vector<float>* Muon::MuonValidationTimeBlock::avTof = nullptr |
| std::vector<float>* Muon::MuonValidationTimeBlock::d = nullptr |
◆ err
| std::vector<float>* Muon::MuonValidationTimeBlock::err = nullptr |
◆ floatBlocks
| std::vector< FloatBlock > Muon::MuonValidationBlockBase::floatBlocks |
|
inherited |
◆ gasgapId
| std::vector<unsigned int>* Muon::MuonValidationTimeBlock::gasgapId = nullptr |
◆ id
◆ intBlocks
| std::vector< IntBlock > Muon::MuonValidationBlockBase::intBlocks |
|
inherited |
| std::vector<float>* Muon::MuonValidationTimeBlock::r = nullptr |
◆ stage
| std::vector<int>* Muon::MuonValidationTimeBlock::stage = nullptr |
◆ subBlocks
| std::vector< SubBlock > Muon::MuonValidationBlockBase::subBlocks |
|
inherited |
◆ time
| std::vector<float>* Muon::MuonValidationTimeBlock::time = nullptr |
◆ timeCor
| std::vector<float>* Muon::MuonValidationTimeBlock::timeCor = nullptr |
◆ timeProp
| std::vector<float>* Muon::MuonValidationTimeBlock::timeProp = nullptr |
◆ tof
| std::vector<float>* Muon::MuonValidationTimeBlock::tof = nullptr |
◆ track
◆ truth
◆ type
| std::vector<int>* Muon::MuonValidationTimeBlock::type = nullptr |
◆ unsignedIntBlocks
| std::vector< UnsignedIntBlock > Muon::MuonValidationBlockBase::unsignedIntBlocks |
|
inherited |
| std::vector<float>* Muon::MuonValidationTimeBlock::z = nullptr |
The documentation for this struct was generated from the following files: