ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHSartreParticleTrigger.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHSartreParticleTrigger.h
1 #ifndef PHSARTRE_PHSARTREPARTICLETRIGGER_H
2 #define PHSARTRE_PHSARTREPARTICLETRIGGER_H
3 
4 #include "PHSartreGenTrigger.h"
5 
6 #include <string>
7 #include <vector> // for vector
8 
9 class Event;
10 
12 {
13  public:
14  PHSartreParticleTrigger(const std::string &name = "PHSartreParticleTrigger");
15  virtual ~PHSartreParticleTrigger();
16 
17  bool Apply(Event *event);
18 
19  void AddParticles(const std::string &particles);
20  void AddParticles(int particle);
21  void AddParticles(std::vector<int> particles);
22 
23  void SetPtHigh(double pt);
24  void SetPtLow(double pt);
25  void SetPtHighLow(double ptHigh, double ptLow);
26 
27  void SetPHigh(double p);
28  void SetPLow(double p);
29  void SetPHighLow(double pHigh, double pLow);
30 
31  void SetEtaHigh(double eta);
32  void SetEtaLow(double eta);
33  void SetEtaHighLow(double etaHigh, double etaLow);
34 
35  void SetAbsEtaHigh(double eta);
36  void SetAbsEtaLow(double eta);
37  void SetAbsEtaHighLow(double etaHigh, double etaLow);
38 
39  void SetPzHigh(double pz);
40  void SetPzLow(double pz);
41  void SetPzHighLow(double pzHigh, double pzLow);
42 
43  void PrintConfig();
44 
45  private:
46  std::vector<int> _theParticles;
47 
52 
58 };
59 
60 #endif