5 #ifndef TRACKINGTESTEDM_H
6 #define TRACKINGTESTEDM_H
17 class TrkDetElementBase;
49 template <
class COLLECTION>
52 template <
class PRD,
class IDHELPER,
class COLLECTION >
53 void checkPRD(
const PRD* prd,
const IDHELPER*
helper,
const COLLECTION& coll);
56 std::pair<const Trk::TrkDetElementBase*, const Trk::TrkDetElementBase*>
getReadoutElements(
const PRD* prd)
const;
58 template <
class IDHELPER,
class PRD>
90 if (!
evtStore()->contains<T>(containerName))
return;
94 typename T::const_iterator::const_iterator element = container->begin();
95 typename T::const_iterator::const_iterator lastElement = container->end();
97 stream <<
"Found container "<<containerName<<
", which has "<<container->numberOfCollections()<<
" collections (see below)."<<std::endl;
99 ATH_MSG_VERBOSE(
"Found container "<<containerName<<
", which has "<<container->numberOfCollections()<<
" collections (see below).");
106 stream<<
"Found "<<totalConsituents<<
" constituent objects."<<std::endl;
112 stream<<
"WARNING! Could not find container: "<<containerName<<
"!"<<std::endl;
126 if (!
evtStore()->contains<T>(containerName))
return;
129 stream <<
"Found container "<<containerName<<
", which has "<<container->size()
130 <<
" elements (see below)."<<std::endl;
132 ATH_MSG_VERBOSE(
"Found container "<<containerName<<
", which has "<<container->size()
133 <<
" elements (see below).");
139 stream<<
"Found "<<totalConsituents<<
" constituent objects. (size was reported as "<<container->size()<<
")"<<std::endl;
141 ATH_MSG_VERBOSE(
"Found "<<totalConsituents<<
" constituent objects.(size was reported as "<<container->size()<<
")");
144 stream<<
"WARNING! Could not find container: "<<containerName<<
"!"<<std::endl;
158 for (vector<string>::const_iterator
it=containerNames.begin();
it!=containerNames.end() ; ++
it)
160 const std::string& containerLoc = *
it;
161 loadAndDumpContainer<T>( containerLoc,
stream );
170 unsigned int numConsituents=0;
172 typename T::const_iterator element = container->begin();
173 typename T::const_iterator lastElement = container->end();
175 for ( ; element!=lastElement ; ++element) {
180 stream << std::setprecision(6) << **element<<std::endl;
185 stream<<
"WARNING! Zero pointer!"<<std::endl;
190 return numConsituents;