Main Page
Namespaces
Classes
Package Documentation
Alignment
CommonAlignmentProducer
interface
AlignmentTwoBodyDecayTrackSelector.h
Go to the documentation of this file.
1
2
#ifndef Alignment_CommonAlignmentAlgorithm_AlignmentTwoBodyDecayTrackSelector_h
3
#define Alignment_CommonAlignmentAlgorithm_AlignmentTwoBodyDecayTrackSelector_h
4
5
//Framework
6
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include "
FWCore/Utilities/interface/EDGetToken.h
"
9
//STL
10
#include <vector>
11
// forward declaration:
12
#include <
DataFormats/TrackReco/interface/TrackFwd.h
>
13
#include <
DataFormats/METReco/interface/CaloMETFwd.h
>
14
15
namespace
edm
{
class
Event
;
class
EventSetup
; }
16
17
class
AlignmentTwoBodyDecayTrackSelector
18
{
19
public
:
20
21
typedef
std::vector<const reco::Track*>
Tracks
;
22
24
AlignmentTwoBodyDecayTrackSelector
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC);
25
27
~
AlignmentTwoBodyDecayTrackSelector
();
28
30
Tracks
select
(
const
Tracks&
tracks
,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
31
32
bool
useThisFilter();
33
private
:
35
Tracks checkMass(
const
Tracks& cands)
const
;
37
Tracks checkMETMass(
const
Tracks& cands,
const
edm::Event
&
iEvent
)
const
;
39
bool
checkCharge
(
const
reco::Track
* trk1,
const
reco::Track
* trk2 =
nullptr
)
const
;
41
bool
checkAcoplanarity(
const
reco::Track
* trk1,
const
reco::Track
* trk2)
const
;
43
bool
checkMETAcoplanarity(
const
reco::Track
* trk,
const
reco::CaloMET
*
met
)
const
;
44
46
47
//settings from conigfile
48
bool
theMassrangeSwitch
;
49
bool
theChargeSwitch
;
50
bool
theMissingETSwitch
;
51
bool
theAcoplanarityFilterSwitch
;
52
//inv mass Cut
53
double
theMinMass
;
54
double
theMaxMass
;
55
double
theDaughterMass
;
56
unsigned
int
theCandNumber
;
57
bool
secThrBool
;
58
double
thesecThr
;
59
//charge filter
60
int
theCharge
;
61
bool
theUnsignedSwitch
;
62
//missing ET Filter
63
edm::EDGetTokenT<reco::CaloMETCollection>
theMissingETToken
;
64
//acoplanarity Filter
65
double
theAcoplanarDistance
;
66
//helpers
68
void
printTracks(
const
Tracks&
col
)
const
;
69
};
70
71
#endif
72
AlignmentTwoBodyDecayTrackSelector::Tracks
std::vector< const reco::Track * > Tracks
Definition:
AlignmentTwoBodyDecayTrackSelector.h:21
EDGetToken.h
TrackFwd.h
AlignmentTwoBodyDecayTrackSelector::theCharge
int theCharge
Definition:
AlignmentTwoBodyDecayTrackSelector.h:60
TauGenJetsDecayModeSelectorAllHadrons_cfi.select
select
Definition:
TauGenJetsDecayModeSelectorAllHadrons_cfi.py:5
AlignmentTwoBodyDecayTrackSelector::theDaughterMass
double theDaughterMass
Definition:
AlignmentTwoBodyDecayTrackSelector.h:55
edm::EDGetTokenT< reco::CaloMETCollection >
electrons_cff.checkCharge
checkCharge
Definition:
electrons_cff.py:214
ParameterSet.h
reco::CaloMET
Definition:
CaloMET.h:22
AlignmentTwoBodyDecayTrackSelector::secThrBool
bool secThrBool
Definition:
AlignmentTwoBodyDecayTrackSelector.h:57
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:230
AlignmentTwoBodyDecayTrackSelector::theAcoplanarDistance
double theAcoplanarDistance
Definition:
AlignmentTwoBodyDecayTrackSelector.h:65
AlignmentTwoBodyDecayTrackSelector::theCandNumber
unsigned int theCandNumber
Definition:
AlignmentTwoBodyDecayTrackSelector.h:56
AlignmentTwoBodyDecayTrackSelector::theMinMass
double theMinMass
Definition:
AlignmentTwoBodyDecayTrackSelector.h:53
l1t::tracks
Definition:
MicroGMTCancelOutUnit.h:12
edm::EventSetup
Definition:
EventSetup.h:47
AlignmentTwoBodyDecayTrackSelector::theChargeSwitch
bool theChargeSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:49
looper.cfg
cfg
Definition:
looper.py:293
RazorAnalyzer.met
met
===> hadronic RAZOR
Definition:
RazorAnalyzer.py:70
AlignmentTwoBodyDecayTrackSelector::theUnsignedSwitch
bool theUnsignedSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:61
AlignmentTwoBodyDecayTrackSelector::theMissingETSwitch
bool theMissingETSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:50
CaloMETFwd.h
reco::Track
Definition:
Track.h:28
AlignmentTwoBodyDecayTrackSelector
Definition:
AlignmentTwoBodyDecayTrackSelector.h:17
Event
AlignmentTwoBodyDecayTrackSelector::theMissingETToken
edm::EDGetTokenT< reco::CaloMETCollection > theMissingETToken
Definition:
AlignmentTwoBodyDecayTrackSelector.h:63
edm
HLT enums.
Definition:
AlignableModifier.h:17
cuy.col
col
Definition:
cuy.py:1008
AlignmentTwoBodyDecayTrackSelector::theMassrangeSwitch
bool theMassrangeSwitch
private data members
Definition:
AlignmentTwoBodyDecayTrackSelector.h:48
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:69
ConsumesCollector.h
AlignmentTwoBodyDecayTrackSelector::thesecThr
double thesecThr
Definition:
AlignmentTwoBodyDecayTrackSelector.h:58
AlignmentTwoBodyDecayTrackSelector::theAcoplanarityFilterSwitch
bool theAcoplanarityFilterSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:51
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
AlignmentTwoBodyDecayTrackSelector::theMaxMass
double theMaxMass
Definition:
AlignmentTwoBodyDecayTrackSelector.h:54
Generated for CMSSW Reference Manual by
1.8.11