ROOTPWA
Public Member Functions | Private Attributes | List of all members
NParticleState Class Reference

#include <NParticleState.h>

Public Member Functions

 NParticleState ()
virtual ~NParticleState ()
unsigned int n () const
int q () const
int qabs () const
TLorentzVector p () const
TLorentzVector pfs (unsigned int i) const
FSParticlegetParticle (unsigned int i) const
double Q2 () const
double t () const
TVector3 vertex () const
const TLorentzVector & beam () const
double rapidity () const
bool Exclusive (double d=10)
bool addParticle (FSParticle *part)
void setBeam (const TLorentzVector &beam)
bool isSubstate (const NParticleState *motherstate) const
bool isDisjunctFrom (const NParticleState *isobar) const

Private Attributes

unsigned int _n
int _q
TLorentzVector _p
TLorentzVector _beam
std::vector< FSParticle * > _fspart

Detailed Description

Definition at line 50 of file NParticleState.h.

Constructor & Destructor Documentation

NParticleState::NParticleState ( )

Definition at line 51 of file NParticleState.cc.

NParticleState::~NParticleState ( )
virtual

Definition at line 55 of file NParticleState.cc.

Member Function Documentation

bool NParticleState::addParticle ( FSParticle part)

Definition at line 59 of file NParticleState.cc.

References _fspart, _n, _p, _q, FSParticle::p(), and FSParticle::q().

Referenced by NParticleEvent::permute().

const TLorentzVector& NParticleState::beam ( ) const
inline

Definition at line 69 of file NParticleState.h.

References _beam.

Referenced by plotEvts(), Q2(), and setBeam().

bool NParticleState::Exclusive ( double  d = 10)

Definition at line 139 of file NParticleState.cc.

References _beam, and _p.

FSParticle* NParticleState::getParticle ( unsigned int  i) const
inline

Definition at line 65 of file NParticleState.h.

References _fspart.

Referenced by calculateHelicityAngles(), isDisjunctFrom(), isSubstate(), and plotWeightedEvts_Kpipi().

bool NParticleState::isDisjunctFrom ( const NParticleState isobar) const

Definition at line 172 of file NParticleState.cc.

References _n, getParticle(), i, FSParticle::IsEqual(), and n().

bool NParticleState::isSubstate ( const NParticleState motherstate) const

Definition at line 147 of file NParticleState.cc.

References _n, getParticle(), i, FSParticle::IsEqual(), and n().

Referenced by plotWeightedEvts().

unsigned int NParticleState::n ( ) const
inline
TLorentzVector NParticleState::p ( ) const
TLorentzVector NParticleState::pfs ( unsigned int  i) const

Definition at line 108 of file NParticleState.cc.

References _fspart, and _n.

int NParticleState::q ( ) const
inline

Definition at line 61 of file NParticleState.h.

References _q.

Referenced by plotEvts(), plotWeightedEvts(), plotWeightedEvts_3pin(), and plotWeightedEvts_Kpipi().

double NParticleState::Q2 ( ) const

Definition at line 88 of file NParticleState.cc.

References _beam, _p, beam(), and mpi.

Referenced by t().

int NParticleState::qabs ( ) const

Definition at line 115 of file NParticleState.cc.

References _fspart, _n, i, and FSParticle::q().

Referenced by plotEvts().

double NParticleState::rapidity ( ) const

Definition at line 102 of file NParticleState.cc.

References _p.

void NParticleState::setBeam ( const TLorentzVector &  beam)

Definition at line 69 of file NParticleState.cc.

References _beam, and beam().

Referenced by NParticleEvent::permute().

double NParticleState::t ( ) const
inline

Definition at line 67 of file NParticleState.h.

References Q2().

Referenced by plotEvts().

TVector3 NParticleState::vertex ( ) const

Definition at line 127 of file NParticleState.cc.

References _fspart, _n, i, and FSParticle::v().

Member Data Documentation

TLorentzVector NParticleState::_beam
private

Definition at line 88 of file NParticleState.h.

Referenced by beam(), Exclusive(), Q2(), and setBeam().

std::vector<FSParticle*> NParticleState::_fspart
private

Definition at line 89 of file NParticleState.h.

Referenced by addParticle(), getParticle(), p(), pfs(), qabs(), and vertex().

unsigned int NParticleState::_n
private

Definition at line 85 of file NParticleState.h.

Referenced by addParticle(), isDisjunctFrom(), isSubstate(), n(), p(), pfs(), qabs(), and vertex().

TLorentzVector NParticleState::_p
private

Definition at line 87 of file NParticleState.h.

Referenced by addParticle(), Exclusive(), Q2(), and rapidity().

int NParticleState::_q
private

Definition at line 86 of file NParticleState.h.

Referenced by addParticle(), and q().


The documentation for this class was generated from the following files: