CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
hcal::RecHitCollection< StoragePolicy > Struct Template Reference

#include <RecHitCollection.h>

Inheritance diagram for hcal::RecHitCollection< StoragePolicy >:
calo::common::AddSize< StoragePolicy::TagType >

Public Member Functions

RecHitCollectionoperator= (const RecHitCollection &)=default
 
RecHitCollectionoperator= (RecHitCollection &&)=default
 
 RecHitCollection ()=default
 
 RecHitCollection (const RecHitCollection &)=default
 
 RecHitCollection (RecHitCollection &&)=default
 
template<typename U = typename StoragePolicy::TagType>
std::enable_if< std::is_same< U, ::calo::common::tags::Vec >::value, void >::type resize (size_t size)
 

Public Attributes

StoragePolicy::template StorageSelector< float >::type chi2
 
StoragePolicy::template StorageSelector< uint32_t >::type did
 
StoragePolicy::template StorageSelector< float >::type energy
 
StoragePolicy::template StorageSelector< float >::type energyM0
 
StoragePolicy::template StorageSelector< float >::type timeM0
 

Detailed Description

template<typename StoragePolicy>
struct hcal::RecHitCollection< StoragePolicy >

Definition at line 12 of file RecHitCollection.h.

Constructor & Destructor Documentation

◆ RecHitCollection() [1/3]

template<typename StoragePolicy>
hcal::RecHitCollection< StoragePolicy >::RecHitCollection ( )
default

◆ RecHitCollection() [2/3]

template<typename StoragePolicy>
hcal::RecHitCollection< StoragePolicy >::RecHitCollection ( const RecHitCollection< StoragePolicy > &  )
default

◆ RecHitCollection() [3/3]

template<typename StoragePolicy>
hcal::RecHitCollection< StoragePolicy >::RecHitCollection ( RecHitCollection< StoragePolicy > &&  )
default

Member Function Documentation

◆ operator=() [1/2]

template<typename StoragePolicy>
RecHitCollection& hcal::RecHitCollection< StoragePolicy >::operator= ( const RecHitCollection< StoragePolicy > &  )
default

◆ operator=() [2/2]

template<typename StoragePolicy>
RecHitCollection& hcal::RecHitCollection< StoragePolicy >::operator= ( RecHitCollection< StoragePolicy > &&  )
default

◆ resize()

template<typename StoragePolicy>
template<typename U = typename StoragePolicy::TagType>
std::enable_if<std::is_same<U, ::calo::common::tags::Vec>::value, void>::type hcal::RecHitCollection< StoragePolicy >::resize ( size_t  size)
inline

Definition at line 27 of file RecHitCollection.h.

Referenced by HcalCPURecHitsProducer::acquire(), and HcalCPURecHitsProducer::produce().

27  {
28  energy.resize(size);
29  chi2.resize(size);
30  energyM0.resize(size);
31  timeM0.resize(size);
32  did.resize(size);
33  }
size
Write out results.
StoragePolicy::template StorageSelector< float >::type chi2
StoragePolicy::template StorageSelector< uint32_t >::type did
StoragePolicy::template StorageSelector< float >::type energy
StoragePolicy::template StorageSelector< float >::type timeM0
StoragePolicy::template StorageSelector< float >::type energyM0

Member Data Documentation

◆ chi2

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<float>::type hcal::RecHitCollection< StoragePolicy >::chi2

◆ did

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type hcal::RecHitCollection< StoragePolicy >::did

◆ energy

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<float>::type hcal::RecHitCollection< StoragePolicy >::energy

◆ energyM0

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<float>::type hcal::RecHitCollection< StoragePolicy >::energyM0

◆ timeM0

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<float>::type hcal::RecHitCollection< StoragePolicy >::timeM0