CMS 3D CMS Logo

FTLDigiCollections.h
Go to the documentation of this file.
1 #ifndef DIGIFTL_FTLDIGICOLLECTION_H
2 #define DIGIFTL_FTLDIGICOLLECTION_H
3 
8 
13 
14 namespace mtdhelpers {
15  struct FTLRowColDecode {
16  static inline int row(const DetId& id, const std::vector<FTLSample>& data) { return -1; } // no rows or columns
17  static inline int col(const DetId& id, const std::vector<FTLSample>& data) { return -1; }
18  };
19 
20  struct BTLRowColDecode {
21  static inline int row(const DetId& id, const std::vector<BTLSample>& data) { return data.front().row(); }
22  static inline int col(const DetId& id, const std::vector<BTLSample>& data) { return data.front().column(); }
23  };
24 
25  struct ETLRowColDecode {
26  static inline int row(const DetId& id, const std::vector<ETLSample>& data) { return data.front().row(); }
27  static inline int col(const DetId& id, const std::vector<ETLSample>& data) { return data.front().column(); }
28  };
29 } // namespace mtdhelpers
30 
33 
36 
39 
40 #endif
mtdhelpers::ETLRowColDecode
Definition: FTLDigiCollections.h:25
mtdhelpers::FTLRowColDecode
Definition: FTLDigiCollections.h:15
BTLDetId.h
FTLDataFrame
FTLDataFrameT< FastTimeDetId, FTLSample, mtdhelpers::FTLRowColDecode > FTLDataFrame
Definition: FTLDigiCollections.h:31
FastTimeDetId.h
mtdhelpers::FTLRowColDecode::col
static int col(const DetId &id, const std::vector< FTLSample > &data)
Definition: FTLDigiCollections.h:17
edm::SortedCollection
Definition: SortedCollection.h:49
FTLDigiCollection
edm::SortedCollection< FTLDataFrame > FTLDigiCollection
Definition: FTLDigiCollections.h:32
ETLDataFrame
FTLDataFrameT< ETLDetId, ETLSample, mtdhelpers::ETLRowColDecode > ETLDataFrame
Definition: FTLDigiCollections.h:37
ETLDetId.h
BTLDigiCollection
edm::SortedCollection< BTLDataFrame > BTLDigiCollection
Definition: FTLDigiCollections.h:35
mtdhelpers::ETLRowColDecode::row
static int row(const DetId &id, const std::vector< ETLSample > &data)
Definition: FTLDigiCollections.h:26
DetId
Definition: DetId.h:17
BTLSample.h
mtdhelpers::ETLRowColDecode::col
static int col(const DetId &id, const std::vector< ETLSample > &data)
Definition: FTLDigiCollections.h:27
BTLDataFrame
FTLDataFrameT< BTLDetId, BTLSample, mtdhelpers::BTLRowColDecode > BTLDataFrame
Definition: FTLDigiCollections.h:34
mtdhelpers::FTLRowColDecode::row
static int row(const DetId &id, const std::vector< FTLSample > &data)
Definition: FTLDigiCollections.h:16
FTLSample.h
mtdhelpers
Definition: FTLDigiCollections.h:14
FTLDataFrameT
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
mtdhelpers::BTLRowColDecode::row
static int row(const DetId &id, const std::vector< BTLSample > &data)
Definition: FTLDigiCollections.h:21
SortedCollection.h
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
mtdhelpers::BTLRowColDecode::col
static int col(const DetId &id, const std::vector< BTLSample > &data)
Definition: FTLDigiCollections.h:22
ETLDigiCollection
edm::SortedCollection< ETLDataFrame > ETLDigiCollection
Definition: FTLDigiCollections.h:38
mtdhelpers::BTLRowColDecode
Definition: FTLDigiCollections.h:20
ETLSample.h
FTLDataFrameT.h