Definition at line 57 of file PatBasicFWLiteJetAnalyzer_Selector.cc.
References edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and PatBasicFWLiteJetAnalyzer_Selector_cfg::useCalo.
66 push_back(
"Calo Cuts");
67 push_back(
"Calo Kin Cuts");
68 push_back(
"Calo Delta Phi");
69 push_back(
"Calo Jet ID");
71 push_back(
"PF Kin Cuts");
72 push_back(
"PF Delta Phi");
73 push_back(
"PF Jet ID");
75 set(
"Calo Cuts", useCalo);
76 set(
"Calo Kin Cuts", useCalo);
77 set(
"Calo Delta Phi", useCalo);
78 set(
"Calo Jet ID", useCalo);
79 set(
"PF Cuts", !useCalo);
80 set(
"PF Kin Cuts", !useCalo);
81 set(
"PF Delta Phi", !useCalo);
82 set(
"PF Jet ID", !useCalo);
PF Jet selector for pat::Jets.
Jet selector for pat::Jets and for CaloJets.
std::shared_ptr< JetIDSelectionFunctor > jetSel_
std::shared_ptr< PFJetIDSelectionFunctor > pfJetSel_
JetIDStudiesSelector::~JetIDStudiesSelector |
( |
| ) |
|
|
inlineoverride |
vector<pat::Jet> const& JetIDStudiesSelector::allCaloJets |
( |
| ) |
const |
|
inline |
vector<pat::Jet> const& JetIDStudiesSelector::allPFJets |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::caloCuts |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::caloDeltaPhi |
( |
| ) |
const |
|
inline |
pat::Jet const& JetIDStudiesSelector::caloJet0 |
( |
| ) |
const |
|
inline |
pat::Jet const& JetIDStudiesSelector::caloJet1 |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::caloJetID |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::caloKin |
( |
| ) |
const |
|
inline |
Definition at line 97 of file PatBasicFWLiteJetAnalyzer_Selector.cc.
References reco::LeafCandidate::phi(), Pi, runTheMatrix::ret, and pat::strbitset::set().
109 double dphi = fabs(deltaPhi<double>(jet0.
phi(), jet1.
phi()));
114 retCaloJet.
set(
false);
115 bool pass0 = (*jetSel_)(jet0, retCaloJet);
116 retCaloJet.
set(
false);
117 bool pass1 = (*jetSel_)(jet1, retCaloJet);
118 if ((pass0 && pass1) || ignoreCut(
caloJetID_)) {
137 double dphi = fabs(deltaPhi<double>(jet0.
phi(), jet1.
phi()));
143 bool pass0 = (*pfJetSel_)(jet0, retPFJet);
145 bool pass1 = (*pfJetSel_)(jet1, retPFJet);
146 if ((pass0 && pass1) || ignoreCut(
pfJetID_)) {
tuple ret
prodAgent to be discontinued
edm::Ptr< pat::Jet > pfJet0_
edm::Handle< vector< pat::Jet > > h_jets_
std::shared_ptr< JetIDSelectionFunctor > jetSel_
strbitset & set(bool val=true)
set method of all bits
Analysis-level calorimeter jet class.
std::shared_ptr< PFJetIDSelectionFunctor > pfJetSel_
edm::Handle< vector< pat::Jet > > h_pfjets_
edm::Ptr< pat::Jet > pfJet1_
edm::Ptr< pat::Jet > caloJet1_
edm::Ptr< pat::Jet > caloJet0_
double phi() const final
momentum azimuthal angle
index_type const& JetIDStudiesSelector::pfCuts |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::pfDeltaPhi |
( |
| ) |
const |
|
inline |
pat::Jet const& JetIDStudiesSelector::pfJet0 |
( |
| ) |
const |
|
inline |
pat::Jet const& JetIDStudiesSelector::pfJet1 |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::pfJetID |
( |
| ) |
const |
|
inline |
index_type const& JetIDStudiesSelector::pfKin |
( |
| ) |
const |
|
inline |
index_type JetIDStudiesSelector::caloCuts_ |
|
protected |
index_type JetIDStudiesSelector::caloDeltaPhi_ |
|
protected |
index_type JetIDStudiesSelector::caloJetID_ |
|
protected |
index_type JetIDStudiesSelector::caloKin_ |
|
protected |
index_type JetIDStudiesSelector::pfCuts_ |
|
protected |
index_type JetIDStudiesSelector::pfDeltaPhi_ |
|
protected |
index_type JetIDStudiesSelector::pfJetID_ |
|
protected |
index_type JetIDStudiesSelector::pfKin_ |
|
protected |