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

#include <DigiCollection.h>

Inheritance diagram for hcal::DigiCollectionBase< StoragePolicy >:
calo::common::AddSize< StoragePolicy::TagType > hcal::DigiCollection< Flavor, StoragePolicy > hcal::DigiCollection< Flavor5, StoragePolicy >

Public Member Functions

template<typename T = typename StoragePolicy::TagType>
std::enable_if< std::is_same
< T,::calo::common::tags::Vec >
::value, void >::type 
clear ()
 
 DigiCollectionBase ()=default
 
 DigiCollectionBase (DigiCollectionBase const &)=default
 
 DigiCollectionBase (DigiCollectionBase &&)=default
 
DigiCollectionBaseoperator= (DigiCollectionBase const &)=default
 
DigiCollectionBaseoperator= (DigiCollectionBase &&)=default
 
template<typename T = typename StoragePolicy::TagType>
std::enable_if< std::is_same
< T,::calo::common::tags::Vec >
::value, void >::type 
reserve (std::size_t size)
 
template<typename T = typename StoragePolicy::TagType>
std::enable_if< std::is_same
< T,::calo::common::tags::Vec >
::value, void >::type 
resize (std::size_t size)
 

Public Attributes

StoragePolicy::template
StorageSelector< uint16_t >
::type 
data
 
StoragePolicy::template
StorageSelector< uint32_t >
::type 
ids
 
uint32_t stride {0}
 

Detailed Description

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

Definition at line 89 of file DigiCollection.h.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename StoragePolicy>
template<typename T = typename StoragePolicy::TagType>
std::enable_if<std::is_same<T, ::calo::common::tags::Vec>::value, void>::type hcal::DigiCollectionBase< StoragePolicy >::clear ( void  )
inline

Definition at line 110 of file DigiCollection.h.

Referenced by HcalDigisProducerGPU::acquire(), hcal::DigiCollection< Flavor5, StoragePolicy >::clear(), and BeautifulSoup.Tag::setString().

110  {
111  ids.clear();
112  data.clear();
113  }
StoragePolicy::template StorageSelector< uint16_t >::type data
StoragePolicy::template StorageSelector< uint32_t >::type ids
template<typename StoragePolicy>
DigiCollectionBase& hcal::DigiCollectionBase< StoragePolicy >::operator= ( DigiCollectionBase< StoragePolicy > const &  )
default
template<typename StoragePolicy>
DigiCollectionBase& hcal::DigiCollectionBase< StoragePolicy >::operator= ( DigiCollectionBase< StoragePolicy > &&  )
default
template<typename StoragePolicy>
template<typename T = typename StoragePolicy::TagType>
std::enable_if<std::is_same<T, ::calo::common::tags::Vec>::value, void>::type hcal::DigiCollectionBase< StoragePolicy >::reserve ( std::size_t  size)
inline

Definition at line 104 of file DigiCollection.h.

Referenced by hcal::DigiCollection< Flavor5, StoragePolicy >::reserve().

104  {
105  ids.reserve(size);
106  data.reserve(size * stride);
107  }
StoragePolicy::template StorageSelector< uint16_t >::type data
StoragePolicy::template StorageSelector< uint32_t >::type ids
tuple size
Write out results.
template<typename StoragePolicy>
template<typename T = typename StoragePolicy::TagType>
std::enable_if<std::is_same<T, ::calo::common::tags::Vec>::value, void>::type hcal::DigiCollectionBase< StoragePolicy >::resize ( std::size_t  size)
inline

Definition at line 98 of file DigiCollection.h.

Referenced by HcalCPUDigisProducer::acquire(), and hcal::DigiCollection< Flavor5, StoragePolicy >::resize().

98  {
99  ids.resize(size);
100  data.resize(size * stride);
101  }
StoragePolicy::template StorageSelector< uint16_t >::type data
StoragePolicy::template StorageSelector< uint32_t >::type ids
tuple size
Write out results.

Member Data Documentation

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint16_t>::type hcal::DigiCollectionBase< StoragePolicy >::data

Definition at line 116 of file DigiCollection.h.

Referenced by data_sources.node::__str__(), confdb.HLTProcess::_fix_parameter(), HcalCPUDigisProducer::acquire(), HcalDigisProducerGPU::acquire(), confdb.HLTProcess::addEras(), confdb.HLTProcess::addGlobalOptions(), confdb.HLTProcess::append_filenames(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), confdb.HLTProcess::build_source(), hcal::DigiCollectionBase<::calo::common::DevStoragePolicy >::clear(), confdb.HLTProcess::customize(), confdb.HLTProcess::dump(), confdb.HLTProcess::fixPrescales(), data_sources.json_list::get_members(), confdb.HLTProcess::getRawConfigurationFromDB(), confdb.HLTProcess::instrumentDQM(), confdb.HLTProcess::instrumentOpenMode(), confdb.HLTProcess::instrumentTiming(), data_sources.json_list::last(), confdb.HLTProcess::loadAdditionalConditions(), confdb.HLTProcess::loadCff(), confdb.HLTProcess::loadSetupCff(), confdb.HLTProcess::overrideGlobalTag(), confdb.HLTProcess::overrideL1MenuXml(), confdb.HLTProcess::overrideOutput(), confdb.HLTProcess::overrideParameters(), confdb.HLTProcess::overrideProcessName(), confdb.HLTProcess::removeElementFromSequencesTasksAndPaths(), hcal::DigiCollectionBase<::calo::common::DevStoragePolicy >::reserve(), hcal::DigiCollectionBase<::calo::common::DevStoragePolicy >::resize(), confdb.HLTProcess::runL1Emulator(), confdb.HLTProcess::specificCustomize(), cuy.FindIssue::startElement(), edmStreamStallGrapher.Stack::update(), and confdb.HLTProcess::updateMessageLogger().

template<typename StoragePolicy>
StoragePolicy::template StorageSelector<uint32_t>::type hcal::DigiCollectionBase< StoragePolicy >::ids
template<typename StoragePolicy>
uint32_t hcal::DigiCollectionBase< StoragePolicy >::stride {0}