src
CondFormats
CSCObjects
interface
CSCGains.h
Go to the documentation of this file.
1
#ifndef CSCGains_h
2
#define CSCGains_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include "
DataFormats/MuonDetId/interface/CSCDetId.h
"
7
#include <vector>
8
#include <map>
9
10
class
CSCGains
{
11
public
:
12
CSCGains
();
13
~CSCGains
();
14
15
struct
Item
{
16
float
gain_slope
;
17
float
gain_intercept
;
18
float
gain_chi2
;
19
20
COND_SERIALIZABLE
;
21
};
22
23
const
Item
&
item
(
const
CSCDetId
& cscId,
int
strip
)
const
;
24
25
typedef
std::map<int, std::vector<Item> >
GainsMap
;
26
GainsMap
gains
;
27
28
COND_SERIALIZABLE
;
29
};
30
31
#endif
CSCGains
Definition:
CSCGains.h:10
CSCGains::gains
GainsMap gains
Definition:
CSCGains.h:26
CSCGains::Item::gain_chi2
float gain_chi2
Definition:
CSCGains.h:18
nano_mu_digi_cff.strip
strip
Definition:
nano_mu_digi_cff.py:38
CSCDetId.h
CSCDetId
Definition:
CSCDetId.h:26
CSCGains::Item::gain_intercept
float gain_intercept
Definition:
CSCGains.h:17
CSCGains::GainsMap
std::map< int, std::vector< Item > > GainsMap
Definition:
CSCGains.h:25
CSCGains::Item
Definition:
CSCGains.h:15
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
CSCGains::Item::gain_slope
float gain_slope
Definition:
CSCGains.h:16
CSCGains::item
const Item & item(const CSCDetId &cscId, int strip) const
Definition:
CSCGains.cc:8
CSCGains::CSCGains
CSCGains()
Definition:
CSCGains.cc:5
Serializable.h
CSCGains::~CSCGains
~CSCGains()
Definition:
CSCGains.cc:6
Generated for CMSSW Reference Manual by
1.8.14