CMS 3D CMS Logo

HLTPixelAsymmetryFilter.h
Go to the documentation of this file.
1 #ifndef HLTPixelAsymmetryFilter_h
2 #define HLTPixelAsymmetryFilter_h
3 
4 
6 //
7 // HLTPixelAsymmetryFilter
8 //
9 // Filter definition
10 //
11 // We perform a selection on PIXEL cluster 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 = fpix-/(fpix- + fpix+) for beam1
18 // asym2 = fpix+/(fpix- + fpix+) for beam2
19 //
20 // with:
21 //
22 // fpix- = mean cluster charge in FPIX-
23 // fpix+ = mean cluster charge in FPIX+
24 // bpix = mean cluster charge in BarrelPIX
25 //
26 // Usually for PKAM events, cluster repartition is quite uniform and asymmetry is around 0.5
27 //
28 //
29 // More details:
30 // http://sviret.web.cern.ch/sviret/Welcome.php?n=CMS.MIB
31 //
32 // S.Viret: 12/01/2011 (viret@in2p3.fr)
33 //
35 
37 
51 
53  public:
55  ~HLTPixelAsymmetryFilter() override;
56  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
57 
58  private:
59  bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
60 
62  edm::InputTag inputTag_; // input tag identifying product containing pixel clusters
63  double min_asym_; // minimum asymmetry
64  double max_asym_; // maximum asymmetry
65  double clus_thresh_; // minimum charge for a cluster to be selected (in e-)
66  double bmincharge_; // minimum average charge in the barrel (bpix, in e-)
67 
68 };
69 
70 #endif
71 
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > inputToken_
HLTPixelAsymmetryFilter(const edm::ParameterSet &)
~HLTPixelAsymmetryFilter() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)