RestFrames
v1.0.1
RestFrames HEP Event Analysis Software Library
|
Special jigsaw to minimize masses in a more efficient 1 to 2 splitting. Anytime n is large this jigsaw should be used. Using the method AddFrame() the user adds a frame to the children (Combinatoric group) and to the object.
Read more about the MinMassesCombJigsaw on the "Recursive Jigsaw Reconstruction report". Jigsaw Rule VIII.2 (Combinatoric Minimization).
Click here to learn more about MinMassesCombJigsaw
Definition at line 40 of file MinMassesCombJigsaw.hh.
Public Member Functions | |
MinMassesCombJigsaw (const std::string &sname, const std::string &stitle) | |
Standard constructor. More... | |
MinMassesCombJigsaw () | |
Empty constructor. | |
virtual std::string | GetLabel () const |
Returns name of this Jigsaw. More... | |
virtual void | AddFrame (const RestFrame &frame, int i=0) |
Adds frame to current jigsaw. More... | |
virtual void | AddFrames (const ConstRestFrameList &frames, int i=0) |
Adds a list of frames to current 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. | |
Static Public Member Functions | |
static MinMassesCombJigsaw & | Empty () |
Returns empty MinMassesCombJigsaw. More... | |
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 Member Functions | |
virtual bool | EvaluateMetric (double &metric) const |
virtual bool | AnalyzeEvent () |
Protected Member Functions inherited from RestFrames::CombinatoricJigsaw | |
virtual bool | IsSoundBody () const |
CombinatoricState & | GetNewChildState () |
virtual bool | InitializeAnalysis () |
virtual bool | InitializeCombinatoric () |
virtual bool | LoopCombinatoric () |
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 | |
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::MinMassesCombJigsaw::MinMassesCombJigsaw | ( | const std::string & | sname, |
const std::string & | stitle | ||
) |
Standard constructor.
sname | Class instance name used for log statements |
stitle | Class instance title used in figures |
Definition at line 38 of file MinMassesCombJigsaw.cc.
|
virtual |
Adds frame to current jigsaw.
frame | Frame to add |
Index | where to add frame |
Definition at line 50 of file MinMassesCombJigsaw.cc.
|
virtual |
Adds a list of frames to current jigsaw.
frames | Frames to add |
Index | where to add frames |
Definition at line 65 of file MinMassesCombJigsaw.cc.
|
static |
Returns empty MinMassesCombJigsaw.
Definition at line 46 of file MinMassesCombJigsaw.cc.
|
inlinevirtual |
Returns name of this Jigsaw.
Reimplemented from RestFrames::Jigsaw.
Definition at line 56 of file MinMassesCombJigsaw.hh.
#include "RestFrames/MinMassesCombJigsaw.hh"