|
ATLAS Offline Software
|
Go to the documentation of this file.
19 const std::string&
name,
24 declareInterface< ITrigTrackCountsCnvTool >(
this );
40 if( !xaod->
empty() ) {
42 << xaod->
size() <<
")" );
50 for(;ttc_iter != ttc_iter_end; ++ttc_iter)
56 xttcounts->
setZ0Bins((*ttc_iter)->z0_pt().nbins_x());
57 xttcounts->
setZ0Min((*ttc_iter)->z0_pt().min_x());
58 xttcounts->
setZ0Max((*ttc_iter)->z0_pt().max_x());
59 xttcounts->
setPtBins((*ttc_iter)->z0_pt().nbins_y());
60 xttcounts->
setPtMin((*ttc_iter)->z0_pt().min_y());
61 xttcounts->
setPtMax((*ttc_iter)->z0_pt().max_y());
63 xttcounts->
setZ0_pt((*ttc_iter)->z0_pt().contents());
65 xttcounts->
setEtaBins((*ttc_iter)->eta_phi().nbins_x());
66 xttcounts->
setEtaMin((*ttc_iter)->eta_phi().min_x());
67 xttcounts->
setEtaMax((*ttc_iter)->eta_phi().max_x());
68 xttcounts->
setPhiBins((*ttc_iter)->eta_phi().nbins_y());
69 xttcounts->
setPhiMin((*ttc_iter)->eta_phi().min_y());
70 xttcounts->
setPhiMax((*ttc_iter)->eta_phi().max_y());
72 xttcounts->
setEta_phi((*ttc_iter)->eta_phi().contents());
75 ATH_MSG_VERBOSE(
"Orig vs xAOD: Z0Bins: " << (*ttc_iter)->z0_pt().nbins_x()<<
" " << xttcounts->
z0Bins());
79 return StatusCode::SUCCESS;
void setZ0Bins(unsigned int)
Const iterator class for DataVector/DataList.
unsigned int z0Bins() const
#define ATH_MSG_VERBOSE(x)
void setEtaBins(unsigned int)
TrigTrackCounts_v1 TrigTrackCounts
void setPhiBins(unsigned int)
::StatusCode StatusCode
StatusCode definition for legacy code.
void setEta_phi(const std::vector< float > &eta_phi)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
void setPtBins(unsigned int)
void setZ0_pt(const std::vector< float > &z0_pt)
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.