#include "hhypDeltaTofAlg.h" |
HHypDeltaTofAlg
class description - source file - inheritance tree (.pdf)
private:
Bool_t getTrackInfo(Int_t momIndex1, Int_t momIndex2)
public:
HHypDeltaTofAlg(char* name_i = "0", Option_t* par = "0")
HHypDeltaTofAlg(const HHypDeltaTofAlg&)
virtual ~HHypDeltaTofAlg()
static TClass* Class()
virtual Bool_t execute()
virtual Bool_t finalize()
virtual Bool_t init()
virtual TClass* IsA() const
HHypDeltaTofAlg& operator=(const HHypDeltaTofAlg&)
virtual Bool_t reinit()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
TNtuple* qa
protected:
Double_t dtof
Double_t sigmaDeltaTof
Double_t tof1_exp
Double_t tof1_theo
Double_t beta1_th
Double_t pathLength1
Double_t tof2_exp
Double_t tof2_theo
Double_t beta2_th
Double_t pathLength2
Double_t deltaTofTheo[10]
Double_t deltaTofExp[10]
Double_t deltaTOF[10]
Double_t deltaTofTheoError[10]
Double_t deltaTofExpError[10]
Int_t hyppid1
Int_t hyppid2
HPidParticle* particle1
HPidParticle* particle2
TLorentzVector partHyp1
TLorentzVector partHyp2
TVector3 partHyp1mom
TVector3 partHyp2mom
Double_t mass1
Double_t mass2
Int_t momIndex1
Int_t momIndex2
Int_t trackIndex1
Int_t trackIndex2
HHypDeltaTofAlg
Algorithm which removes combinations acconding to time-of-flight
differences
Features:
1. TimeOfFlight from HSpline has already been recalculated due to the
lack of START detector. But this should affect time differences.
Original Time can anyhow be recover with a little bit more work.
2. It will only work with less than 10 particles in an event. Anyhow this
is harcoded somewhere else, it should be changed top something more
flexible.
3. We should pass DEBUG flag as a execution parameter.
-> On "init" or "constructor" -- debugFlag=0 default.
4. Many variables can be declared earlier and the reused. to save time (?).
5. Can we have to differnt TrackingAlgos in the same file for 2 different
HPidParticles? --> Now i assume NO. so its checked once per pair.
MOMENTUM ALGORITHMS INDEXES defined in "$HADDIR/pid/piddef.h"
ALG_KICK 0
ALG_KICK123 1
ALG_SPLINE 2
ALG_RUNGEKUTTA 4
tracking cats defined here : /misc/halo/anal/dev/mdctrackG/hmdctrackgdef.h
Tiago Perez.
Added new method getTrackInfo(). This method handles all that complicated
pointers to retrieve track info. Then sets TOF_EXP and pathLength
T. Perez
HHypDeltaTofAlg(char *name_i, Option_t par[])
:HHypBaseAlgorithm(name_i,par)
~HHypDeltaTofAlg()
Bool_t execute()
Bool_t init()
need to get name from channel
Bool_t reinit()
Bool_t finalize()
Bool_t getTrackInfo(Int_t momIndex1, Int_t momIndex2)
Inline Functions
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HHypDeltaTofAlg HHypDeltaTofAlg(const HHypDeltaTofAlg&)
HHypDeltaTofAlg& operator=(const HHypDeltaTofAlg&)
Last update: 05.07.2005 by T. Perez
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.