DataFormats
L1TMuon
interface
OMTF
OmtfDataWord64.h
Go to the documentation of this file.
1
#ifndef DataFormat_L1TMuon_Omtf_DataWord64_H
2
#define DataFormat_L1TMuon_Omtf_DataWord64_H
3
4
#include <cstdint>
5
#include <iostream>
6
#include <vector>
7
#include <map>
8
9
namespace
omtf
{
10
11
typedef
uint64_t
Word64
;
12
13
typedef
std::map<std::pair<unsigned int, unsigned int>, std::vector<Word64> >
FedAmcRawsMap
;
14
15
namespace
DataWord64 {
16
enum
Type
{
csc
= 0xC,
dt
= 0xD,
rpc
= 0xE,
omtf
= 0xF };
17
template
<
typename
T>
18
Type
type
(
const
T
&);
19
template
<>
20
inline
Type
type<Word64>
(
const
Word64
&
data
) {
21
return
static_cast<Type>(
data
>> 60);
22
}
23
template
<>
24
inline
Type
type<unsigned int>
(
const
unsigned
int
&
intType
) {
25
return
static_cast<Type>(
intType
);
26
}
27
std::ostream &
operator<<
(std::ostream &
out
,
const
Type
&
o
);
28
};
// namespace DataWord64
29
30
}
// namespace omtf
31
#endif
omtf::DataWord64::operator<<
std::ostream & operator<<(std::ostream &out, const Type &o)
Definition:
OmtfDataWord64.cc:4
omtf::Word64
uint64_t Word64
Definition:
OmtfDataWord64.h:11
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
csc
Definition:
L1Track.h:19
omtf::DataWord64::type< Word64 >
Type type< Word64 >(const Word64 &data)
Definition:
OmtfDataWord64.h:20
reco::method::intType
Definition:
TypeCode.h:16
omtf::DataWord64::type< unsigned int >
Type type< unsigned int >(const unsigned int &intType)
Definition:
OmtfDataWord64.h:24
omtf::FedAmcRawsMap
std::map< std::pair< unsigned int, unsigned int >, std::vector< Word64 > > FedAmcRawsMap
Definition:
OmtfDataWord64.h:13
omtf::DataWord64::dt
Definition:
OmtfDataWord64.h:16
omtf::DataWord64::type
Type type(const T &)
T
long double T
Definition:
Basic3DVectorLD.h:48
omtf::DataWord64::Type
Type
Definition:
OmtfDataWord64.h:16
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
cond::uint64_t
unsigned long long uint64_t
Definition:
Time.h:13
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
omtf::DataWord64::rpc
Definition:
OmtfDataWord64.h:16
omtf
Definition:
OmtfCscDataWord64.h:7
Generated for CMSSW Reference Manual by
1.8.16