#ifndef HHypListCat_H
#define HHypListCat_H
#include "hhypcomb.h"
#include "hhypkine.h"
#include "hypinfodef.h"
#include "TROOT.h"
#include "TArrayF.h"
#include "TArrayI.h"
#include "TObject.h"
#include <hcategory.h>
#include "TLorentzVector.h"
#include <hpidtrackcand.h>
#include <hlinearcategory.h>
#include <hphysicsconstants.h>
class HHypList:public TObject
{
public:
HHypList () {};
HHypList (HHypList * HypList, Int_t IdxHypKine = -1);
HHypList (HHypComb * HypComb, Int_t IdxHypKine = -1);
HHypList (Int_t Idx_HypComb, Int_t IdxHypKine = -1);
~HHypList () {};
void Restore (void);
void Clear(const Option_t *opt = "");
Int_t getNcomb ();
Int_t getNpart ();
Int_t getPid (Int_t Icomb, Int_t Ipart);
Int_t getPid (Int_t Ipart);
Int_t getIdxPidTrackCand (Int_t Icomb, Int_t Ipart);
Int_t getIdxPidTrackCand (Int_t Ipart);
Int_t getIdxPidTrackCand (const Char_t *name, Int_t);
Float_t getProbComb (Int_t Icomb);
Float_t getNrOfFakes(void);
Bool_t isValidPart (Int_t Icomb, Int_t Ipart);
Bool_t isValidPart (Int_t Ipart);
Int_t getNvalid(void);
Int_t getNvalid(Int_t Icomb);
TLorentzVector getTLorentzVector (Int_t Icomb, Int_t Ipart);
TLorentzVector getTLorentzVector (const Char_t *, Int_t);
TLorentzVector getTLorentzVector (Int_t Ipart);
TVector3 getOrigMomentum (Int_t Ipart);
TVector3 getOrigMomentum (Int_t Icomb, Int_t Ipart);
TVector3 getMomentum (Int_t Ipart);
TVector3 getMomentum (Int_t Icomb, Int_t Ipart);
Float_t getBeta(const Char_t *name, Int_t num);
Float_t getBeta (Int_t Icomb, Int_t Ipart);
Float_t getBeta (Int_t Ipart);
Bool_t initcopyMomentum (void);
Bool_t setMomentum (Int_t Icomb, Int_t Ipart, TVector3 vect);
Bool_t setMomentum (Int_t Ipart, TVector3 vect);
Bool_t setMomentum (const Char_t *name, Int_t num, TVector3 vect);
HPidTrackCand *getPidTrackCand (Int_t Ipart);
HPidTrackCand *getPidTrackCand(const Char_t *name, Int_t num);
Bool_t setListId (Int_t Id_list);
Int_t getListId ();
Bool_t setIdxHypComb (Int_t Idx);
Int_t getIdxHypComb ();
Bool_t setIdxHypKine (Int_t Idx);
Int_t getIdxHypKine ();
Bool_t setProbAlg (Int_t Icomb, Float_t Prob);
Float_t getProbAlg (Int_t Icomb);
Float_t getProbAlg (void);
Int_t getOrder (void);
Bool_t resetProbAlg (Float_t Prob);
void removeComb (void);
void KeepBestComb (void);
Bool_t ReadNumberedUserValues(Int_t i,Int_t &my_iter,Int_t &valueID,Float_t &value);
void setUserValue (Int_t valueID, Float_t value, Int_t my_iter = -1);
Bool_t writeUserValues (void);
Bool_t getUserValue (Int_t valueID, Float_t &value, Int_t my_iter = -1);
HHypList *getParent ();
Bool_t Join(HHypList *addthis);
Bool_t prepareHypList ();
Bool_t print ();
static HCategory *buildLinearCat (const Text_t * Calssname);
Bool_t CombIteratorReset (void);
Bool_t CombIterator (void);
Bool_t getIterStatus (void);
void resetIterStatus(void);
private:
Int_t idx_hypkine;
Int_t idx_hypcomb;
Int_t idx_hyplist;
Int_t id_list;
TArrayF fprobalg;
TArrayF fvaluealg;
TArrayI fuseralg;
Int_t nvaluealg;
Float_t c_fvaluealg[MAX_USER_VALUES];
Int_t c_fuseralg[2 * MAX_USER_VALUES];
Int_t c_nvaluealg;
HHypComb *p_hypcomb;
Int_t comb_iter;
Bool_t status;
Bool_t iterstatus;
ClassDef(HHypList, 2)
};
#endif
Last change: Sat May 22 12:57:49 2010
Last generated: 2010-05-22 12:57
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.