babymaker  e95a6a9342d4604277fe7cc6149b6b5b24447d89
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
event_tools Class Reference

#include <event_tools.hh>

Public Member Functions

bool isInJSON (std::string type, int run, int lumiblock)
 
bool hasGoodPV (edm::Handle< reco::VertexCollection > vtx)
 
bool passBeamHalo (int run, int event)
 
bool passFSMET (edm::Handle< pat::JetCollection > alljets, edm::Handle< edm::View< reco::GenJet > > genjets)
 
void fillBeamHaloMap (std::string eventList)
 
 event_tools (TString outname)
 
 ~event_tools ()
 

Static Public Member Functions

static int type (const std::string &name)
 

Public Attributes

const std::vector< std::vector< int > > VRunLumi2015nonblind
 
const std::vector< std::vector< int > > VRunLumi2016json2p6
 
std::map< int, std::set< int > > badBeamHaloEvents
 
bool doBeamHalo
 

Detailed Description

Definition at line 22 of file event_tools.hh.

Constructor & Destructor Documentation

event_tools::event_tools ( TString  outname)

Definition at line 297 of file event_tools.cc.

References execute().

event_tools::~event_tools ( )

Definition at line 308 of file event_tools.cc.

Member Function Documentation

void event_tools::fillBeamHaloMap ( std::string  eventList)

Definition at line 78 of file event_tools.cc.

References rename_data_eras::run.

bool event_tools::hasGoodPV ( edm::Handle< reco::VertexCollection >  vtx)

Definition at line 29 of file event_tools.cc.

bool event_tools::isInJSON ( std::string  type,
int  run,
int  lumiblock 
)

Definition at line 20 of file event_tools.cc.

References inJSON().

bool event_tools::passBeamHalo ( int  run,
int  event 
)

Definition at line 41 of file event_tools.cc.

References rename_data_eras::run.

bool event_tools::passFSMET ( edm::Handle< pat::JetCollection >  alljets,
edm::Handle< edm::View< reco::GenJet > >  genjets 
)

Definition at line 50 of file event_tools.cc.

int event_tools::type ( const std::string &  name)
static

Definition at line 104 of file event_tools.cc.

References utilities::contains(), DBG, and rename_data_eras::run.

Referenced by bmaker_full::analyze().

Member Data Documentation

std::map<int, std::set<int> > event_tools::badBeamHaloEvents

Definition at line 33 of file event_tools.hh.

bool event_tools::doBeamHalo

Definition at line 34 of file event_tools.hh.

const std::vector<std::vector<int> > event_tools::VRunLumi2015nonblind

Definition at line 30 of file event_tools.hh.

const std::vector<std::vector<int> > event_tools::VRunLumi2016json2p6

Definition at line 31 of file event_tools.hh.


The documentation for this class was generated from the following files: