7 #include "Identifier/Identifier.h"
17 const unsigned nTBMWPCs = pers->
m_cPos.size();
24 for (
unsigned nTBMWPCNow=0; nTBMWPCNow<nTBMWPCs; nTBMWPCNow++) {
27 MWPC -> setCPos( pers->
m_cPos[nTBMWPCNow] );
28 MWPC -> setCErr( pers->
m_cErr[nTBMWPCNow] );
29 MWPC -> setXchambers( pers->
m_isX[nTBMWPCNow] );
44 std::vector<bool> cPosOverflowNow;
45 cPosOverflowNow.reserve(nBools);
47 for (
unsigned nBoolNow=0; nBoolNow<nBools; nBoolNow++) {
49 cPosOverflowNow.push_back(
true);
51 cPosOverflowNow.push_back(
false);
53 MWPC -> setCPosOverflow( cPosOverflowNow );
59 MWPC -> setOverflow( pers->
m_overflow[nTBMWPCNow] );
73 const unsigned nTBMWPCs = trans->
size();
75 pers -> m_cPos.reserve(nTBMWPCs);
76 pers -> m_cErr.reserve(nTBMWPCs);
77 pers -> m_isX.reserve(nTBMWPCs);
78 pers -> m_clusterSize_c.reserve(nTBMWPCs);
79 pers -> m_cPosOverflow.reserve(nTBMWPCs);
80 pers -> m_tbDetectorName.reserve(nTBMWPCs);
81 pers -> m_overflow.reserve(nTBMWPCs);
89 for (; MWPCIt!=MWPCIt_e; ++MWPCIt) {
90 const TBMWPC * MWPC = * MWPCIt;
93 pers -> m_cPos.push_back( MWPC->
getCPos() );
94 pers -> m_cErr.push_back( MWPC->
getCErr() );
95 pers -> m_isX.push_back( MWPC->
isX() );
107 std::vector<unsigned> cPosOverflowNow(nBools);
109 for (
unsigned nBoolNow=0; nBoolNow<nBools; nBoolNow++) {
111 cPosOverflowNow[nBoolNow] = 1;
113 pers -> m_cPosOverflow.push_back( cPosOverflowNow );
117 pers -> m_overflow.push_back( MWPC->
isOverflow() );