37 SetMassInvJigsaw::SetMassInvJigsaw(
const std::string& sname,
38 const std::string& stitle) :
39 InvisibleJigsaw(sname, stitle, 1, 0) {}
41 SetMassInvJigsaw::SetMassInvJigsaw() : InvisibleJigsaw() {}
43 SetMassInvJigsaw::~SetMassInvJigsaw() {}
50 return SetMassInvJigsaw::m_Empty;
53 bool SetMassInvJigsaw::AnalyzeEvent(){
55 return SetSpirit(
false);
57 TLorentzVector inv_P = GetParentState().GetFourVector();
58 double M = std::max(0.,GetChildState(0).GetMinimumMass());
60 inv_P.SetVectM(inv_P.Vect(),M);
61 GetChildState(0).SetFourVector(inv_P);
63 return SetSpirit(
true);
66 void SetMassInvJigsaw::FillStateJigsawDependancies(JigsawList& jigsaws)
const {
67 Jigsaw::FillStateJigsawDependancies(jigsaws);
68 FillInvisibleMassJigsawDependancies(jigsaws);
71 SetMassInvJigsaw SetMassInvJigsaw::m_Empty;
virtual void Clear()
Clears Jigsaw of all connections to other objects.
virtual void Clear()
Clears Jigsaw of all connections to other objects.