CMS 3D CMS Logo

Typedefs | Functions
HLTBitAnalyzer.cc File Reference
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "HLTMessages.h"
#include "HLTBitAnalyzer.h"
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Typedefs

typedef std::pair< const char *, const edm::InputTag * > MissingCollectionInfo
 

Functions

template<class T >
static bool getCollection (const edm::Event &event, std::vector< MissingCollectionInfo > &missing, edm::Handle< T > &handle, const edm::InputTag &name, const edm::EDGetTokenT< T > token, const char *description)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< HLTBitAnalyzer > > s_filler__LINE__ ("HLTBitAnalyzer")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HLTBitAnalyzer > > s_maker__LINE__ ("HLTBitAnalyzer")
 

Typedef Documentation

◆ MissingCollectionInfo

typedef std::pair<const char*, const edm::InputTag*> MissingCollectionInfo

Definition at line 11 of file HLTBitAnalyzer.cc.

Function Documentation

◆ getCollection()

template<class T >
static bool getCollection ( const edm::Event event,
std::vector< MissingCollectionInfo > &  missing,
edm::Handle< T > &  handle,
const edm::InputTag name,
const edm::EDGetTokenT< T token,
const char *  description 
)
inlinestatic

Definition at line 14 of file HLTBitAnalyzer.cc.

19  {
20  event.getByToken(token, handle);
21  bool valid = handle.isValid();
22  if (not valid) {
23  missing.push_back(std::make_pair(description, &name));
24  handle.clear();
25  // std::cout << "not valid "<< description << " " << name << std::endl;
26  }
27  return valid;
28 }

References edmLumisInFiles::description, patZpeak::handle, combine::missing, Skims_PA_cff::name, unpackBuffers-CaloStage2::token, and validateGeometry_cfg::valid.

Referenced by HLTBitAnalyzer::analyze().

◆ s_filler__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< HLTBitAnalyzer > > s_filler__LINE__ ( "HLTBitAnalyzer"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< HLTBitAnalyzer > > s_maker__LINE__ ( "HLTBitAnalyzer"  )
static
patZpeak.handle
handle
Definition: patZpeak.py:23
edmLumisInFiles.description
description
Definition: edmLumisInFiles.py:11
validateGeometry_cfg.valid
valid
Definition: validateGeometry_cfg.py:21
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
combine.missing
missing
Definition: combine.py:5
unpackBuffers-CaloStage2.token
token
Definition: unpackBuffers-CaloStage2.py:316