CMS 3D CMS Logo

EvtPlane.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 using namespace std;
5 EvtPlane::EvtPlane(int epindx,
6  int level,
7  double planeA,
8  double sumSin,
9  double sumCos,
10  double sumw,
11  double sumw2,
12  double sumPtOrEt,
13  double sumPtOrEt2,
14  uint mult)
15  : indx_(epindx), sumw_(sumw), sumw2_(sumw2), sumPtOrEt_(sumPtOrEt), sumPtOrEt2_(sumPtOrEt2), mult_(mult) {
16  for (int i = 0; i < 4; ++i) {
17  angle_[i] = sumSin_[i] = sumCos_[i] = -10;
18  }
19  angle_[level] = planeA;
20  sumSin_[level] = sumSin;
21  sumCos_[level] = sumCos;
22  // default constructor
23 }
24 void EvtPlane::addLevel(int level, double ang, double sumsin, double sumcos) {
25  angle_[level] = ang;
26  sumSin_[level] = sumsin;
27  sumCos_[level] = sumcos;
28 }
29 
personalPlayback.level
level
Definition: personalPlayback.py:22
EvtPlane.h
mps_fire.i
i
Definition: mps_fire.py:355
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:45
reco::EvtPlane::EvtPlane
EvtPlane(int epindx=0, int level=2, double planeA=0, double sumSin=0, double sumCos=0, double sumw=0, double sumw2=0, double pe=0, double pe2=0, uint mult=0)
Definition: EvtPlane.cc:5
parallelization.uint
uint
Definition: parallelization.py:124
reco::EvtPlane::sumSin_
float sumSin_[4]
Definition: EvtPlane.h:53
reco::EvtPlane::addLevel
void addLevel(int level, double ang, double sumsin, double sumcos)
Definition: EvtPlane.cc:24
reco::EvtPlane::sumCos
float sumCos(int level=2) const
Definition: EvtPlane.h:37
reco::EvtPlane::~EvtPlane
virtual ~EvtPlane()
Definition: EvtPlane.cc:30
reco::EvtPlane::angle_
float angle_[4]
Definition: EvtPlane.h:52
std
Definition: JetResolutionObject.h:76
VarParsing.mult
mult
Definition: VarParsing.py:659
reco::EvtPlane::sumCos_
float sumCos_[4]
Definition: EvtPlane.h:54
reco::EvtPlane::sumSin
float sumSin(int level=2) const
Definition: EvtPlane.h:36