MINT2
AssociatedDecayTreeItem.h
Go to the documentation of this file.
1 #ifndef ASSOCIATED_DECAY_TREEITEM_HH
2 #define ASSOCIATED_DECAY_TREEITEM_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:18:02 GMT
5 
6 #include "Mint/DecayTreeItem.h"
7 #include "TLorentzVector.h"
8 
10 class IDalitzEvent;
11 
13  protected:
14  std::vector<int> _asi;
15  public:
16  AssociatedDecayTreeItem(int i=0);
19 
20  const std::vector<int>& asi() const;
21  int asi(int i) const;
22 
23  virtual void print(std::ostream& out = std::cout) const;
24 
25  // main point of these routines is to handle non-resonant particles
26  // they simply add up the relevant properties of the daughter
27  // particles where appropriate
28  TLorentzVector p(const IDalitzEvent* evt) const;
29  double mReco2(const IDalitzEvent* evt) const;
30  double mReco(const IDalitzEvent* evt) const;
31  double mRes(const IDalitzEvent* evt=0) const;
32  // mRes will return mReco for the "non-resonant particles"
33  // for normal particle: pdg mass
34 
35  friend class AssociatingDecayTree;
36 };
37 
38 #endif
39 //
double mReco2(const IDalitzEvent *evt) const
double mReco(const IDalitzEvent *evt) const
virtual void print(std::ostream &out=std::cout) const
const std::vector< int > & asi() const
TLorentzVector p(const IDalitzEvent *evt) const
double mRes(const IDalitzEvent *evt=0) const