Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:43

0001 
0002 #ifndef HLTSingleVertexPixelTrackFilter_h
0003 #define HLTSingleVertexPixelTrackFilter_h
0004 
0005 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0006 
0007 #include "DataFormats/VertexReco/interface/Vertex.h"
0008 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0009 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
0010 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0011 
0012 namespace edm {
0013   class ConfigurationDescriptions;
0014 }
0015 //
0016 // class declaration
0017 //
0018 
0019 class HLTSingleVertexPixelTrackFilter : public HLTFilter {
0020 public:
0021   explicit HLTSingleVertexPixelTrackFilter(const edm::ParameterSet&);
0022   ~HLTSingleVertexPixelTrackFilter() override;
0023   bool hltFilter(edm::Event&,
0024                  const edm::EventSetup&,
0025                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0026   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0027 
0028 private:
0029   edm::InputTag pixelVerticesTag_;  // input tag identifying product containing Pixel-vertices
0030   edm::InputTag pixelTracksTag_;    // input tag identifying product containing Pixel-tracks
0031   edm::EDGetTokenT<reco::VertexCollection> pixelVerticesToken_;
0032   edm::EDGetTokenT<reco::RecoChargedCandidateCollection> pixelTracksToken_;
0033 
0034   double min_Pt_;   // min pt cut
0035   double max_Pt_;   // max pt cut
0036   double max_Eta_;  // max eta cut
0037   double max_Vz_;   // max vz cut
0038   int min_trks_;    // minimum number of tracks from one vertex
0039   float min_sep_;   // minimum separation of two tracks in phi-eta
0040 };
0041 
0042 #endif  //HLTSingleVertexPixelTrackFilter_h