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, int level, double planeA,double sumSin, double sumCos, double sumw, double sumw2, double sumPtOrEt, double sumPtOrEt2, uint mult)
6  :
7  indx_(epindx),
8  sumw_(sumw),
9  sumw2_(sumw2),
10  sumPtOrEt_(sumPtOrEt),
11  sumPtOrEt2_(sumPtOrEt2),
12  mult_(mult)
13 {
14  for ( int i = 0; i < 4; ++i ) {
15  angle_[i] = sumSin_[i] = sumCos_[i] = -10;
16  }
17  angle_[level] = planeA;
18  sumSin_[level] = sumSin;
19  sumCos_[level] = sumCos;
20  // default constructor
21 }
22 void EvtPlane::addLevel(int level, double ang, double sumsin, double sumcos) {
23  angle_[level] = ang;
24  sumSin_[level] = sumsin;
25  sumCos_[level] = sumcos;
26 }
27 
29 {
30 }
31 
32 
float sumSin_[4]
Definition: EvtPlane.h:41
void addLevel(int level, double ang, double sumsin, double sumcos)
Definition: EvtPlane.cc:22
virtual ~EvtPlane()
Definition: EvtPlane.cc:28
float sumCos(int level=2) const
Definition: EvtPlane.h:27
float angle_[4]
Definition: EvtPlane.h:40
float sumCos_[4]
Definition: EvtPlane.h:42
def uint(string)
fixed size matrix
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
float sumSin(int level=2) const
Definition: EvtPlane.h:26