Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
special
interface
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
36
#include "
HLTrigger/HLTcore/interface/HLTFilter.h
"
37
38
#include "
FWCore/Framework/interface/Event.h
"
39
#include "
FWCore/Framework/interface/EventSetup.h
"
40
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
41
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
42
#include "
DataFormats/Common/interface/Handle.h
"
43
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.h
"
44
#include "
DataFormats/SiPixelDetId/interface/PixelSubdetector.h
"
45
#include "
DataFormats/SiPixelDetId/interface/PixelBarrelName.h
"
46
#include "
DataFormats/SiPixelDetId/interface/PixelEndcapName.h
"
47
#include "
DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h
"
48
#include "
DataFormats/HLTReco/interface/TriggerTypeDefs.h
"
49
50
class
HLTPixelAsymmetryFilter
:
public
HLTFilter
{
51
public
:
52
explicit
HLTPixelAsymmetryFilter
(
const
edm::ParameterSet
&);
53
~HLTPixelAsymmetryFilter
();
54
55
private
:
56
virtual
bool
hltFilter
(
edm::Event
&,
const
edm::EventSetup
&,
trigger::TriggerFilterObjectWithRefs
& filterproduct);
57
58
edm::InputTag
inputTag_
;
// input tag identifying product containing pixel clusters
59
double
min_asym_
;
// minimum asymmetry
60
double
max_asym_
;
// maximum asymmetry
61
double
clus_thresh_
;
// minimum charge for a cluster to be selected (in e-)
62
double
bmincharge_
;
// minimum average charge in the barrel (bpix, in e-)
63
64
};
65
66
#endif
67
MessageLogger.h
HLTPixelAsymmetryFilter
Definition:
HLTPixelAsymmetryFilter.h:50
HLTFilter.h
PixelEndcapName.h
HLTPixelAsymmetryFilter::max_asym_
double max_asym_
Definition:
HLTPixelAsymmetryFilter.h:60
HLTPixelAsymmetryFilter::bmincharge_
double bmincharge_
Definition:
HLTPixelAsymmetryFilter.h:62
Event.h
HLTPixelAsymmetryFilter::HLTPixelAsymmetryFilter
HLTPixelAsymmetryFilter(const edm::ParameterSet &)
Definition:
HLTPixelAsymmetryFilter.cc:17
trigger::TriggerFilterObjectWithRefs
Definition:
TriggerFilterObjectWithRefs.h:38
EventSetup.h
HLTPixelAsymmetryFilter::min_asym_
double min_asym_
Definition:
HLTPixelAsymmetryFilter.h:59
Handle.h
TriggerFilterObjectWithRefs.h
HLTPixelAsymmetryFilter::~HLTPixelAsymmetryFilter
~HLTPixelAsymmetryFilter()
Definition:
HLTPixelAsymmetryFilter.cc:30
ParameterSet.h
HLTFilter
Definition:
HLTFilter.h:28
HLTPixelAsymmetryFilter::inputTag_
edm::InputTag inputTag_
Definition:
HLTPixelAsymmetryFilter.h:58
edm::EventSetup
Definition:
EventSetup.h:44
PixelSubdetector.h
edm::InputTag
Definition:
InputTag.h:12
edm::ParameterSet
Definition:
ParameterSet.h:35
HLTPixelAsymmetryFilter::hltFilter
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
Definition:
HLTPixelAsymmetryFilter.cc:39
HLTPixelAsymmetryFilter::clus_thresh_
double clus_thresh_
Definition:
HLTPixelAsymmetryFilter.h:61
TriggerTypeDefs.h
edm::Event
Definition:
Event.h:50
SiPixelCluster.h
PixelBarrelName.h
Generated for CMSSW Reference Manual by
1.8.5