Definition at line 59 of file PatBasicFWLiteJetAnalyzer_Selector.cc.
References edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and PatBasicFWLiteJetAnalyzer_Selector_cfg::useCalo.
67 bool useCalo = params.getParameter<
bool>(
"useCalo");
69 push_back(
"Calo Cuts");
70 push_back(
"Calo Kin Cuts");
71 push_back(
"Calo Delta Phi");
72 push_back(
"Calo Jet ID");
74 push_back(
"PF Kin Cuts");
75 push_back(
"PF Delta Phi");
76 push_back(
"PF Jet ID");
78 set(
"Calo Cuts", useCalo);
79 set(
"Calo Kin Cuts", useCalo);
80 set(
"Calo Delta Phi", useCalo);
81 set(
"Calo Jet ID", useCalo);
82 set(
"PF Cuts", !useCalo);
83 set(
"PF Kin Cuts", !useCalo);
84 set(
"PF Delta Phi", !useCalo);
85 set(
"PF Jet ID", !useCalo);
boost::shared_ptr< JetIDSelectionFunctor > jetSel_
boost::shared_ptr< PFJetIDSelectionFunctor > pfJetSel_
PF Jet selector for pat::Jets.
Jet selector for pat::Jets and for CaloJets.
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 101 of file PatBasicFWLiteJetAnalyzer_Selector.cc.
References reco::LeafCandidate::phi(), Pi, run_regression::ret, and pat::strbitset::set().
115 double dphi = fabs(deltaPhi<double>( jet0.
phi(),
122 retCaloJet.
set(
false);
123 bool pass0 = (*jetSel_)( jet0, retCaloJet );
124 retCaloJet.
set(
false);
125 bool pass1 = (*jetSel_)( jet1, retCaloJet );
126 if ( (pass0 && pass1) || ignoreCut(
caloJetID_) ) {
147 double dphi = fabs(deltaPhi<double>( jet0.
phi(),
155 bool pass0 = (*pfJetSel_)( jet0, retPFJet );
157 bool pass1 = (*pfJetSel_)( jet1, retPFJet );
158 if ( (pass0 && pass1) || ignoreCut(
pfJetID_) ) {
boost::shared_ptr< JetIDSelectionFunctor > jetSel_
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
boost::shared_ptr< PFJetIDSelectionFunctor > pfJetSel_
edm::Ptr< pat::Jet > pfJet0_
edm::Handle< vector< pat::Jet > > h_jets_
strbitset & set(bool val=true)
set method of all bits
Analysis-level calorimeter jet class.
edm::Handle< vector< pat::Jet > > h_pfjets_
edm::Ptr< pat::Jet > pfJet1_
edm::Ptr< pat::Jet > caloJet1_
edm::Ptr< pat::Jet > caloJet0_
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 |