src
L1Trigger
L1TCalorimeter
interface
CaloConfigHelper.h
Go to the documentation of this file.
1
// CaloConfigHelper.h
2
//
3
// Wrapper class for CaloConfig
4
5
#ifndef CALO_CONFIG_HELPER_H__
6
#define CALO_CONFIG_HELPER_H__
7
8
#include "
CondFormats/L1TObjects/interface/CaloConfig.h
"
9
10
namespace
l1t
{
11
12
class
CaloConfigHelper
{
13
public
:
14
CaloConfigHelper
(
CaloConfig
&
db
,
unsigned
fwv
,
std::string
epoch);
15
CaloConfigHelper
(
const
CaloConfig
&
db
);
16
CaloConfigHelper
();
17
void
UpdatePayload
(
const
CaloConfig
*
db
) {
db_
=
db
; }
18
unsigned
fwv
()
const
{
return
db_
->
uconfig_
[0]; }
19
20
private
:
21
const
CaloConfig
*
db_
;
// We do not own this pointer...
22
};
23
}
// namespace l1t
24
25
#endif
CaloConfig.h
l1t::CaloConfig
Definition:
CaloConfig.h:24
l1t
delete x;
Definition:
CaloConfig.h:22
l1t::CaloConfig::uconfig_
std::vector< unsigned > uconfig_
Definition:
CaloConfig.h:34
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
l1t::CaloConfigHelper::db_
const CaloConfig * db_
Definition:
CaloConfigHelper.h:21
l1t::CaloConfigHelper::fwv
unsigned fwv() const
Definition:
CaloConfigHelper.h:18
l1t::CaloConfigHelper::CaloConfigHelper
CaloConfigHelper()
Definition:
CaloConfigHelper.cc:12
l1t::CaloConfigHelper
Definition:
CaloConfigHelper.h:12
EcalCondDB.db
db
Definition:
EcalCondDB.py:153
l1t::CaloConfigHelper::UpdatePayload
void UpdatePayload(const CaloConfig *db)
Definition:
CaloConfigHelper.h:17
Generated for CMSSW Reference Manual by
1.8.14