Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
HLTrigger
special
interface
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
37
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
38
#include "
FWCore/Framework/interface/Event.h
"
39
#include "
FWCore/Framework/interface/EDFilter.h
"
40
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
41
#include "
FWCore/Utilities/interface/InputTag.h
"
42
43
//
44
// class decleration
45
//
46
47
class
HLTHFAsymmetryFilter
:
public
edm::EDFilter
{
48
public
:
49
explicit
HLTHFAsymmetryFilter
(
const
edm::ParameterSet
&);
50
~HLTHFAsymmetryFilter
();
51
52
53
virtual
bool
filter
(
edm::Event
&,
const
edm::EventSetup
&);
54
private
:
55
// ----------member data ---------------------------
56
57
58
edm::InputTag
HFHits_
;
59
double
eCut_HF_
;
60
double
os_asym_
;
61
double
ss_asym_
;
62
63
};
64
65
#endif
HLTHFAsymmetryFilter
Definition:
HLTHFAsymmetryFilter.h:47
HLTHFAsymmetryFilter::~HLTHFAsymmetryFilter
~HLTHFAsymmetryFilter()
Definition:
HLTHFAsymmetryFilter.cc:15
Event.h
HLTHFAsymmetryFilter::os_asym_
double os_asym_
Definition:
HLTHFAsymmetryFilter.h:60
HLTHFAsymmetryFilter::eCut_HF_
double eCut_HF_
Definition:
HLTHFAsymmetryFilter.h:59
Frameworkfwd.h
ParameterSet.h
EDFilter.h
edm::EventSetup
Definition:
EventSetup.h:44
HLTHFAsymmetryFilter::filter
virtual bool filter(edm::Event &, const edm::EventSetup &)
Definition:
HLTHFAsymmetryFilter.cc:22
edm::EDFilter
Definition:
EDFilter.h:24
HLTHFAsymmetryFilter::ss_asym_
double ss_asym_
Definition:
HLTHFAsymmetryFilter.h:61
HLTHFAsymmetryFilter::HFHits_
edm::InputTag HFHits_
Definition:
HLTHFAsymmetryFilter.h:58
edm::InputTag
Definition:
InputTag.h:12
HLTHFAsymmetryFilter::HLTHFAsymmetryFilter
HLTHFAsymmetryFilter(const edm::ParameterSet &)
Definition:
HLTHFAsymmetryFilter.cc:6
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:50
Generated for CMSSW Reference Manual by
1.8.5