DAS  3.0
Das Analysis System
Parameters

#include <Parameters.h>

+ Collaboration diagram for Parameters:

Public Member Functions

 Parameters (edm::ParameterSet const &cfg, edm::ConsumesCollector &&iC)
 
std::set< std::string > getHLTjet_triggerNames (const std::vector< std::string > &)
 

Static Public Member Functions

static boost::property_tree::ptree ReadJSON (std::filesystem::path, bool=false)
 

Public Attributes

const bool isMC
 
const int year
 
const bool sandbox
 
boost::property_tree::ptree config
 
const boost::property_tree::ptree & options
 
edm::EDGetTokenT< GenEventInfoProduct > genEvtInfoToken
 
edm::EDGetTokenT< reco::GenParticleCollection > genParticlesToken
 
edm::EDGetTokenT< reco::GenJetCollection > genjetsToken
 
edm::EDGetTokenT< pat::JetCollection > recjetsToken
 
const bool jets
 
const bool PUjetID
 
const bool flavour
 
edm::EDGetTokenT< reco::JetFlavourInfoMatchingCollection > jetFlavourInfosToken
 
edm::EDGetTokenT< std::vector< reco::VertexCompositePtrCandidate > > secVertexInfoToken
 
const bool muons
 
edm::EDGetTokenT< edm::View< reco::Candidate > > genLeptonsToken
 
edm::EDGetTokenT< pat::MuonCollection > recmuonsToken
 
const bool photons
 
edm::EDGetTokenT< pat::PhotonCollection > recphotonsToken
 
const bool triggers
 
edm::EDGetTokenT< pat::METCollection > metToken
 
edm::EDGetTokenT< edm::TriggerResults > metResultsToken
 
edm::EDGetTokenT< edm::TriggerResults > triggerResultsToken
 
edm::EDGetTokenT< reco::VertexCollection > recVtxsToken
 
edm::EDGetTokenT< pat::PackedTriggerPrescales > triggerPrescalesToken
 
edm::EDGetTokenT< pat::PackedTriggerPrescales > triggerPrescalesl1minToken
 
edm::EDGetTokenT< pat::PackedTriggerPrescales > triggerPrescalesl1maxToken
 
std::vector< std::string > triggerNames_
 
std::vector< std::string > metNames_
 
edm::EDGetTokenT< pat::TriggerObjectStandAloneCollection > triggerObjectsToken
 
std::set< std::string > HLTjet_triggerNames
 
edm::EDGetTokenT< double > rhoToken
 
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupInfoToken
 

Constructor & Destructor Documentation

◆ Parameters()

Parameters ( edm::ParameterSet const &  cfg,
edm::ConsumesCollector &&  iC 
)

Member Function Documentation

◆ getHLTjet_triggerNames()

set< string > getHLTjet_triggerNames ( const std::vector< std::string > &  triggerNames)
20 {
21  set<string> HLTjet_triggerNames;
22  for (const string& triggerName: triggerNames)
23  if (triggerName.find("PFJet"))
24  HLTjet_triggerNames.insert(triggerName);
25  return HLTjet_triggerNames;
26 }

◆ ReadJSON()

pt::ptree ReadJSON ( std::filesystem::path  ,
bool  = false 
)
static
29 {
30  pt::ptree config;
31  if (sandbox) fname = fname.filename();
32  read_json(fname.string(), config);
33  return config;
34 }

Member Data Documentation

◆ config

boost::property_tree::ptree config

input JSON config

◆ flavour

const bool flavour

◆ genEvtInfoToken

edm::EDGetTokenT<GenEventInfoProduct> genEvtInfoToken

◆ genjetsToken

edm::EDGetTokenT<reco::GenJetCollection> genjetsToken

◆ genLeptonsToken

edm::EDGetTokenT<edm::View<reco::Candidate> > genLeptonsToken

◆ genParticlesToken

edm::EDGetTokenT<reco::GenParticleCollection> genParticlesToken

◆ HLTjet_triggerNames

std::set<std::string> HLTjet_triggerNames

◆ isMC

const bool isMC

flag

◆ jetFlavourInfosToken

edm::EDGetTokenT<reco::JetFlavourInfoMatchingCollection> jetFlavourInfosToken

◆ jets

const bool jets

◆ metNames_

std::vector<std::string> metNames_

◆ metResultsToken

edm::EDGetTokenT<edm::TriggerResults> metResultsToken

◆ metToken

edm::EDGetTokenT<pat::METCollection> metToken

◆ muons

const bool muons

◆ options

const boost::property_tree::ptree& options

booleans to steer branch filling

◆ photons

const bool photons

◆ pileupInfoToken

edm::EDGetTokenT<std::vector<PileupSummaryInfo> > pileupInfoToken

◆ PUjetID

const bool PUjetID

◆ recjetsToken

edm::EDGetTokenT<pat::JetCollection> recjetsToken

◆ recmuonsToken

edm::EDGetTokenT<pat::MuonCollection> recmuonsToken

◆ recphotonsToken

edm::EDGetTokenT<pat::PhotonCollection> recphotonsToken

◆ recVtxsToken

edm::EDGetTokenT<reco::VertexCollection> recVtxsToken

◆ rhoToken

edm::EDGetTokenT<double> rhoToken

◆ sandbox

const bool sandbox

flag for CRAB sandbox

◆ secVertexInfoToken

edm::EDGetTokenT<std::vector<reco::VertexCompositePtrCandidate> > secVertexInfoToken

◆ triggerNames_

std::vector<std::string> triggerNames_

◆ triggerObjectsToken

edm::EDGetTokenT<pat::TriggerObjectStandAloneCollection> triggerObjectsToken

◆ triggerPrescalesl1maxToken

edm::EDGetTokenT<pat::PackedTriggerPrescales> triggerPrescalesl1maxToken

◆ triggerPrescalesl1minToken

edm::EDGetTokenT<pat::PackedTriggerPrescales> triggerPrescalesl1minToken

◆ triggerPrescalesToken

edm::EDGetTokenT<pat::PackedTriggerPrescales> triggerPrescalesToken

◆ triggerResultsToken

edm::EDGetTokenT<edm::TriggerResults> triggerResultsToken

◆ triggers

const bool triggers

◆ year

const int year

20xx


The documentation for this struct was generated from the following files:
jercExample.fname
fname
Definition: jercExample.py:88
DAS::Parameters::sandbox
const bool sandbox
flag for CRAB sandbox
Definition: Parameters.h:58
DAS::Parameters::config
boost::property_tree::ptree config
input JSON config
Definition: Parameters.h:60
DAS::Parameters::HLTjet_triggerNames
std::set< std::string > HLTjet_triggerNames
Definition: Parameters.h:89
Ntupliser_cfg.triggerNames
list triggerNames
default: genJetCollection = 'slimmedGenJetsAK8' JetCollection = 'slimmedJetsAK8' does not work: "This...
Definition: Ntupliser_cfg.py:141