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
ecal::RecHit< StoragePolicy > Struct Template Reference

#include <EcalRecHit.h>

Inheritance diagram for ecal::RecHit< StoragePolicy >:
calo::common::AddSize< StoragePolicy::TagType >

Public Member Functions

RecHitoperator= (const RecHit &)=default
 
RecHitoperator= (RecHit &&)=default
 
 RecHit ()=default
 
 RecHit (const RecHit &)=default
 
 RecHit (RecHit &&)=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
< reco::StorageScalarType >
::type 
chi2
 
StoragePolicy::template
StorageSelector< uint32_t >
::type 
did
 
StoragePolicy::template
StorageSelector
< reco::StorageScalarType >
::type 
energy
 
StoragePolicy::template
StorageSelector< uint32_t >
::type 
extra
 
StoragePolicy::template
StorageSelector< uint32_t >
::type 
flagBits
 
StoragePolicy::template
StorageSelector
< reco::StorageScalarType >
::type 
time
 

Detailed Description

template<typename StoragePolicy>
struct ecal::RecHit< StoragePolicy >

Definition at line 14 of file EcalRecHit.h.

Constructor & Destructor Documentation

template<typename StoragePolicy>
ecal::RecHit< StoragePolicy >::RecHit ( )
default
template<typename StoragePolicy>
ecal::RecHit< StoragePolicy >::RecHit ( const RecHit< StoragePolicy > &  )
default
template<typename StoragePolicy>
ecal::RecHit< StoragePolicy >::RecHit ( RecHit< StoragePolicy > &&  )
default

Member Function Documentation

template<typename StoragePolicy>
RecHit& ecal::RecHit< StoragePolicy >::operator= ( const RecHit< StoragePolicy > &  )
default
template<typename StoragePolicy>
RecHit& ecal::RecHit< StoragePolicy >::operator= ( RecHit< 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 ecal::RecHit< StoragePolicy >::resize ( size_t  size)
inline

Definition at line 33 of file EcalRecHit.h.

Referenced by EcalCPURecHitProducer::acquire().

33  {
34  energy.resize(size);
35  time.resize(size);
36  chi2.resize(size);
37  extra.resize(size);
38  flagBits.resize(size);
39  did.resize(size);
40  }
StoragePolicy::template StorageSelector< reco::StorageScalarType >::type chi2
Definition: EcalRecHit.h:25
StoragePolicy::template StorageSelector< uint32_t >::type did
Definition: EcalRecHit.h:30
StoragePolicy::template StorageSelector< reco::StorageScalarType >::type energy
Definition: EcalRecHit.h:22
StoragePolicy::template StorageSelector< reco::StorageScalarType >::type time
Definition: EcalRecHit.h:23
tuple size
Write out results.
StoragePolicy::template StorageSelector< uint32_t >::type extra
Definition: EcalRecHit.h:27
StoragePolicy::template StorageSelector< uint32_t >::type flagBits
Definition: EcalRecHit.h:29

Member Data Documentation

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<reco::StorageScalarType>::type ecal::RecHit< StoragePolicy >::chi2
template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type ecal::RecHit< StoragePolicy >::did
template<typename StoragePolicy>
StoragePolicy::template StorageSelector<reco::StorageScalarType>::type ecal::RecHit< StoragePolicy >::energy
template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type ecal::RecHit< StoragePolicy >::extra
template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type ecal::RecHit< StoragePolicy >::flagBits
template<typename StoragePolicy>
StoragePolicy::template StorageSelector<reco::StorageScalarType>::type ecal::RecHit< StoragePolicy >::time