RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Minimizes the sum of masses squared. Masses are the individual groups the user has specified.
Read more about the Combinatoric Jigsaws on the "Recursive Jigsaw Reconstruction report". JR case VII.1.1 (Minimize Masses Squared).
Click here to learn more about MinMassesSqCombJigsaw
Definition at line 37 of file MinMassesSqCombJigsaw.hh.
Public Member Functions | |
MinMassesSqCombJigsaw (const std::string &sname, const std::string &stitle, int N_comb, int N_mass) | |
Standard constructor. More... | |
virtual std::string | GetLabel () const |
Returns name of this Jigsaw. More... | |
Public Member Functions inherited from RestFrames::CombinatoricJigsaw | |
CombinatoricJigsaw (const std::string &sname, const std::string &stitle, int Ncomb, int Nobject) | |
Standard constructor. More... | |
CombinatoricJigsaw () | |
Empty constructor. | |
virtual void | Clear () |
Clears CombinatoricJigsaw from all connections to other objects. | |
virtual void | SetGroup (Group &group=Group::Empty()) |
Sets group (Group) to current jigsaw. More... | |
virtual CombinatoricGroup & | GetGroup () const |
Returns group (Group) associated with this jigsaw. More... | |
virtual void | AddCombFrame (const RestFrame &frame, int i=0) |
Adds a frame (RestFrame) to this jigsaw. More... | |
void | AddCombFrames (const ConstRestFrameList &frames, int i=0) |
Adds a list of frames (RestFrame) to this jigsaw. More... | |
virtual void | AddObjectFrame (const RestFrame &frame, int i=0) |
Adds a frame to this jigsaw. More... | |
void | AddObjectFrames (const ConstRestFrameList &frames, int i=0) |
Adds a frame to this jigsaw. More... | |
void | SetCombCharge (const RFCharge &charge, int i) |
Sets charge of ith combinatoric frame. More... | |
void | SetCombCharge (int charge, int i) |
Sets charge of ith combinatoric frame. More... | |
void | SetCombCharge (int charge_num, int charge_den, int i) |
Sets charge of ith combinatoric frame. More... | |
void | UnsetCombCharge (int i) |
Unsets charge of the ith combinatoric frame. More... | |
void | SetObjectCharge (const RFCharge &charge, int i) |
Sets charge of ith object frame. More... | |
void | SetObjectCharge (int charge, int i) |
Sets charge of ith object frame. More... | |
void | SetObjectCharge (int charge_num, int charge_den, int i) |
Sets charge of ith object frame. More... | |
void | UnsetObjectCharge (int i) |
Unsets charge of the ith object frame. More... | |
void | SetTransverse (bool tran=true, const TVector3 &axis=RestFrame::GetAxis()) |
Sets transverse momentum. More... | |
Public Member Functions inherited from RestFrames::Jigsaw | |
Jigsaw (const std::string &sname, const std::string &stitle, int Nchild, int Ndependancy) | |
Standard constructor. More... | |
Jigsaw () | |
Empty constructor. | |
JigsawType | GetType () const |
Returns jigsaw (JigsawType) type. More... | |
virtual std::string | PrintString (LogType type) const |
Prints string of information associated with Jigsaw. More... | |
bool | IsInvisibleJigsaw () const |
Is invisible jigsaw? (true/false) | |
bool | IsCombinatoricJigsaw () const |
Is combinatoric jigsaw? (true/false) | |
virtual ConstRestFrameList | GetParentFrames () const |
Returns list of parent frames associated with this jigsaw. More... | |
virtual ConstRestFrameList const & | GetChildFrames (int i) const |
Returns list of child frames associated with this jigsaw. More... | |
virtual ConstRestFrameList const & | GetDependancyFrames (int i) const |
Returns list of frames in which this jigsaw depends on. More... | |
void | RemoveFrame (const RestFrame &frame) |
Removes a frame from this jigsaw. More... | |
void | RemoveFrames (const ConstRestFrameList &frames) |
Removes a list of frames from this jigsaw. More... | |
Public Member Functions inherited from RestFrames::RFBase | |
RFBase (const std::string &sname, const std::string &stitle, int key) | |
Standard constructor. More... | |
RFBase () | |
Empty constructor. | |
bool | IsEmpty () const |
Checks whether this is default (empty) instance of class. | |
bool | operator! () const |
Tests whether key is the same as this. | |
void | Print (LogType type) const |
Print information associated with object. | |
RFKey | GetKey () const |
gets object identification key | |
std::string | GetName () const |
Returns object name. | |
std::string | GetTitle () const |
Returns object title. | |
bool | IsSame (const RFKey &key) const |
Tests whether key is the same as this. | |
bool | IsSame (const RFBase &obj) const |
Tests whether obj is the same as this. | |
bool | operator== (const RFKey &key) const |
Tests whether key is the same as this. | |
bool | operator== (const RFBase &obj) const |
Tests whether obj is the same as this. | |
bool | operator!= (const RFKey &key) const |
Tests whether key is the same as this. | |
bool | operator!= (const RFBase &obj) const |
Tests whether obj is the same as this. | |
Protected Member Functions | |
virtual bool | EvaluateMetric (double &metric) const |
Protected Member Functions inherited from RestFrames::CombinatoricJigsaw | |
virtual bool | IsSoundBody () const |
CombinatoricState & | GetNewChildState () |
virtual bool | InitializeAnalysis () |
virtual bool | InitializeCombinatoric () |
virtual bool | LoopCombinatoric () |
virtual bool | AnalyzeEvent () |
int | GetNInputStates () const |
VisibleState & | GetInputState (int i=0) const |
int | GetNinputForChild (int i=0) const |
bool | IsNinputExclForChild (int i=0) const |
bool | IsChargeSetForChild (int i=0) const |
RFCharge | GetChargeForChild (int i=0) const |
bool | IsChargeSetForObject (int i=0) const |
RFCharge | GetChargeForObject (int i=0) const |
void | SetParentState (State &state=State::Empty()) |
CombinatoricState const & | GetParentState () const |
CombinatoricState & | GetChildState (int i) const |
bool | InitializeJigsawExecutionList (JigsawList &exec_jigsaws, JigsawList &todo_jigsaws) |
bool | ExecuteDependancyJigsaws () |
bool | IsTransverse () const |
const TVector3 & | GetTransverseAxis () const |
Protected Member Functions inherited from RestFrames::Jigsaw | |
bool | CanResolve (const State &state) const |
bool | CanResolve (const ConstRestFrameList &frames) const |
bool | DependsOnJigsaw (const Jigsaw &jigsaw) const |
virtual bool | InitializeTree () |
virtual bool | InitializeDependancyJigsaws () |
void | AddChildFrame (const RestFrame &frame, int i=0) |
void | AddDependancyFrame (const RestFrame &frame, int i=0) |
virtual int | GetNChildren () const |
virtual StateList const & | GetChildStates () const |
int | GetNDependancyStates () const |
virtual StateList const & | GetDependancyStates (int i) const |
void | SetParentState () |
virtual void | FillJigsawDependancies (JigsawList &jigsaws) const |
virtual void | FillGroupJigsawDependancies (JigsawList &jigsaws) const |
virtual void | FillGroupJigsawDependants (JigsawList &jigsaws) const |
Protected Member Functions inherited from RestFrames::RFBase | |
bool | SetBody (bool body) const |
bool | SetMind (bool mind) const |
bool | SetSpirit (bool spirit) const |
virtual bool | IsSoundMind () const |
virtual bool | IsSoundSpirit () const |
void | UnSoundBody (const std::string &function) const |
void | UnSoundMind (const std::string &function) const |
void | UnSoundSpirit (const std::string &function) const |
void | AddDependent (RFBase *dep) |
pointer to RFBase object owned by this one | |
Additional Inherited Members | |
Static Public Member Functions inherited from RestFrames::CombinatoricJigsaw | |
static CombinatoricJigsaw & | Empty () |
Returns empty CombinatoricJigsaw. More... | |
Static Public Member Functions inherited from RestFrames::Jigsaw | |
static Jigsaw & | Empty () |
Returns empty Jigsaw. More... | |
Static Public Member Functions inherited from RestFrames::RFBase | |
static RFBase & | Empty () |
Returns empty RFBase. More... | |
Protected Attributes inherited from RestFrames::CombinatoricJigsaw | |
JigsawList | m_ExecuteJigsaws |
Protected Attributes inherited from RestFrames::Jigsaw | |
JigsawType | m_Type |
Protected Attributes inherited from RestFrames::RFBase | |
RFLog | m_Log |
RFBase * | m_This |
Static Protected Attributes inherited from RestFrames::RFBase | |
static const TVector3 | m_Empty3Vector |
static const TLorentzVector | m_Empty4Vector |
RestFrames::MinMassesSqCombJigsaw::MinMassesSqCombJigsaw | ( | const std::string & | sname, |
const std::string & | stitle, | ||
int | N_comb, | ||
int | N_mass | ||
) |
Standard constructor.
sname | Class instance name used for log statements |
stitle | Class instance title used in figures |
N_comb | Number of subgroups a group of frames will be broken into |
N_mass | Number of objects that are going to be evaluated to decide which partition will be used |
Definition at line 35 of file MinMassesSqCombJigsaw.cc.
|
inlinevirtual |
Returns name of this Jigsaw.
Reimplemented from RestFrames::Jigsaw.
Definition at line 54 of file MinMassesSqCombJigsaw.hh.
#include "RestFrames/MinMassesSqCombJigsaw.hh"