Class Reference for E1039 Core & Analysis Software
SQDimuon.h
Go to the documentation of this file.
1 #ifndef _SQ_DIMUON__H_
2 #define _SQ_DIMUON__H_
3 #include <iostream>
4 #include <phool/PHObject.h>
5 #include <TLorentzVector.h>
6 
8 class SQDimuon: public PHObject {
9  public:
10  virtual ~SQDimuon() {}
11 
12  virtual void identify(std::ostream& os = std::cout) const = 0;
13  virtual void Reset() = 0;
14  virtual int isValid() const = 0;
15  virtual SQDimuon* Clone() const = 0;
16 
17  virtual int get_dimuon_id() const = 0;
18  virtual void set_dimuon_id(const int a) = 0;
19 
20  virtual int get_rec_dimuon_id() const = 0;
21  virtual void set_rec_dimuon_id(const int a) = 0;
22 
23  virtual int get_pdg_id() const = 0;
24  virtual void set_pdg_id(const int a) = 0;
25 
26  virtual int get_track_id_pos() const = 0;
27  virtual void set_track_id_pos(const int a) = 0;
28 
29  virtual int get_track_id_neg() const = 0;
30  virtual void set_track_id_neg(const int a) = 0;
31 
32  virtual TVector3 get_pos() const = 0;
33  virtual void set_pos(const TVector3 a) = 0;
34 
35  virtual TLorentzVector get_mom() const = 0;
36  virtual void set_mom(const TLorentzVector a) = 0;
37 
38  virtual TLorentzVector get_mom_pos() const = 0;
39  virtual void set_mom_pos(const TLorentzVector a) = 0;
40 
41  virtual TLorentzVector get_mom_neg() const = 0;
42  virtual void set_mom_neg(const TLorentzVector a) = 0;
43 
44  virtual double get_mass() const = 0;
45  virtual double get_x1() const = 0;
46  virtual double get_x2() const = 0;
47  virtual double get_xf() const = 0;
48 
49  virtual double get_chisq() const = 0;
50 
51  protected:
52  SQDimuon() {}
53 
55 };
56 
57 #endif // _SQ_DIMUON__H_
An SQ interface class to hold one true or reconstructed dimuon.
Definition: SQDimuon.h:8
virtual ~SQDimuon()
Definition: SQDimuon.h:10
virtual void set_mom_neg(const TLorentzVector a)=0
virtual TLorentzVector get_mom_neg() const =0
Return the momentum of the negative track at vertex.
virtual void set_mom(const TLorentzVector a)=0
virtual int get_dimuon_id() const =0
Return the dimuon ID, which is unique per event(?).
virtual int isValid() const =0
isValid returns non zero if object contains vailid data
virtual int get_pdg_id() const =0
Return the GPD ID of parent particle. It is valid only for true dimuon.
virtual double get_xf() const =0
virtual void set_mom_pos(const TLorentzVector a)=0
virtual void set_pos(const TVector3 a)=0
virtual SQDimuon * Clone() const =0
virtual TLorentzVector get_mom_pos() const =0
Return the momentum of the positive track at vertex.
virtual double get_x2() const =0
SQDimuon()
Definition: SQDimuon.h:52
virtual void set_rec_dimuon_id(const int a)=0
virtual int get_track_id_neg() const =0
Return the track ID of the negative track.
virtual double get_x1() const =0
virtual int get_rec_dimuon_id() const =0
Return the dimuon ID of associated reconstructed dimuon. Valid only if this object holds truth dimuon...
virtual TLorentzVector get_mom() const =0
Return the dimuon momentum at vertex.
virtual void identify(std::ostream &os=std::cout) const =0
virtual void set_track_id_neg(const int a)=0
virtual void set_track_id_pos(const int a)=0
virtual int get_track_id_pos() const =0
Return the track ID of the positive track.
virtual void set_pdg_id(const int a)=0
virtual double get_mass() const =0
virtual TVector3 get_pos() const =0
Return the dimuon position at vertex.
ClassDef(SQDimuon, 1)
virtual double get_chisq() const =0
virtual void set_dimuon_id(const int a)=0
virtual void Reset()=0
Clear Event.