Herwig
7.2.1
|
This class is desinged to store the mixing matrices needed for Susy studies. More...
#include <MixingMatrix.h>
Classes | |
class | MixingMatrixError |
Exception class to indicate problem with mixing matrix . More... | |
Public Member Functions | |
void | adjustPhase (long id) |
Multiply row corresponding to id by . More... | |
const Complex | operator() (unsigned int row, unsigned int col) const |
Access element of matrix. | |
Complex & | operator() (unsigned int row, unsigned int col) |
Set element of matrix. | |
void | addCode (long id) |
Add a PDG code to the stored vector. | |
MatrixSize | size () const |
Return the size of the mixing matrix. | |
Constructors | |
MixingMatrix (const CMatrix &mix, const vector< long > &ids) | |
Constructor that takes a mixing matrix and a vector id's as arguments. More... | |
MixingMatrix (unsigned int row, unsigned int col) | |
Contructor that initializes size of matrix. | |
MixingMatrix () | |
Standard Constructor. | |
Functions used by the persistent I/O system. | |
void | persistentOutput (PersistentOStream &os) const |
Function used to write out object persistently. More... | |
void | persistentInput (PersistentIStream &is, int version) |
Function used to read in object persistently. More... | |
Get and Set functions. | |
void | setMatrix (const CMatrix &mixing) |
Set the mixing matrix. More... | |
CMatrix | getMatrix () const |
Get the mixing matrix. | |
void | setIds (const vector< long > &mixingCodes) |
Set the vector containing mixing particles codes. More... | |
const vector< long > & | getIds () const |
Get the vector containing mixing particles codes. | |
Public Member Functions inherited from ThePEG::Interfaced | |
virtual bool | defaultInit () |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
PPtr | getParticle (PID) const |
PDPtr | getParticleData (PID) const |
bool | used () const |
void | useMe () const |
tEGPtr | generator () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
Public Member Functions inherited from ThePEG::InterfacedBase | |
string | fullName () const |
string | name () const |
string | path () const |
string | comment () const |
void | setup (istream &is) |
virtual void | debugme () const |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
void | update () |
void | init () |
virtual bool | preInitialize () const |
void | initrun () |
void | finish () |
void | touch () |
void | reset () |
void | clear () |
InitState | state () const |
bool | locked () const |
bool | touched () const |
void | persistentOutput (PersistentOStream &os) const |
void | persistentInput (PersistentIStream &is, int version) |
Public Member Functions inherited from ThePEG::Base | |
void | debug () const |
Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
CounterType | referenceCount () const |
Public Member Functions inherited from ThePEG::Named | |
Named (const string &newName=string()) | |
Named (const Named &)=default | |
const string & | name () const |
bool | operator== (const Named &other) const |
bool | operator< (const Named &other) const |
Static Public Member Functions | |
static void | Init () |
The standard Init function used to initialize the interfaces. More... | |
Static Public Member Functions inherited from ThePEG::Interfaced | |
static void | Init () |
Static Public Member Functions inherited from ThePEG::InterfacedBase | |
static void | Init () |
Static Public Member Functions inherited from ThePEG::Base | |
static void | Init () |
Protected Member Functions | |
Clone Methods. | |
virtual IBPtr | clone () const |
Make a simple clone of this object. More... | |
virtual IBPtr | fullclone () const |
Make a clone of this object, possibly modifying the cloned object to make it sane. More... | |
Protected Member Functions inherited from ThePEG::Interfaced | |
void | reporeg (IBPtr object, string name) const |
bool | setDefaultReference (PtrT &ptr, string classname, string objectname) |
Interfaced (const string &newName) | |
Interfaced (const Interfaced &i) | |
void | setGenerator (tEGPtr generator) |
Protected Member Functions inherited from ThePEG::InterfacedBase | |
InterfacedBase (string newName) | |
InterfacedBase (const InterfacedBase &i) | |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
virtual void | readSetup (istream &is) |
virtual void | doupdate () |
virtual void | doinit () |
virtual void | doinitrun () |
virtual void | dofinish () |
virtual IVector | getReferences () |
virtual void | rebind (const TranslationMap &) |
Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
Protected Member Functions inherited from ThePEG::Named | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
Private Member Functions | |
MixingMatrix & | operator= (const MixingMatrix &)=delete |
The assignment operator is private and must never be called. More... | |
Private Attributes | |
CMatrix | mixingMatrix_ |
The mixing matrix. | |
vector< long > | ids_ |
The PDG codes of the mixing particles. | |
pair< unsigned int, unsigned int > | size_ |
Size of matrix. | |
Friends | |
ostream & | operator<< (ostream &os, const MixingMatrix &mix) |
Print the matrix to the stream. | |
Additional Inherited Members | |
Public Types inherited from ThePEG::InterfacedBase | |
enum | InitState |
Public Types inherited from ThePEG::Pointer::ReferenceCounted | |
typedef unsigned int | CounterType |
Public Attributes inherited from ThePEG::InterfacedBase | |
initializing | |
uninitialized | |
initialized | |
runready | |
Public Attributes inherited from ThePEG::Pointer::ReferenceCounted | |
const unsigned long | uniqueId |
Static Protected Member Functions inherited from ThePEG::Interfaced | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
This class is desinged to store the mixing matrices needed for Susy studies.
The actual matrix is stored as a nested complex vector. It also stores a vector of PDG codes correspoding to the mass states of mixing states.
Definition at line 78 of file MixingMatrix.h.
|
inline |
Constructor that takes a mixing matrix and a vector id's as arguments.
mix | Mixing matrix |
ids | The ids of the mixing sparticles |
Definition at line 92 of file MixingMatrix.h.
void Herwig::MixingMatrix::adjustPhase | ( | long | id | ) |
Multiply row corresponding to id by .
id | PDG code of particle |
|
inlineprotectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
Definition at line 225 of file MixingMatrix.h.
|
inlineprotectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
Definition at line 231 of file MixingMatrix.h.
|
static |
The standard Init function used to initialize the interfaces.
Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
void Herwig::MixingMatrix::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void Herwig::MixingMatrix::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inline |
Set the vector containing mixing particles codes.
mixingCodes | vector containing PDG codes for mixing particles |
Definition at line 155 of file MixingMatrix.h.
References ThePEG::Exception::warning.
|
inline |
Set the mixing matrix.
mixing | The Mixing matrix stored as nested complex vector |
Definition at line 141 of file MixingMatrix.h.