7 #include "Identifier/Identifier.h"
16 const unsigned nTBBPCs = pers->
m_xPos.size();
23 for (
unsigned nTBBPCNow=0; nTBBPCNow<nTBBPCs; nTBBPCNow++) {
26 BPC -> setXPos( pers->
m_xPos[nTBBPCNow] );
27 BPC -> setYPos( pers->
m_yPos[nTBBPCNow] );
28 BPC -> setXErr( pers->
m_xErr[nTBBPCNow] );
29 BPC -> setYErr( pers->
m_yErr[nTBBPCNow] );
30 BPC -> setXPulse( pers->
m_xPulse[nTBBPCNow] );
31 BPC -> setYPulse( pers->
m_yPulse[nTBBPCNow] );
39 BPC -> setOverflow( pers->
m_overflow[nTBBPCNow] );
54 const unsigned nTBBPCs = trans->
size();
56 pers -> m_xPos.reserve(nTBBPCs);
57 pers -> m_yPos.reserve(nTBBPCs);
58 pers -> m_xErr.reserve(nTBBPCs);
59 pers -> m_yErr.reserve(nTBBPCs);
60 pers -> m_xPulse.reserve(nTBBPCs);
61 pers -> m_yPulse.reserve(nTBBPCs);
62 pers -> m_hitnumber.reserve(nTBBPCs);
63 pers -> m_xPosOverflow.reserve(nTBBPCs);
64 pers -> m_yPosOverflow.reserve(nTBBPCs);
65 pers -> m_xPulseOverflow.reserve(nTBBPCs);
66 pers -> m_yPulseOverflow.reserve(nTBBPCs);
67 pers -> m_overflowSetFlag.reserve(nTBBPCs);
68 pers -> m_tbDetectorName.reserve(nTBBPCs);
69 pers -> m_overflow.reserve(nTBBPCs);
77 for (; BPCIt!=BPCIt_e; ++BPCIt) {
78 const TBBPC * BPC = * BPCIt;
81 pers -> m_xPos.push_back( BPC->
getXPos() );
82 pers -> m_yPos.push_back( BPC->
getYPos() );
83 pers -> m_xErr.push_back( BPC->
getXErr() );
84 pers -> m_yErr.push_back( BPC->
getYErr() );
85 pers -> m_xPulse.push_back( BPC->
getXPulse() );
86 pers -> m_yPulse.push_back( BPC->
getYPulse() );
87 pers -> m_hitnumber.push_back( BPC->
getHitNbr() );
93 pers -> m_overflowSetFlag.push_back(
false );
96 pers -> m_overflow.push_back( BPC->
isOverflow() );