CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
static int col(const DetId &id, const std::vector< ETLSample > &data)
static int col(const DetId &id, const std::vector< BTLSample > &data)
static int col(const DetId &id, const std::vector< FTLSample > &data)
static int row(const DetId &id, const std::vector< BTLSample > &data)
static int row(const DetId &id, const std::vector< ETLSample > &data)
edm::SortedCollection< ETLDataFrame > ETLDigiCollection
edm::SortedCollection< FTLDataFrame > FTLDigiCollection
Definition: DetId.h:17
static int row(const DetId &id, const std::vector< FTLSample > &data)
FTLDataFrameT< FastTimeDetId, FTLSample, mtdhelpers::FTLRowColDecode > FTLDataFrame
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
FTLDataFrameT< BTLDetId, BTLSample, mtdhelpers::BTLRowColDecode > BTLDataFrame
Readout digi for HGC.
Definition: FTLDataFrameT.h:14
FTLDataFrameT< ETLDetId, ETLSample, mtdhelpers::ETLRowColDecode > ETLDataFrame
edm::SortedCollection< BTLDataFrame > BTLDigiCollection