CMS 3D CMS Logo

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

◆ RecHit() [1/3]

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

◆ RecHit() [2/3]

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

◆ RecHit() [3/3]

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

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

template<typename StoragePolicy>
RecHit& ecal::RecHit< StoragePolicy >::operator= ( RecHit< 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 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  }
size
Write out results.
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
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

◆ chi2

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<reco::StorageScalarType>::type ecal::RecHit< StoragePolicy >::chi2

◆ did

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type ecal::RecHit< StoragePolicy >::did

◆ energy

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<reco::StorageScalarType>::type ecal::RecHit< StoragePolicy >::energy

◆ extra

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type ecal::RecHit< StoragePolicy >::extra

◆ flagBits

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type ecal::RecHit< StoragePolicy >::flagBits

◆ time

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<reco::StorageScalarType>::type ecal::RecHit< StoragePolicy >::time