#ifndef HCUTPARTICLE_H
#define HCUTPARTICLE_H
#include "hcut.h"
class HCategory;
class HIterator;
class HParticle;
class HCutParticle : public HCut {
public:
HCutParticle(void);
HCutParticle(const Text_t *name, const Text_t *title);
~HCutParticle() {}
void printCutList();
void reset();
void setStandardCuts();
Int_t check(HParticle *part);
TObjArray *getAcceptedParticles(TObjArray *ParticleList);
void setCharge(Int_t n) { kFlagCharge = kTRUE; fCharge = n; }
void setP(Double_t x, Double_t y) { kFlagP = kTRUE;
fMinP = x; fMaxP = y; }
void setPt(Double_t x, Double_t y) { kFlagPt = kTRUE;
fMinPt = x; fMaxPt = y; }
void setTheta(Double_t x, Double_t y) { kFlagTheta = kTRUE;
fMinTheta = x; fMaxTheta = y; }
void setPhi(Double_t x, Double_t y) { kFlagPhi = kTRUE;
fMinPhi = x; fMaxPhi = y; }
void setRapidity(Double_t x, Double_t y) { kFlagRapidity = kTRUE;
fMinRapidity = x; fMaxRapidity = y; }
void setPCutOff() { kFlagP = kFALSE; }
void setPtCutOff() { kFlagPt = kFALSE; }
private:
HCategory* fPartCat;
HIterator* iterPart;
protected:
Bool_t fVerbose;
TObjArray *fAcceptedParticles;
Bool_t kFlagCharge;
Int_t fnCharge;
Int_t fCharge;
Bool_t kFlagP;
Int_t fnP;
Double_t fMinP;
Double_t fMaxP;
Bool_t kFlagPt;
Int_t fnPt;
Double_t fMinPt;
Double_t fMaxPt;
Bool_t kFlagRapidity;
Int_t fnRapidity;
Double_t fMinRapidity;
Double_t fMaxRapidity;
Bool_t kFlagTheta;
Int_t fnTheta;
Double_t fMinTheta;
Double_t fMaxTheta;
Bool_t kFlagPhi;
Int_t fnPhi;
Double_t fMinPhi;
Double_t fMaxPhi;
ClassDef(HCutParticle,1)
};
#endif
Last change: Sat May 22 12:54:17 2010
Last generated: 2010-05-22 12:54
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.