Page MenuHomeHEPForge

EvtFlatLineShape.hh
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

EvtFlatLineShape.hh

//--------------------------------------------------------------------------
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Information: See EvtGen/COPYRIGHT
// Copyright (C) 1998 Caltech, UCSB
//
// Module: EvtGen/EvtAbsLineShape.hh
//
// Description: Class to keep the particle properties for
// one particle
//
// Modification history:
//
// Lange March 10, 2001 Module created
//
//------------------------------------------------------------------------
#ifndef EVTFLATLINESHAPE_HH
#define EVTFLATLINESHAPE_HH
#include "EvtGenBase/EvtAbsLineShape.hh"
class EvtFlatLineShape :public EvtAbsLineShape {
public:
EvtFlatLineShape() = default;
EvtFlatLineShape(double mass, double width, double maxRange, EvtSpinType::spintype sp);
//figure the m1 and l on the fly
// double mDaug1, double mDaug2, int l);
EvtFlatLineShape& operator=(const EvtFlatLineShape& x);
EvtFlatLineShape(const EvtFlatLineShape& x);
EvtAbsLineShape* clone() override;
double getMassProb(double mass, double massPar, int nDaug, double *massDau) override;
// othDaugId is the other daughter of the parent in the case of a two body decay (only!)
// ie B->rho K rho->pipi, othDaugId = K
double getRandMass(EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId,double maxMass, double *dauMasses) override;
};
#endif

File Metadata

Mime Type
text/x-c++
Expires
Tue, Sep 30, 4:40 AM (22 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6564749
Default Alt Text
EvtFlatLineShape.hh (1 KB)

Event Timeline