CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
BrilClient.cc File Reference
#include "BrilClient.h"
#include <boost/property_tree/json_parser.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/filesystem.hpp>
#include <iostream>
#include <vector>
#include "TH2F.h"
#include "FWCore/Framework/interface/MakerMacros.h"

Go to the source code of this file.

Functions

template<typename T >
std::vector< Tas_vector (ptree const &pt, ptree::key_type const &key)
 
static const
edm::ParameterSetDescriptionFillerPluginFactory::PMaker
< edm::ParameterSetDescriptionFiller
< BrilClient > > 
s_filler__LINE__ ("BrilClient")
 
static const
edm::MakerPluginFactory::PMaker
< edm::WorkerMaker< BrilClient > > 
s_maker__LINE__ ("BrilClient")
 

Function Documentation

template<typename T >
std::vector<T> as_vector ( ptree const &  pt,
ptree::key_type const &  key 
)

Definition at line 24 of file BrilClient.cc.

References alignCSCRings::r.

24  {
25  std::vector<T> r;
26  for (auto& item : pt.get_child(key)) r.push_back(item.second.get_value<T>());
27  return r;
28 }
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
long double T
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker<edm::ParameterSetDescriptionFiller< BrilClient > > s_filler__LINE__ ( "BrilClient"  )
static
static const edm::MakerPluginFactory ::PMaker< edm::WorkerMaker< BrilClient > > s_maker__LINE__ ( "BrilClient"  )
static