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
{
16
class
Event
;
17
class
EventSetup
;
18
}
// namespace edm
19
20
class
AlignmentTwoBodyDecayTrackSelector
{
21
public
:
22
typedef
std::vector<const reco::Track*>
Tracks
;
23
25
AlignmentTwoBodyDecayTrackSelector
(
const
edm::ParameterSet
&
cfg
,
edm::ConsumesCollector
& iC);
26
28
~
AlignmentTwoBodyDecayTrackSelector
();
29
31
Tracks
select
(
const
Tracks&
tracks
,
const
edm::Event
&
iEvent
,
const
edm::EventSetup
& iSetup);
32
33
bool
useThisFilter();
34
35
private
:
37
Tracks checkMass(
const
Tracks&
cands
)
const
;
39
Tracks checkMETMass(
const
Tracks&
cands
,
const
edm::Event
&
iEvent
)
const
;
41
bool
checkCharge
(
const
reco::Track
* trk1,
const
reco::Track
* trk2 =
nullptr
)
const
;
43
bool
checkAcoplanarity(
const
reco::Track
* trk1,
const
reco::Track
* trk2)
const
;
45
bool
checkMETAcoplanarity(
const
reco::Track
* trk,
const
reco::CaloMET
*
met
)
const
;
46
48
49
//settings from conigfile
50
bool
theMassrangeSwitch
;
51
bool
theChargeSwitch
;
52
bool
theMissingETSwitch
;
53
bool
theAcoplanarityFilterSwitch
;
54
//inv mass Cut
55
double
theMinMass
;
56
double
theMaxMass
;
57
double
theDaughterMass
;
58
unsigned
int
theCandNumber
;
59
bool
secThrBool
;
60
double
thesecThr
;
61
//charge filter
62
int
theCharge
;
63
bool
theUnsignedSwitch
;
64
//missing ET Filter
65
edm::EDGetTokenT<reco::CaloMETCollection>
theMissingETToken
;
66
//acoplanarity Filter
67
double
theAcoplanarDistance
;
68
//helpers
70
void
printTracks(
const
Tracks&
col
)
const
;
71
};
72
73
#endif
AlignmentTwoBodyDecayTrackSelector::Tracks
std::vector< const reco::Track * > Tracks
Definition:
AlignmentTwoBodyDecayTrackSelector.h:22
EDGetToken.h
TrackFwd.h
AlignmentTwoBodyDecayTrackSelector::theCharge
int theCharge
Definition:
AlignmentTwoBodyDecayTrackSelector.h:62
TauGenJetsDecayModeSelectorAllHadrons_cfi.select
select
Definition:
TauGenJetsDecayModeSelectorAllHadrons_cfi.py:5
AlignmentTwoBodyDecayTrackSelector::theDaughterMass
double theDaughterMass
Definition:
AlignmentTwoBodyDecayTrackSelector.h:57
edm::EDGetTokenT< reco::CaloMETCollection >
electrons_cff.checkCharge
checkCharge
Definition:
electrons_cff.py:493
ParameterSet.h
reco::CaloMET
Definition:
CaloMET.h:22
AlignmentTwoBodyDecayTrackSelector::secThrBool
bool secThrBool
Definition:
AlignmentTwoBodyDecayTrackSelector.h:59
EventSetup
iEvent
int iEvent
Definition:
GenABIO.cc:224
AlignmentTwoBodyDecayTrackSelector::theAcoplanarDistance
double theAcoplanarDistance
Definition:
AlignmentTwoBodyDecayTrackSelector.h:67
AlignmentTwoBodyDecayTrackSelector::theCandNumber
unsigned int theCandNumber
Definition:
AlignmentTwoBodyDecayTrackSelector.h:58
AlignmentTwoBodyDecayTrackSelector::theMinMass
double theMinMass
Definition:
AlignmentTwoBodyDecayTrackSelector.h:55
l1t::tracks
Definition:
MicroGMTCancelOutUnit.h:12
edm::EventSetup
Definition:
EventSetup.h:57
AlignmentTwoBodyDecayTrackSelector::theChargeSwitch
bool theChargeSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:51
looper.cfg
cfg
Definition:
looper.py:297
RazorAnalyzer.met
met
===> hadronic RAZOR
Definition:
RazorAnalyzer.py:70
AlignmentTwoBodyDecayTrackSelector::theUnsignedSwitch
bool theUnsignedSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:63
AlignmentTwoBodyDecayTrackSelector::theMissingETSwitch
bool theMissingETSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:52
CaloMETFwd.h
reco::Track
Definition:
Track.h:28
AlignmentTwoBodyDecayTrackSelector
Definition:
AlignmentTwoBodyDecayTrackSelector.h:20
Event
AlignmentTwoBodyDecayTrackSelector::theMissingETToken
edm::EDGetTokenT< reco::CaloMETCollection > theMissingETToken
Definition:
AlignmentTwoBodyDecayTrackSelector.h:65
edm
HLT enums.
Definition:
AlignableModifier.h:17
egammaForCoreTracking_cff.cands
cands
Definition:
egammaForCoreTracking_cff.py:39
cuy.col
col
Definition:
cuy.py:1010
AlignmentTwoBodyDecayTrackSelector::theMassrangeSwitch
bool theMassrangeSwitch
private data members
Definition:
AlignmentTwoBodyDecayTrackSelector.h:50
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:71
ConsumesCollector.h
AlignmentTwoBodyDecayTrackSelector::thesecThr
double thesecThr
Definition:
AlignmentTwoBodyDecayTrackSelector.h:60
AlignmentTwoBodyDecayTrackSelector::theAcoplanarityFilterSwitch
bool theAcoplanarityFilterSwitch
Definition:
AlignmentTwoBodyDecayTrackSelector.h:53
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
AlignmentTwoBodyDecayTrackSelector::theMaxMass
double theMaxMass
Definition:
AlignmentTwoBodyDecayTrackSelector.h:56
Generated for CMSSW Reference Manual by
1.8.11