CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTPMMassFilter.h
Go to the documentation of this file.
1 #ifndef HLTPMMassFilter_h
2 #define HLTPMMassFilter_h
3 
13 
18 
21 
24 
26 
28 
31 
34 
37 
38 // TEST
41 
42 #include "TFile.h"
43 #include "TDirectory.h"
44 #include "TH1F.h"
45 #include "TH2F.h"
46 #include "TLorentzVector.h"
47 #include "TVector3.h"
48 //
49 // class declaration
50 //
51 
52 class HLTPMMassFilter : public HLTFilter {
53 
54  public:
55  explicit HLTPMMassFilter(const edm::ParameterSet&);
57  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct);
58 
59  private:
60  TLorentzVector approxMomAtVtx( const MagneticField *magField, const GlobalPoint& xvert, const reco::SuperClusterRef sc, int charge) ;
61 
64 
65  edm::InputTag candTag_; // input tag identifying product contains filtered egammas
66  edm::InputTag beamSpot_; // input tag identifying beamSpot product
67  double lowerMassCut_;
68  double upperMassCut_;
69  // double lowerPtCut_;
70  int nZcandcut_; // number of Z candidates required
72 
73  bool relaxed_;
78 
79 };
80 
81 #endif //HLTPMMassFilter_h
82 
83 
edm::InputTag candTag_
edm::InputTag beamSpot_
TLorentzVector approxMomAtVtx(const MagneticField *magField, const GlobalPoint &xvert, const reco::SuperClusterRef sc, int charge)
HLTPMMassFilter(const edm::ParameterSet &)
edm::InputTag L1IsoCollTag_
edm::InputTag L1NonIsoCollTag_
double charge(const std::vector< uint8_t > &Ampls)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
FTSFromVertexToPointFactory theFTSFactory
edm::ESHandle< MagneticField > theMagField