Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTPixlMBForAlignmentFilter_h
0002 #define HLTPixlMBForAlignmentFilter_h
0003 
0004 /** \class HLTFiltCand
0005  *
0006  *
0007  *  This class is an HLTFilter (-> EDFilter) implementing a minimum-bias
0008  *  HLT trigger acting on candidates, requiring tracks in Pixel det
0009  *
0010  *
0011  *  \author Mika Huhtinen
0012  *
0013  */
0014 
0015 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0016 
0017 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
0018 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0019 
0020 namespace edm {
0021   class ConfigurationDescriptions;
0022 }
0023 
0024 //
0025 // class declaration
0026 //
0027 
0028 class HLTPixlMBForAlignmentFilter : public HLTFilter {
0029 public:
0030   explicit HLTPixlMBForAlignmentFilter(const edm::ParameterSet&);
0031   ~HLTPixlMBForAlignmentFilter() override;
0032   bool hltFilter(edm::Event&,
0033                  const edm::EventSetup&,
0034                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0035   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0036 
0037 private:
0038   edm::InputTag pixlTag_;  // input tag identifying product containing Pixel-tracks
0039   edm::EDGetTokenT<reco::RecoChargedCandidateCollection> pixlToken_;
0040 
0041   double min_Pt_;          // min pt cut
0042   unsigned int min_trks_;  // minimum number of tracks from same vertex
0043   float min_sep_;          // minimum separation of two tracks in phi-eta
0044   float min_isol_;         // size of isolation cone around track
0045 };
0046 
0047 #endif  //HLTPixlMBForAlignmentFilter_h