Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:39

0001 #ifndef FastSimulation_Event_KineParticleFilter_H
0002 #define FastSimulation_Event_KineParticleFilter_H
0003 
0004 #include "DataFormats/Math/interface/LorentzVector.h"
0005 
0006 class RawParticle;
0007 namespace edm {
0008   class ParameterSet;
0009 }
0010 
0011 class KineParticleFilter {
0012 public:
0013   KineParticleFilter(const edm::ParameterSet& kine);
0014 
0015   ~KineParticleFilter() { ; }
0016 
0017   bool acceptParticle(const RawParticle& p) const;
0018 
0019   bool acceptVertex(const math::XYZTLorentzVector& p) const;
0020 
0021 private:
0022   // see constructor for comments
0023   double chargedPtMin2, EMin, protonEMin;
0024   double cos2ThetaMax;
0025   double vertexRMax2, vertexZMax;
0026 };
0027 
0028 #endif