BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtSpinDensity.hh
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtSpinDensity.hh
12//
13// Description: This class holds a spin density matrix, it is
14// a complex nxn matrix.
15//
16// Modification history:
17//
18// RYD May 29, 1997 Module created
19//
20//------------------------------------------------------------------------
21
22#ifndef EVTSPINDENSITY_HH
23#define EVTSPINDENSITY_HH
24#include "EvtGenBase/EvtComplex.hh"
25
26
27class EvtSpinDensity {
28
29public:
30
33 virtual ~EvtSpinDensity();
34
36 void SetDim(int n);
37 int GetDim() const;
38 void Set(int i,int j,const EvtComplex& rhoij);
39 const EvtComplex& Get(int i,int j) const;
41 friend std::ostream& operator<<(std::ostream& s,const EvtSpinDensity& d);
42 void SetDiag(int n);
43
44 int Check();
45
46private:
47
49 int dim;
50};
51
52#endif
53
const Int_t n
XmlRpcServer s
Definition: HelloServer.cpp:11
double NormalizedProb(const EvtSpinDensity &d)
int GetDim() const
void SetDiag(int n)
const EvtComplex & Get(int i, int j) const
void Set(int i, int j, const EvtComplex &rhoij)
EvtSpinDensity & operator=(const EvtSpinDensity &density)
friend std::ostream & operator<<(std::ostream &s, const EvtSpinDensity &d)
void SetDim(int n)
EvtSpinDensity(const EvtSpinDensity &density)
virtual ~EvtSpinDensity()