CMS 3D CMS Logo

Classes | Functions
L1GTFinOrBoardWriter.cc File Reference
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/one/EDAnalyzer.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/MakerMacros.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/Utilities/interface/InputTag.h"
#include "L1Trigger/DemonstratorTools/interface/BoardDataWriter.h"
#include "L1Trigger/DemonstratorTools/interface/utilities.h"
#include "FWCore/Utilities/interface/EDGetToken.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "DataFormats/L1Trigger/interface/P2GTAlgoBlock.h"
#include "ap_int.h"
#include <vector>
#include <algorithm>
#include <string>
#include <array>

Go to the source code of this file.

Classes

class  L1GTFinOrBoardWriter
 

Functions

template<typename T , std::size_t N>
static std::array< T, Nconvert (std::vector< T > vec, const char *name)
 
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::ParameterSetDescriptionFiller< L1GTFinOrBoardWriter > > s_filler_0__LINE__ ("L1GTFinOrBoardWriter")
 
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1GTFinOrBoardWriter > > s_maker__LINE__ ("L1GTFinOrBoardWriter")
 

Function Documentation

◆ convert()

template<typename T , std::size_t N>
static std::array<T, N> convert ( std::vector< T vec,
const char *  name 
)
static

Definition at line 56 of file L1GTFinOrBoardWriter.cc.

References a, edm::errors::Configuration, Exception, N, and mergeVDriftHistosByStation::name.

56  {
57  if (vec.size() != N) {
59  << "The parameter '" << name << "' should have " << N << " elements, but has " << vec.size()
60  << " elements in the configuration.\n";
61  }
62  std::array<T, N> a;
63  std::copy_n(std::make_move_iterator(vec.begin()), N, a.begin());
64  return a;
65 }
#define N
Definition: blowfish.cc:9
double a
Definition: hdecay.h:121

◆ s_filler_0__LINE__()

static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< L1GTFinOrBoardWriter > > s_filler_0__LINE__ ( "L1GTFinOrBoardWriter"  )
static

◆ s_maker__LINE__()

static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< L1GTFinOrBoardWriter > > s_maker__LINE__ ( "L1GTFinOrBoardWriter"  )
static