Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:49

0001 #ifndef CUDADataFormats_EcalDigi_interface_DigisCollection_h
0002 #define CUDADataFormats_EcalDigi_interface_DigisCollection_h
0003 
0004 #include "CUDADataFormats/CaloCommon/interface/Common.h"
0005 
0006 namespace ecal {
0007 
0008   template <typename StoragePolicy>
0009   struct DigisCollection : public ::calo::common::AddSize<typename StoragePolicy::TagType> {
0010     DigisCollection() = default;
0011     DigisCollection(DigisCollection const &) = default;
0012     DigisCollection &operator=(DigisCollection const &) = default;
0013 
0014     DigisCollection(DigisCollection &&) = default;
0015     DigisCollection &operator=(DigisCollection &&) = default;
0016 
0017     // stride is statically known
0018     typename StoragePolicy::template StorageSelector<uint32_t>::type ids;
0019     typename StoragePolicy::template StorageSelector<uint16_t>::type data;
0020   };
0021 
0022 }  // namespace ecal
0023 
0024 #endif  // CUDADataFormats_EcalDigi_interface_DigisCollection_h