CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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

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

Member Function Documentation

template<typename StoragePolicy>
RecHitCollection& hcal::RecHitCollection< StoragePolicy >::operator= ( const RecHitCollection< StoragePolicy > &  )
default
template<typename StoragePolicy>
RecHitCollection& hcal::RecHitCollection< StoragePolicy >::operator= ( RecHitCollection< StoragePolicy > &&  )
default
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.

27  {
28  energy.resize(size);
29  chi2.resize(size);
30  energyM0.resize(size);
31  timeM0.resize(size);
32  did.resize(size);
33  }
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
tuple size
Write out results.

Member Data Documentation

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