#ifndef HHypKineCat_H
#define HHypKineCat_H
#include "TROOT.h"
#include "TArrayF.h"
#include "TArrayI.h"
#include "TObject.h"
#include <hcategory.h>
#include "TLorentzVector.h"
#include <hlinearcategory.h>
#include <hphysicsconstants.h>
class HHypKine:public TObject
{
public:
HHypKine(Int_t Ncomb, Int_t Npart);
HHypKine(Int_t Idx_HypComb);
HHypKine(HHypKine *src);
HHypKine() {clear();}
~HHypKine() {}
void Clear(Option_t *opt = "");
Bool_t clear();
const TArrayI &getArrayPid(void){ return(pid);};
const TArrayF &getArrayPx(void){ return(px);};
const TArrayF &getArrayPy(void){ return(py);};
const TArrayF &getArrayPz(void){ return(pz);};
Bool_t setNcomb(Int_t Ncomb);
Int_t getNcomb();
Bool_t setNpart(Int_t Npart);
Int_t getNpart();
Bool_t prepareHypKine();
Bool_t setTLorentzVector(Int_t Icomb, Int_t Ipart,
TLorentzVector Vect);
TLorentzVector getTLorentzVector(Int_t Icomb, Int_t Ipart);
Bool_t setMomentum(Int_t Icomb, Int_t Ipart, TVector3 vect);
TVector3 getMomentum(Int_t Icomb, Int_t Ipart);
Bool_t setPid(Int_t Icomb, Int_t Ipart, Int_t Pid);
Int_t getPid(Int_t Icomb, Int_t Ipart);
Bool_t print();
static HCategory *buildLinearCat(const Text_t * classname);
private:
TArrayF px;
TArrayF py;
TArrayF pz;
TArrayI pid;
Int_t ncomb;
Int_t npart;
ClassDef(HHypKine, 1)
};
#endif
Last change: Sat May 22 12:57:45 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.