Definition at line 60 of file PatBasicFWLiteJetAnalyzer_Selector.cc.
References edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and PatBasicFWLiteJetAnalyzer_Selector_cfg::useCalo.
68 bool useCalo = params.getParameter<
bool>(
"useCalo");
70 push_back(
"Calo Cuts");
71 push_back(
"Calo Kin Cuts");
72 push_back(
"Calo Delta Phi");
73 push_back(
"Calo Jet ID");
75 push_back(
"PF Kin Cuts");
76 push_back(
"PF Delta Phi");
77 push_back(
"PF Jet ID");
79 set(
"Calo Cuts", useCalo);
80 set(
"Calo Kin Cuts", useCalo);
81 set(
"Calo Delta Phi", useCalo);
82 set(
"Calo Jet ID", useCalo);
83 set(
"PF Cuts", !useCalo);
84 set(
"PF Kin Cuts", !useCalo);
85 set(
"PF Delta Phi", !useCalo);
86 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_
virtual JetIDStudiesSelector::~JetIDStudiesSelector |
( |
| ) |
|
|
inlinevirtual |
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 102 of file PatBasicFWLiteJetAnalyzer_Selector.cc.
References reco::LeafCandidate::phi(), Pi, run_regression::ret, and pat::strbitset::set().
116 double dphi = fabs(deltaPhi<double>( jet0.
phi(),
123 retCaloJet.
set(
false);
124 bool pass0 = (*jetSel_)( jet0, retCaloJet );
125 retCaloJet.
set(
false);
126 bool pass1 = (*jetSel_)( jet1, retCaloJet );
127 if ( (pass0 && pass1) || ignoreCut(
caloJetID_) ) {
148 double dphi = fabs(deltaPhi<double>( jet0.
phi(),
156 bool pass0 = (*pfJetSel_)( jet0, retPFJet );
158 bool pass1 = (*pfJetSel_)( jet1, retPFJet );
159 if ( (pass0 && pass1) || ignoreCut(
pfJetID_) ) {
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_
virtual double phi() const
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 |