|
ATLAS Offline Software
|
Go to the documentation of this file.
17 for (
size_t ib = 0;
ib < persObj->
type.size(); ++
ib) {
18 int typ = persObj->
type[
ib];
23 float((persObj->
min)[
ib]),
24 float((persObj->
max)[
ib]),
29 size_t subbins = size_t(0.5*((persObj->
bins)[
ib]-1));
32 float((persObj->
min)[
ib]),
33 float((persObj->
max)[
ib]),
39 std::vector<float> cboundaries = (persObj->
boundaries)[
ib];
44 std::vector< std::pair<int,float> > chbounds = ((persObj->
hbounds)[
ib]);
58 persObj->
type.push_back(
bd.type);
59 persObj->
option.push_back(
bd.option);
61 persObj->
bins.push_back(
bd.bins);
62 persObj->
min.push_back(
bd.min);
63 persObj->
max.push_back(
bd.max);
64 persObj->
step.push_back(
bd.step);
67 persObj->
refphi.push_back(
bd.refphi);
std::vector< int > option
virtual void persToTrans(const Trk::BinUtility_p1 *persObj, Trk::BinUtility *transObj, MsgStream &log)
std::vector< int > binvalue
void clear()
Clear the data.
std::vector< float > step
std::vector< float > refphi
BinningValue
how to take the global / local position
std::vector< float > subStep
std::vector< std::vector< std::pair< int, float > > > hbounds
std::vector< unsigned int > bins
virtual void transToPers(const Trk::BinUtility *transObj, Trk::BinUtility_p1 *persObj, MsgStream &log)
const std::vector< BinningData > & binningData() const
return the binning data
std::vector< std::vector< float > > boundaries
BinningOption
enum BinValue