13 for(
const auto& entry :
intBlocks ) entry.first.get()->clear();
15 for(
const auto& entry :
floatBlocks ) entry.first.get()->clear();
16 for(
auto entry :
subBlocks ) entry.first->clear();
34 entry.first.get() =
new std::vector<int>();
35 tree->Branch( (prefix + entry.second).c_str(), entry.first.get());
37 tree->SetBranchAddress( (prefix + entry.second).c_str(), &entry.first.get());
45 entry.first.get() =
new std::vector<unsigned int>();
46 tree->Branch( (prefix + entry.second).c_str(), entry.first.get());
48 tree->SetBranchAddress( (prefix + entry.second).c_str(), &entry.first.get());
56 entry.first.get() =
new std::vector<float>();
57 tree->Branch( (prefix + entry.second).c_str(), entry.first.get());
59 tree->SetBranchAddress( (prefix + entry.second).c_str(), &entry.first.get());
65 entry.first->init(prefix + entry.second,
tree, write );
MuonValidationTrackParticleBlock trackParticleBlock
MuonValidationHoughBlock houghBlock
MuonValidationTimeBlock timeBlock
MuonValidationSegmentBlock segmentBlock
MuonValidationCandidateBlock candidateBlock
MuonInsideOutValidationNtuple()
MuonValidationHitBlock hitBlock
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::vector< SubBlock > subBlocks
std::vector< IntBlock > intBlocks
void init(const std::string &prefix, TTree *, bool write=true)
std::vector< FloatBlock > floatBlocks
virtual ~MuonValidationBlockBase()
void addBlock(std::vector< int > *&block, std::string name)
std::vector< UnsignedIntBlock > unsignedIntBlocks
std::vector< int > * ntimes
std::vector< int > * nprec
std::vector< float > * beta
std::vector< int > * ntrigEta
std::vector< int > * nseg
std::vector< int > * ntrigPhi
MuonValidationTrackBlock track
MuonValidationCandidateBlock()
std::vector< int > * stage
std::vector< float > * chi2ndof
MuonValidationResidualBlock residuals
MuonValidationTrackBlock track
MuonValidationTruthBlock truth
MuonValidationHoughBlock()
std::vector< float > * maximum
MuonValidationTruthBlock truth
MuonValidationTrackBlock track
MuonValidationResidualBlock residuals
std::vector< int > * sector
std::vector< int > * chIndex
MuonValidationResidualBlock()
std::vector< float > * pos
std::vector< int > * expos_errstatus
std::vector< float > * residual
std::vector< float > * expos
std::vector< float > * expos_err
std::vector< float > * err
std::vector< float > * pull
std::vector< float > * t0
std::vector< int > * quality
MuonValidationSegmentBlock()
MuonValidationTruthBlock truth
MuonValidationTrackBlock track
std::vector< float > * t0Error
MuonValidationResidualBlock xresiduals
MuonValidationResidualBlock combinedYZ
std::vector< int > * stage
std::vector< float > * t0TrigError
MuonValidationResidualBlock angleYZ
std::vector< int > * ntrigPhiHits
std::vector< float > * t0Trig
std::vector< int > * nmdtHits
MuonValidationResidualBlock angleXZ
MuonValidationResidualBlock yresiduals
std::vector< int > * ntrigEtaHits
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
MuonValidationTimeBlock()
std::vector< float > * timeCor
std::vector< float > * avTof
std::vector< float > * err
MuonValidationTrackBlock()
std::vector< int > * trkid
std::vector< float > * phi
std::vector< float > * eta
std::vector< float > * pt
MuonValidationTrackParticleBlock()
MuonValidationTruthBlock truth
std::vector< int > * barcode
std::vector< float > * beta
MuonValidationTruthBlock()