CMS 3D CMS Logo

ParticleFilter.h
Go to the documentation of this file.
1 #ifndef FASTSIM_PARTICLEFILTER
2 #define FASTSIM_PARTICLEFILTER
3 
5 #include <vector>
6 
7 
9 // Author: Patrick Janot
10 // Date: 09 Dez 2003
11 //
12 // Revision: Class structure modified to match SimplifiedGeometryPropagator
13 // S. Kurz, 29 May 2017
15 
16 
17 namespace edm
18 {
19  class ParameterSet;
20 }
21 
22 namespace fastsim
23 {
24  class Particle;
25 
27 
31  {
32  public:
35 
37 
44  bool accepts(const Particle & particle) const;
45 
47  bool acceptsEn(const Particle & particle) const;
48 
50 
53  bool acceptsVtx(const math::XYZTLorentzVector & originVertexPosition) const;
54 
55  private:
56  double chargedPtMin2_;
57  double EMin_;
58  double protonEMin_;
59  double cos2ThetaMax_;
60  double vertexRMax2_;
61  double vertexZMax_;
62  std::vector<int> skipParticles_;
63  };
64 }
65 
66 #endif
double cos2ThetaMax_
Particles must have abs(eta) < etaMax if close to beampipe.
double EMin_
Minimum energy of a particle.
std::vector< int > skipParticles_
List of invisible particles (neutrinos are excluded by default)
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
double protonEMin_
Allow ALL protons with energy > protonEMin.
double vertexRMax2_
Radius^2 of tracker volume.
double vertexZMax_
Z of tracker volume.
HLT enums.
(Kinematic) cuts on the particles that are propagated.
double chargedPtMin2_
Minimum pT^2 of a charged particle.