CommonTools
Utils
src
CandForTest.h
Go to the documentation of this file.
1
// Only for Unit test
2
namespace
eetest
{
3
struct
CandForTest
{
4
CandForTest
() {}
5
CandForTest
(
float
p
,
float
e
,
float
q
) :
d
{
p
,
e
,
q
} {}
6
7
float
pt
()
const
{
return
d
[0]; }
8
float
eta
()
const
{
return
d
[1]; }
9
float
phi
()
const
{
return
d
[2]; }
10
11
float
d
[3];
12
};
13
}
// namespace eetest
eetest::CandForTest
Definition:
CandForTest.h:3
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
data-class-funcs.q
q
Definition:
data-class-funcs.py:169
eetest::CandForTest::eta
float eta() const
Definition:
CandForTest.h:8
eetest
Definition:
CandForTest.h:2
eetest::CandForTest::phi
float phi() const
Definition:
CandForTest.h:9
eetest::CandForTest::CandForTest
CandForTest()
Definition:
CandForTest.h:4
eetest::CandForTest::d
float d[3]
Definition:
CandForTest.h:11
eetest::CandForTest::pt
float pt() const
Definition:
CandForTest.h:7
eetest::CandForTest::CandForTest
CandForTest(float p, float e, float q)
Definition:
CandForTest.h:5
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16