CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTHFAsymmetryFilter.h
Go to the documentation of this file.
1 #ifndef _HLTHFAsymmetryFilter_H
2 #define _HLTHFAsymetryFilter_H
3 
4 
6 //
7 // HLTHFAsymetryFilter
8 //
9 // Filter definition
10 //
11 // We perform a selection on HF energy repartition
12 //
13 // This filter is primarily used to select Beamgas (aka PKAM) events
14 //
15 // An asymmetry parameter, based on the pixel clusters, is computed as follows
16 //
17 // asym1 = E_HF-/(E_HF- + E_HF+) for beam1
18 // asym2 = E_HF+/(E_HF- + E_HF+) for beam2
19 //
20 // where E_HF is the total energy of clusters passing a certain threshold (given by eCut_HF_)
21 //
22 // Usually for PKAM events, asym1 is close to 1. for B1 BGas events, and close to 0 for B2 BGAS events
23 //
24 //
25 // More details:
26 // http://sviret.web.cern.ch/sviret/Welcome.php?n=CMS.MIB
27 //
28 // S.Viret: 12/01/2011 (viret@in2p3.fr)
29 //
31 
32 
33 // system include files
34 #include <memory>
35 
36 // user include files
42 
43 //
44 // class decleration
45 //
46 
48  public:
49  explicit HLTHFAsymmetryFilter(const edm::ParameterSet&);
51 
52 
53  virtual bool filter(edm::Event &, const edm::EventSetup&);
54  private:
55  // ----------member data ---------------------------
56 
57 
59  double eCut_HF_;
60  double os_asym_;
61  double ss_asym_;
62 
63 };
64 
65 #endif
virtual bool filter(edm::Event &, const edm::EventSetup &)
HLTHFAsymmetryFilter(const edm::ParameterSet &)