CMS 3D CMS Logo

Classes | Functions
L1TGlobalPrescaler.cc File Reference
#include <vector>
#include <array>
#include <memory>
#include <cassert>
#include <string>
#include <stdexcept>
#include <cstring>
#include <boost/format.hpp>
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/one/EDFilter.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "FWCore/Framework/interface/ESHandle.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "CondFormats/DataRecord/interface/L1TGlobalPrescalesVetosRcd.h"
#include "CondFormats/L1TObjects/interface/L1TGlobalPrescalesVetos.h"
#include "DataFormats/L1TGlobal/interface/GlobalAlgBlk.h"
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Classes

class  L1TGlobalPrescaler
 

Functions

bool empty (const char *container)
 
template<class T >
bool empty (T const &container)
 
template<class T , std::size_t N>
std::array< T, Nmake_array (std::vector< T > const &values)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< L1TGlobalPrescaler > > s_filler__LINE__ ("L1TGlobalPrescaler")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1TGlobalPrescaler > > s_maker__LINE__ ("L1TGlobalPrescaler")
 

Function Documentation

◆ empty() [1/2]

bool empty ( const char *  container)

Definition at line 24 of file L1TGlobalPrescaler.cc.

24 { return container != nullptr; }

◆ empty() [2/2]

template<class T >
bool empty ( T const &  container)

Definition at line 20 of file L1TGlobalPrescaler.cc.

20  {
21  return container.empty();
22 }

◆ make_array()

template<class T , std::size_t N>
std::array<T, N> make_array ( std::vector< T > const &  values)

Definition at line 12 of file L1TGlobalPrescaler.cc.

12  {
13  assert(N == values.size());
14  std::array<T, N> ret;
15  std::copy(values.begin(), values.end(), ret.begin());
16  return ret;
17 }

References cms::cuda::assert(), filterCSVwithJSON::copy, N, runTheMatrix::ret, and contentValuesCheck::values.

◆ s_filler__LINE__()

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

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1TGlobalPrescaler > > s_maker__LINE__ ( "L1TGlobalPrescaler"  )
static
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:355
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
cms::cuda::assert
assert(be >=bs)
contentValuesCheck.values
values
Definition: contentValuesCheck.py:38
N
#define N
Definition: blowfish.cc:9