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 }
30 
33 
36 
39 
40 #endif
static int col(const DetId &id, const std::vector< ETLSample > &data)
FTLDataFrameT< ETLDetId, ETLSample, mtdhelpers::ETLRowColDecode > ETLDataFrame
static int col(const DetId &id, const std::vector< BTLSample > &data)
FTLDataFrameT< BTLDetId, BTLSample, mtdhelpers::BTLRowColDecode > BTLDataFrame
FTLDataFrameT< FastTimeDetId, FTLSample, mtdhelpers::FTLRowColDecode > FTLDataFrame
edm::SortedCollection< ETLDataFrame > ETLDigiCollection
static int col(const DetId &id, const std::vector< FTLSample > &data)
edm::SortedCollection< FTLDataFrame > FTLDigiCollection
static int row(const DetId &id, const std::vector< BTLSample > &data)
static int row(const DetId &id, const std::vector< ETLSample > &data)
Definition: DetId.h:18
static int row(const DetId &id, const std::vector< FTLSample > &data)
edm::SortedCollection< BTLDataFrame > BTLDigiCollection
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
Readout digi for HGC.
Definition: FTLDataFrameT.h:14