Namespaces | Classes | Typedefs | Functions | Variables
cet Namespace Reference

Namespaces

 _
 
 detail
 
 sqlite
 

Classes

class  base_converter
 
class  BasicPluginFactory
 
struct  bit_size
 struct bit_size<U>. More...
 
struct  bit_size< U, true >
 
class  cpu_timer
 
class  crc32
 
struct  default_clone
 
struct  default_copy
 
struct  enable_if_type_exists
 
class  exception_category_matcher
 
class  exception_message_matcher
 
class  exempt_ptr
 
class  filepath_first_absolute_or_lookup_with_dot
 
class  filepath_lookup
 
class  filepath_lookup_after1
 
class  filepath_lookup_nonabsolute
 
class  filepath_maker
 
class  HorizontalRule
 
class  includer
 
class  LibraryManager
 
class  map_vector
 
class  map_vector_key
 
class  maybe_ref
 
class  MD5Digest
 
struct  MD5Result
 
struct  name_of
 
struct  name_of< bool >
 
struct  name_of< char >
 
struct  name_of< double >
 
struct  name_of< float >
 
struct  name_of< int >
 
struct  name_of< long >
 
struct  name_of< long double >
 
struct  name_of< long long >
 
struct  name_of< short >
 
struct  name_of< signed char >
 
struct  name_of< std::istream >
 
struct  name_of< std::nullptr_t >
 
struct  name_of< std::ostream >
 
struct  name_of< std::string >
 
struct  name_of< T & >
 
struct  name_of< T * >
 
struct  name_of< T const >
 
struct  name_of< T const volatile >
 
struct  name_of< T volatile >
 
struct  name_of< T[N]>
 
struct  name_of< unsigned char >
 
struct  name_of< unsigned int >
 
struct  name_of< unsigned long >
 
struct  name_of< unsigned long long >
 
struct  name_of< unsigned short >
 
struct  name_of< void >
 
struct  no_delete
 
class  nybbler
 
class  ostream_handle
 
struct  path_tag_t
 
class  PluginFactory
 
struct  PluginTypeDeducer
 
struct  PluginTypeDeducer< art::EmptyEventTimestampPlugin >
 
struct  PluginTypeDeducer< art::FileCatalogMetadataPlugin >
 
struct  PluginTypeDeducer< art::ResultsProducer >
 
struct  PluginTypeDeducer< mf::service::ELdestination >
 
class  propagate_const
 
class  registry
 
class  registry_via_id
 
class  search_path
 
class  sha1
 
class  simple_stats
 
class  SimultaneousFunctionSpawner
 
class  value_ptr
 

Typedefs

using no_tag = char(&)[1]
 
using yes_tag = char(&)[2]
 
template<class T >
using enable_if_type_exists_t = typename enable_if_type_exists< T >::type
 
template<typename T , typename U , typename R = void>
using enable_if_same_t = std::enable_if_t< std::is_same< T, U >::value, R >
 
template<typename FT , FT f, typename R = void>
using enable_if_function_exists_t = enable_if_same_t< FT, decltype(f), R >
 

Functions

bool canonical_number (std::string const &value, std::string &result)
 
std::string escape (std::string const &str)
 
std::string unescape (std::string const &str)
 
bool is_single_quoted_string (std::string const &str)
 
bool is_double_quoted_string (std::string const &str)
 
bool is_quoted_string (std::string const &str)
 
bool canonical_string (std::string const &str, std::string &result)
 
std::string canonical_string (std::string const &str)
 
std::string::size_type column_width (std::vector< std::string > const &)
 
template<class FwdCont , class Func >
auto for_all (FwdCont &, Func)
 
template<class FwdCont , class Func >
auto for_all (FwdCont const &, Func)
 
template<class FwdCont , class FwdIter >
auto copy_all (FwdCont &, FwdIter)
 
template<class FwdCont , class FwdIter >
auto copy_all (FwdCont const &, FwdIter)
 
template<class FwdCont , class FwdIter , class Pred >
auto copy_if_all (FwdCont &, FwdIter, Pred)
 
template<class FwdCont , class FwdIter , class Pred >
auto copy_if_all (FwdCont const &, FwdIter, Pred)
 
template<class FwdCont , class Datum >
auto find_in_all (FwdCont &, Datum const &)
 
template<class FwdCont , class Datum >
auto find_in_all (FwdCont const &, Datum const &)
 
template<class FwdCont , class Datum >
bool search_all (FwdCont const &, Datum const &)
 
template<class FwdCont , class Datum >
bool binary_search_all (FwdCont const &, Datum const &)
 
template<class FwdCont , class Datum >
auto lower_bound_all (FwdCont &, Datum const &)
 
template<class FwdCont , class Datum >
auto lower_bound_all (FwdCont const &, Datum const &)
 
template<class FwdCont , class Datum , class Pred >
auto lower_bound_all (FwdCont &, Datum const &, Pred)
 
template<class FwdCont , class Datum , class Pred >
auto lower_bound_all (FwdCont const &, Datum const &, Pred)
 
template<class RandCont >
void sort_all (RandCont &)
 
template<class RandCont , class Pred >
void sort_all (RandCont &, Pred)
 
template<class RandCont >
void stable_sort_all (RandCont &)
 
template<class RandCont , class Pred >
void stable_sort_all (RandCont &, Pred)
 
template<class Container , class OutputIt , class UnaryOp >
auto transform_all (Container &, OutputIt, UnaryOp)
 
template<class Container , class OutputIt , class UnaryOp >
auto transform_all (Container const &, OutputIt, UnaryOp)
 
template<class Container1 , class Container2 , class OutputIt , class BinaryOp >
auto transform_all (Container1 &, Container2 &, OutputIt, BinaryOp)
 
template<class Container1 , class Container2 , class OutputIt , class BinaryOp >
auto transform_all (Container1 const &, Container2 const &, OutputIt, BinaryOp)
 
template<class FwdCont , class Func >
void for_all_with_index (FwdCont &, Func)
 
template<class FwdCont , class Func >
void for_all_with_index (FwdCont const &, Func)
 
template<class E >
void swap (exempt_ptr< E > &, exempt_ptr< E > &) noexcept
 
template<class E >
exempt_ptr< Emake_exempt_ptr (E *) noexcept
 
template<class E >
bool operator== (exempt_ptr< E > const &, exempt_ptr< E > const &)
 
template<class E >
bool operator!= (exempt_ptr< E > const &, exempt_ptr< E > const &)
 
template<class E >
bool operator== (exempt_ptr< E > const &, std::nullptr_t const &)
 
template<class E >
bool operator!= (exempt_ptr< E > const &, std::nullptr_t const &)
 
template<class E >
bool operator== (std::nullptr_t const &, exempt_ptr< E > const &)
 
template<class E >
bool operator!= (std::nullptr_t const &, exempt_ptr< E > const &)
 
template<class E >
bool operator< (exempt_ptr< E > const &, exempt_ptr< E > const &)
 
template<class E >
bool operator> (exempt_ptr< E > const &, exempt_ptr< E > const &)
 
template<class E >
bool operator<= (exempt_ptr< E > const &, exempt_ptr< E > const &)
 
template<class E >
bool operator>= (exempt_ptr< E > const &, exempt_ptr< E > const &)
 
bool file_exists (std::string const &qualified_filename)
 
bool is_absolute_filepath (std::string const &qualified_filename)
 
bool is_relative_filepath (std::string const &qualified_filename)
 
std::string getenv (std::string const &name)
 
std::string getenv (std::string const &name, std::nothrow_t)
 
template<typename PTR_T >
PTR_T hard_cast (void *src)
 
template<typename PTR_T >
void hard_cast (void *src, PTR_T &dest)
 
template<class T >
std::enable_if_t< std::is_arithmetic< T >::value, Thypot (T x, T y)
 
template<class T >
std::enable_if_t< std::is_arithmetic< T >::value, Tunchecked_hypot (T x, T y)
 
template<class T >
std::enable_if_t< std::is_arithmetic< T >::value, Tchecked_hypot (T x, T y)
 
void include (std::istream &in, std::string &result)
 
void include (std::istream &in, std::string const &search_path_arg, std::string &result)
 
std::string lpad (std::string const &pad_me, std::string::size_type wanted_size, char char_to_pad_with= ' ')
 
bool operator== (map_vector_key const &, map_vector_key const &) noexcept
 
bool operator!= (map_vector_key const &, map_vector_key const &) noexcept
 
bool operator< (map_vector_key const &, map_vector_key const &) noexcept
 
bool operator> (map_vector_key const &, map_vector_key const &) noexcept
 
bool operator<= (map_vector_key const &, map_vector_key const &) noexcept
 
bool operator>= (map_vector_key const &, map_vector_key const &) noexcept
 
std::ostream & operator<< (std::ostream &, map_vector_key const &)
 
template<class T >
void swap (maybe_ref< T > &, maybe_ref< T > &)
 
template<class T >
bool operator== (maybe_ref< T > const &left, maybe_ref< T > const &right)
 
template<class T >
std::ostream & operator<< (std::ostream &os, maybe_ref< T > const &item)
 
bool operator== (MD5Result const &a, MD5Result const &b)
 
bool operator< (MD5Result const &a, MD5Result const &b)
 
bool operator!= (MD5Result const &a, MD5Result const &b)
 
std::ostream & operator<< (std::ostream &os, MD5Result const &r)
 
constexpr char const * os_libpath ()
 
constexpr char const * plugin_libpath ()
 
template<unsigned N, class T >
constexpr T pow (T x)
 
template<class T >
constexpr T square (T x)
 
template<class T >
constexpr T cube (T x)
 
template<class T >
constexpr T fourth (T x)
 
template<class T >
constexpr T diff_of_squares (T x, T y)
 
template<class T >
constexpr T sum_of_squares (T x, T y)
 
template<class T >
constexpr T sum_of_squares (T x, T y, T z)
 
template<typename T >
Tget_underlying (propagate_const< T > &)
 
template<typename T >
T const & get_underlying (propagate_const< T > const &)
 
bool replace_all (std::string &in, std::string const &from, std::string const &to)
 Replace all occurrences of from in string with to. More...
 
std::string rpad (std::string const &pad_me, std::string::size_type wanted_size, char char_to_pad_with= ' ')
 
std::ostream & operator<< (std::ostream &os, search_path const &p)
 
std::string shlib_prefix ()
 
std::string shlib_suffix ()
 
template<class charT , class traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &, simple_stats const &)
 
template<typename F >
auto repeated_task (std::size_t const nInstances, F func)
 
template<class OutIter >
void split (std::string const &s, char c, OutIter dest)
 
template<class Pred , class OutIter >
void split_if (std::string const &s, Pred is_sep, OutIter dest)
 
std::vector< std::string > split_by_regex (std::string const &str, std::string const &delimSet)
 
void split_path (std::string const &path, std::vector< std::string > &components)
 
std::string & trim_right (std::string &source, std::string const &t=" ")
 
std::string & trim_left (std::string &source, std::string const &t=" ")
 
std::string & trim (std::string &source, std::string const &t=" ")
 
std::string trim_right_copy (std::string source, std::string const &t=" ")
 
std::string trim_left_copy (std::string source, std::string const &t=" ")
 
std::string trim_copy (std::string source, std::string const &t=" ")
 
template<class E , class C , class D >
void swap (value_ptr< E, C, D > &, value_ptr< E, C, D > &) noexcept
 
template<class E , class C , class D >
bool operator== (value_ptr< E, C, D > const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator!= (value_ptr< E, C, D > const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator== (value_ptr< E, C, D > const &, std::nullptr_t const &)
 
template<class E , class C , class D >
bool operator!= (value_ptr< E, C, D > const &, std::nullptr_t const &)
 
template<class E , class C , class D >
bool operator== (std::nullptr_t const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator!= (std::nullptr_t const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator< (value_ptr< E, C, D > const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator> (value_ptr< E, C, D > const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator<= (value_ptr< E, C, D > const &, value_ptr< E, C, D > const &)
 
template<class E , class C , class D >
bool operator>= (value_ptr< E, C, D > const &, value_ptr< E, C, D > const &)
 

Variables

path_tag_t const path_tag
 

Typedef Documentation

template<typename FT , FT f, typename R = void>
using cet::enable_if_function_exists_t = typedef enable_if_same_t<FT, decltype(f), R>

Definition at line 49 of file metaprogramming.h.

template<typename T , typename U , typename R = void>
using cet::enable_if_same_t = typedef std::enable_if_t<std::is_same<T, U>::value, R>

Definition at line 46 of file metaprogramming.h.

template<class T >
using cet::enable_if_type_exists_t = typedef typename enable_if_type_exists<T>::type

Definition at line 31 of file metaprogramming.h.

using cet::no_tag = typedef char (&)[1]

Definition at line 10 of file metaprogramming.h.

using cet::yes_tag = typedef char (&)[2]

Definition at line 11 of file metaprogramming.h.

Function Documentation

template<class FwdCont , class Datum >
bool cet::binary_search_all ( FwdCont const &  s,
Datum const &  d 
)
inline

Definition at line 199 of file container_algorithms.h.

200 {
201  using std::cbegin;
202  using std::cend;
203  return std::binary_search(cbegin(s), cend(s), d);
204 }
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
bool cet::canonical_number ( std::string const &  value,
std::string &  result 
)
bool cet::canonical_string ( std::string const &  str,
std::string &  result 
)
inline

Definition at line 58 of file canonical_string.h.

References log::success().

Referenced by art::FileCatalogMetadata::addMetadata(), and art::FileCatalogMetadata::addMetadataString().

58  {
59  bool success = false;
60  if (!s.empty()) {
61  result.append(canonical_string(s));
62  success = true;
63  }
64  return success;
65 }
66 catch (...) {
67  return false;
68 } // canonical_string()
const XML_Char * s
Definition: expat.h:262
def success(message)
Definition: log.py:5
std::string canonical_string(std::string const &str)
std::string cet::canonical_string ( std::string const &  str)
template<class T >
std::enable_if_t< std::is_arithmetic< T >::value, T > cet::checked_hypot ( T  x,
T  y 
)

Definition at line 43 of file hypot.h.

References std::isinf(), std::isnan(), T, and unchecked_hypot().

Referenced by hypot().

44 {
45 
46  if (std::isinf(x) || std::isinf(y))
47  return std::numeric_limits<T>::infinity();
48  else if (std::isnan(x) || std::isnan(y))
49  return std::numeric_limits<T>::quiet_NaN();
50  else
51  return unchecked_hypot(x, y);
52 
53 } // checked_hypot<>(,)
int isinf(const stan::math::var &a)
Definition: std_isinf.hpp:16
std::enable_if_t< std::is_arithmetic< T >::value, T > unchecked_hypot(T x, T y)
Definition: hypot.h:33
int isnan(const stan::math::var &a)
Definition: std_isnan.hpp:18
std::string::size_type cet::column_width ( std::vector< std::string > const &  )
template<class FwdCont , class FwdIter >
auto cet::copy_all ( FwdCont &  s,
FwdIter  it 
)
inline

Definition at line 132 of file container_algorithms.h.

References febshutoff_auto::end.

Referenced by cet::search_path::find_files(), art::FileCatalogMetadata::getMetadata(), and art::Hash< I >::print().

133 {
134  using std::begin;
135  using std::end;
136  return std::copy(begin(s), end(s), it);
137 }
set< int >::iterator it
const XML_Char * s
Definition: expat.h:262
template<class FwdCont , class FwdIter >
auto cet::copy_all ( FwdCont const &  s,
FwdIter  it 
)
inline

Definition at line 141 of file container_algorithms.h.

142 {
143  using std::cbegin;
144  using std::cend;
145  return std::copy(cbegin(s), cend(s), it);
146 }
set< int >::iterator it
const XML_Char * s
Definition: expat.h:262
template<class FwdCont , class FwdIter , class Pred >
auto cet::copy_if_all ( FwdCont &  s,
FwdIter  it,
Pred  p 
)
inline

Definition at line 151 of file container_algorithms.h.

References febshutoff_auto::end.

152 {
153  using std::cbegin;
154  using std::cend;
155  return std::copy_if(begin(s), end(s), it, p);
156 }
set< int >::iterator it
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
template<class FwdCont , class FwdIter , class Pred >
auto cet::copy_if_all ( FwdCont const &  s,
FwdIter  it,
Pred  p 
)
inline

Definition at line 160 of file container_algorithms.h.

161 {
162  using std::cbegin;
163  using std::cend;
164  return std::copy_if(cbegin(s), cend(s), it, p);
165 }
set< int >::iterator it
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
template<class T >
constexpr T cet::cube ( T  x)

Definition at line 27 of file pow.h.

References T, and submit_syst::x.

28  {
29  return pow<3u>(x);
30  }
template<class T >
constexpr T cet::diff_of_squares ( T  x,
T  y 
)

Definition at line 135 of file pow.h.

References T, and submit_syst::y.

Referenced by fourth().

136 {
137  return (x + y) * (x - y);
138 }
std::string cet::escape ( std::string const &  str)
bool cet::file_exists ( std::string const &  qualified_filename)
template<class FwdCont , class Datum >
auto cet::find_in_all ( FwdCont &  s,
Datum const &  d 
)
inline

Definition at line 170 of file container_algorithms.h.

References febshutoff_auto::end.

171 {
172  using std::begin;
173  using std::end;
174  return std::find(begin(s), end(s), d);
175 }
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
template<class FwdCont , class Datum >
auto cet::find_in_all ( FwdCont const &  s,
Datum const &  d 
)
inline

Definition at line 179 of file container_algorithms.h.

180 {
181  using std::cbegin;
182  using std::cend;
183  return std::find(cbegin(s), cend(s), d);
184 }
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
template<class FwdCont , class Func >
auto cet::for_all ( FwdCont &  s,
Func  f 
)
inline
template<class FwdCont , class Func >
auto cet::for_all ( FwdCont const &  s,
Func  f 
)
inline

Definition at line 99 of file container_algorithms.h.

100 {
101  using std::cbegin;
102  using std::cend;
103  return std::for_each(cbegin(s), cend(s), f);
104 }
const XML_Char * s
Definition: expat.h:262
template<class FwdCont , class Func >
void cet::for_all_with_index ( FwdCont &  s,
Func  f 
)
inline

Definition at line 109 of file container_algorithms.h.

References e, MakeMiniprodValidationCuts::f, and MECModelEnuComparisons::i.

Referenced by art::TriggerNamesService::TriggerNamesService().

110 {
111  std::size_t i{};
112  for (auto& e : s) {
113  f(i, e);
114  ++i;
115  }
116 }
const XML_Char * s
Definition: expat.h:262
Float_t e
Definition: plot.C:35
template<class FwdCont , class Func >
void cet::for_all_with_index ( FwdCont const &  s,
Func  f 
)
inline

Definition at line 120 of file container_algorithms.h.

References e, MakeMiniprodValidationCuts::f, and MECModelEnuComparisons::i.

121 {
122  std::size_t i{};
123  for (auto const& e : s) {
124  f(i, e);
125  ++i;
126  }
127 }
const XML_Char * s
Definition: expat.h:262
Float_t e
Definition: plot.C:35
template<class T >
constexpr T cet::fourth ( T  x)

Definition at line 33 of file pow.h.

References diff_of_squares(), sum_of_squares(), T, submit_syst::x, submit_syst::y, and test::z.

Referenced by xsec_tot_uncert_optimization(), and xsec_uncertainty_per_bin().

34  {
35  return pow<4u>(x);
36  }
template<typename T >
T & cet::get_underlying ( propagate_const< T > &  iP)

Definition at line 99 of file propagate_const.h.

References cet::propagate_const< T >::m_value, and T.

100  {
101  return iP.m_value;
102  }
template<typename T >
T const & cet::get_underlying ( propagate_const< T > const &  iP)

Definition at line 105 of file propagate_const.h.

References cet::propagate_const< T >::m_value.

106  {
107  return iP.m_value;
108  }
std::string cet::getenv ( std::string const &  name)

Referenced by novadaq::EnvVarCache::_doGetEnvVar(), Analyse_Data2DataComp(), Analyse_Data2DataComp_HigherEnergyCuts(), Analyse_Data2DataComp_kNumu2020ND(), ana::CalculateFluxAndNoCorrelatedErrorBand(), nova::database::Table::CreateFromDB(), nova::database::Table::CreateFromXML(), nova::dbi::Table::CreateFromXML(), evgb::CRYHelper::CRYHelper(), gov::fnal::cd::rms::provider::DDSConnection::DDSConnection(), comi::CosmicMetrics::endJob(), comi::DataCheck::endJob(), calib::CalibAna::endJob(), ana::SAMQuerySource::EnsureDataset(), ana::SAMQuerySource::EnsureSnapshot(), ana::FileListSource::FileListSource(), meta::Metadata::FillMetadata(), om::Icons::Find(), ana::FindPackageDir(), ana::StanFitter::FitHelperSeeded(), generate_fc_binlists(), stan::math::internal::get_num_threads(), lem::get_release(), calib::Calibrator::GetAbsConstsCSVPath(), calib::Calibrator::GetAttenCSVPath(), nova::database::Table::GetConnection(), nutools::dbi::Table::GetConnection(), nova::dbi::Table::GetConnection(), nova::database::Table::GetConnectionInfo(), nutools::dbi::Table::GetConnectionInfo(), nova::dbi::Table::GetConnectionInfo(), calib::DriftCache::GetCSVPath(), calib::AttenCache::GetCSVPath(), calib::Calibrator::GetDriftConstsCSVPath(), GetMatrices(), GetMECTuningDirectory(), jw::GetMECTuningDirectory(), GetNueCosmics2017(), GetNueCosmics2018(), GetNueCosmics2019(), ana::GetNueCosmics2020(), GetNuePrediction2017(), GetNuePrediction2018(), GetNuePrediction2019(), ana::GetNuePrediction2020(), GetNuePredictionFuture(), GetNuePredPath(), GetNumuCosmics2017(), GetNumuCosmics2018(), GetNumuCosmics2019(), ana::GetNumuCosmics2020(), test::GetNumuPrediction(), GetNumuPredictions2017(), GetNumuPredictions2018(), GetNumuPredictions2019(), nutools::dbi::Table::GetPassword(), nova::dbi::Table::GetPassword(), GetPPFXWeightsDir(), getPredictions(), ShmRdWr::getShmKey(), GetSystsFromFile(), calib::Calibrator::GetTimingConstsCSVPath(), genie::utils::xml::GetXMLPathList(), gibuu::GiBUURegen::GiBUURegen(), hyperon_macro(), hyperon_nom_macro(), ana::IFDHSilent::IFDHSilent(), caf::CAFMaker::InitializeOutfile(), ana::GetNCCosRejKeras::InitKeras(), ana::GetMuonID::InitTMVA(), ana::nueccinc::GetElectronID::InitTMVA(), ana::GetBPFMuonID::InitTMVA(), ana::GetNCCosRejBDTG2020::InitTMVA(), ana::GetBestTrack::InitTMVA(), ana::nueccinc::GetBestProng::InitTMVA(), ana::GetBestBPFTrack::InitTMVA(), ana::GetNCCosRejG::InitTMVA(), ana::nueccinc::GetElectronIDForProng::InitTMVA(), ana::GetNCCosRej::InitTMVA(), ana::muonid_classifier::InitTMVA(), ana::GetNCCosRejp1::InitTMVA(), ana::GetNCCosRejp2::InitTMVA(), ana::GetNCCosRejp3_5::InitTMVA(), ana::GetNCCosRejp4_6::InitTMVA(), ana::GetPionID::InitTMVAGamma(), ana::GetPionTrack::InitTMVAGamma(), ana::GetGammaIDVal::InitTMVAGamma(), ana::GetPionID::InitTMVAPion(), ana::GetPionTrack::InitTMVAPion(), ana::GetBestPionID::InitTMVAPion(), ana::GetBestPionTrack::InitTMVAPion(), ana::GetPionIDVal::InitTMVAPion(), ana::GetPionID::InitTMVAProton(), ana::GetPionTrack::InitTMVAProton(), ana::GetProtonIDVal::InitTMVAProton(), InputPath(), ana::InstallHandlers::InstallHandlers(), ana::JobNumber(), joint_fit_2017_make_fc_slice(), joint_fit_2017_make_fc_surf(), lem::LEMClient::LEMClient(), lem::LEMWorker::LEMWorker(), lem::LEMWorkerOutput::LEMWorkerOutput(), load_libs(), nutools::dbi::Table::LoadConditionsTable(), genie::ReinSehgalRESPXSec::LoadConfig(), LoadCosmic(), LoadCosmicHist(), LoadCovMx(), LoadData(), LoadExtrapPrediction(), LoadFakeData(), calib::TimingCache::LoadFromDatabase(), calib::AbsCache::LoadFromVldDatabase(), gibuu::GiBUURegen::LoadGenieXSecs(), LoadISysts(), LoadPPFX(), LoadPrediction(), ana::LoadSystematics(), nutools::dbi::Table::LoadUnstructuredConditionsTable(), nova::dbi::Table::LoadValidityTable(), ana::SAMQuerySource::LocateSAMFiles(), ana::SAMQuerySource::LocationsForSAMQuery(), main(), make_dst_cosrejbdttrain(), make_extrap_figure_hists(), make_fc_mass_and_oct_nersc_2018(), make_fc_mass_and_oct_nersc_2019(), make_fc_mh_nersc_2018(), make_fc_mh_nersc_2019(), make_fc_oct_nersc_2018(), make_fc_oct_nersc_2019(), make_fc_slices_nersc_2018(), make_fc_slices_nersc_2018_stats(), make_fc_slices_nersc_2019(), make_fc_surfaces_nersc_2018(), make_fc_surfaces_nersc_2018_stats(), make_fc_surfaces_nersc_2019(), make_rockpred(), MakeCovMx(), ana::MakeCutVec(), MakeSurface(), MakeSysts(), meta::MetadataParse::MetadataParse(), ana::MuonLLR(), g4n::NeutronSubstitutionProcess::NeutronSubstitutionProcess(), evgen::CORSIKAGen::openDBs(), evdb::JobMenu::OpenJob(), ana::FixGibuuWeight::operator()(), evdb::PicturePool(), plot_quantile_boundaries_2020(), plot_quantile_boundaries_twosamples_2020(), plot_xsecs(), ana::PredictionSyst3Flavor2020::PredictionSyst3Flavor2020(), fxwgt::FluxWeightCalculator::reconfigure(), om::OnMonProd::reconfigure(), gov::fnal::cd::rms::util::ReentrantGetEnv(), novadaq::LocationUtils::replaceEnvVars(), nova::database::Table::Reset(), evdb::RootEnv::RootEnv(), ana::SAMQuerySource::RunningOnGrid(), nutools::dbi::Util::RunningOnGrid(), nova::dbi::Util::RunningOnGrid(), ana::RunningOnGrid(), evgb::CRYHelper::Sample(), ana::SAMProjectSource::SAMProjectSource(), om::GUIModelData::SetCSVFile(), SetCut(), SetCuts(), nova::database::Table::SetPasswordFile(), nova::dbi::Table::SetPasswordFile(), nutools::dbi::Table::SetPasswordFile(), specprod_numuccinc(), StatErrorsEnabled::StatErrorsEnabled(), nova::database::Table::Table(), nutools::dbi::Table::Table(), nova::dbi::Table::Table(), IOManager::TagNameBySample(), test_stanfit_systpulls(), DevelopmentTests::testDBCommandCache(), GeneralTests::testEnvVarReplacement(), DevelopmentTests::testUpdateTwice(), BasicTests::testUpdateTwice(), DevelopmentTests::testUserName(), evd::HeaderDrawer::Text(), novadaq::LocationUtils::translateURL(), TrimCAFs(), trimmubarid(), trimvar(), UnfoldXSec(), ana::FileReducer::UpdateMetadata(), ana::SpectrumLoaderBase::WildcardOrSAMQuery(), nutools::dbi::Table::Write(), nova::dbi::Table::Write(), and ana::ProfilerSupport::~ProfilerSupport().

std::string cet::getenv ( std::string const &  name,
std::nothrow_t   
)
template<typename PTR_T >
PTR_T cet::hard_cast ( void src)
inline

Definition at line 19 of file hard_cast.h.

References make_syst_table_plots::dest.

Referenced by cet::LibraryManager::getSymbolByLibspec(), and cet::LibraryManager::getSymbolByPath().

20 {
21  PTR_T dest;
22  hard_cast(src, dest);
23  return dest;
24 }
void hard_cast(void *src, PTR_T &dest)
Definition: hard_cast.h:28
template<typename PTR_T >
void cet::hard_cast ( void src,
PTR_T &  dest 
)
inline

Definition at line 28 of file hard_cast.h.

29 {
30  memcpy(&dest, &src, sizeof(PTR_T));
31 }
template<class T >
std::enable_if_t< std::is_arithmetic< T >::value, T > cet::hypot ( T  x,
T  y 
)
inline

Definition at line 60 of file hypot.h.

References checked_hypot().

Referenced by photrans::ImprovedTransport::GetPosCorr(), photrans::line_efficiency(), screen_to_activevertex(), and unchecked_hypot().

61 {
62  return checked_hypot(x, y);
63 }
std::enable_if_t< std::is_arithmetic< T >::value, T > checked_hypot(T x, T y)
Definition: hypot.h:43
void cet::include ( std::istream &  in,
std::string &  result 
)
void cet::include ( std::istream &  in,
std::string const &  search_path_arg,
std::string &  result 
)
bool cet::is_absolute_filepath ( std::string const &  qualified_filename)
bool cet::is_double_quoted_string ( std::string const &  str)
inline

Definition at line 46 of file canonical_string.h.

References cet::detail::is_quoted_string().

Referenced by is_quoted_string().

47 {
48  return detail::is_quoted_string(str, '"');
49 }
bool is_quoted_string(std::string const &s, char quot)
bool cet::is_quoted_string ( std::string const &  str)
inline

Definition at line 52 of file canonical_string.h.

References is_double_quoted_string(), and is_single_quoted_string().

53 {
55 }
bool is_double_quoted_string(std::string const &str)
bool is_single_quoted_string(std::string const &str)
bool cet::is_relative_filepath ( std::string const &  qualified_filename)
bool cet::is_single_quoted_string ( std::string const &  str)
inline

Definition at line 40 of file canonical_string.h.

References cet::detail::is_quoted_string().

Referenced by is_quoted_string().

41 {
42  return detail::is_quoted_string(str, '\'');
43 }
bool is_quoted_string(std::string const &s, char quot)
template<class FwdCont , class Datum >
auto cet::lower_bound_all ( FwdCont &  s,
Datum const &  d 
)
inline

Definition at line 209 of file container_algorithms.h.

References febshutoff_auto::end.

210 {
211  using std::begin;
212  using std::end;
213  return std::lower_bound(begin(s), end(s), d);
214 }
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
template<class FwdCont , class Datum >
auto cet::lower_bound_all ( FwdCont const &  s,
Datum const &  d 
)
inline

Definition at line 218 of file container_algorithms.h.

219 {
220  using std::cbegin;
221  using std::cend;
222  return std::lower_bound(cbegin(s), cend(s), d);
223 }
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
template<class FwdCont , class Datum , class Pred >
auto cet::lower_bound_all ( FwdCont &  s,
Datum const &  d,
Pred  p 
)
inline

Definition at line 227 of file container_algorithms.h.

References febshutoff_auto::end.

228 {
229  using std::begin;
230  using std::end;
231  return std::lower_bound(begin(s), end(s), d, p);
232 }
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
template<class FwdCont , class Datum , class Pred >
auto cet::lower_bound_all ( FwdCont const &  s,
Datum const &  d,
Pred  p 
)
inline

Definition at line 236 of file container_algorithms.h.

237 {
238  using std::cbegin;
239  using std::cend;
240  return std::lower_bound(cbegin(s), cend(s), d, p);
241 }
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
std::string cet::lpad ( std::string const &  pad_me,
std::string::size_type  wanted_size,
char  char_to_pad_with = ' ' 
)
template<class E >
exempt_ptr<E> cet::make_exempt_ptr ( E )
noexcept
bool cet::operator!= ( map_vector_key const &  k1,
map_vector_key const &  k2 
)
inlinenoexcept

Definition at line 297 of file map_vector.h.

298 {
299  return k1.asInt() != k2.asInt();
300 }
bool cet::operator!= ( MD5Result const &  a,
MD5Result const &  b 
)
inline

Definition at line 43 of file MD5Digest.h.

References b.

44  {
45  return !(a == b);
46  }
const double a
const hit & b
Definition: hits.cxx:21
template<class E >
bool cet::operator!= ( cet::exempt_ptr< E > const &  x,
cet::exempt_ptr< E > const &  y 
)

Definition at line 216 of file exempt_ptr.h.

References operator==().

217 {
218  return !operator==(x, y);
219 }
bool operator==(const BasicVector3D< float > &a, const BasicVector3D< float > &b)
template<class E >
bool cet::operator!= ( exempt_ptr< E > const &  x,
std::nullptr_t const &  y 
)

Definition at line 230 of file exempt_ptr.h.

References operator==().

231 {
232  return !operator==(x, y);
233 }
bool operator==(const BasicVector3D< float > &a, const BasicVector3D< float > &b)
template<class E >
bool cet::operator!= ( std::nullptr_t const &  x,
exempt_ptr< E > const &  y 
)

Definition at line 244 of file exempt_ptr.h.

References operator==().

245 {
246  return !operator==(x, y);
247 }
bool operator==(const BasicVector3D< float > &a, const BasicVector3D< float > &b)
template<class E , class C , class D >
bool cet::operator!= ( value_ptr< E, C, D > const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 351 of file value_ptr.h.

References operator==().

352 {
353  return !operator==(x, y);
354 }
bool operator==(const BasicVector3D< float > &a, const BasicVector3D< float > &b)
template<class E , class C , class D >
bool cet::operator!= ( value_ptr< E, C, D > const &  x,
std::nullptr_t const &  y 
)

Definition at line 365 of file value_ptr.h.

References operator==().

366 {
367  return !operator==(x, y);
368 }
bool operator==(const BasicVector3D< float > &a, const BasicVector3D< float > &b)
template<class E , class C , class D >
bool cet::operator!= ( std::nullptr_t const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 379 of file value_ptr.h.

References operator==().

380 {
381  return !operator==(x, y);
382 }
bool operator==(const BasicVector3D< float > &a, const BasicVector3D< float > &b)
bool cet::operator< ( map_vector_key const &  k1,
map_vector_key const &  k2 
)
inlinenoexcept

Definition at line 303 of file map_vector.h.

304 {
305  return k1.asInt() < k2.asInt();
306 }
bool cet::operator< ( MD5Result const &  a,
MD5Result const &  b 
)
template<class E >
bool cet::operator< ( cet::exempt_ptr< E > const &  x,
cet::exempt_ptr< E > const &  y 
)

Definition at line 254 of file exempt_ptr.h.

References submit_syst::y.

255 {
256  using CT = std::common_type_t<typename exempt_ptr<E>::pointer,
257  typename exempt_ptr<E>::pointer>;
258  return std::less<CT>{}(x.get(), y.get());
259 }
pointer get() const noexcept
Definition: exempt_ptr.h:146
template<class E , class C , class D >
bool cet::operator< ( value_ptr< E, C, D > const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 389 of file value_ptr.h.

References submit_syst::y.

390 {
391  using CT = std::common_type_t<typename value_ptr<E, C, D>::pointer,
392  typename value_ptr<E, C, D>::pointer>;
393  return std::less<CT>{}(x.get(), y.get());
394 }
template<class charT , class traits >
std::basic_ostream< charT, traits > & cet::operator<< ( std::basic_ostream< charT, traits > &  os,
simple_stats const &  stats 
)

Definition at line 95 of file simple_stats.h.

References stats().

97 {
98  return os << "( " << stats.size() << ", " << stats.mean() << " +/- "
99  << stats.err_mean() << ", " << stats.rms() << " +/- "
100  << stats.err_rms() << ", " << stats.min() << " " << stats.max()
101  << " )";
102 }
int stats(TString inputFilePath, Int_t firstRun, Int_t lastRun, Float_t thresh, TString myDet)
Definition: stats.C:13
std::ostream & cet::operator<< ( std::ostream &  os,
cet::map_vector_key const &  key 
)
inline

Definition at line 330 of file map_vector.h.

References cet::map_vector_key::asInt().

331 {
332  return os << key.asInt();
333 }
std::ostream& cet::operator<< ( std::ostream &  os,
search_path const &  p 
)
template<class T >
std::ostream & cet::operator<< ( std::ostream &  os,
maybe_ref< T > const &  item 
)
inline

Definition at line 127 of file maybe_ref.h.

128 {
129  os << &item.ref();
130  return os;
131 }
std::ostream& cet::operator<< ( std::ostream &  os,
MD5Result const &  r 
)
inline

Definition at line 49 of file MD5Digest.h.

References cet::MD5Result::toString().

50  {
51  os << r.toString();
52  return os;
53  }
TRandom3 r(0)
bool cet::operator<= ( map_vector_key const &  k1,
map_vector_key const &  k2 
)
inlinenoexcept

Definition at line 315 of file map_vector.h.

316 {
317  return k1.asInt() <= k2.asInt();
318 }
template<class E >
bool cet::operator<= ( cet::exempt_ptr< E > const &  x,
cet::exempt_ptr< E > const &  y 
)

Definition at line 270 of file exempt_ptr.h.

References submit_syst::x, and submit_syst::y.

271 {
272  return !(y < x);
273 }
template<class E , class C , class D >
bool cet::operator<= ( value_ptr< E, C, D > const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 405 of file value_ptr.h.

References submit_syst::x, and submit_syst::y.

406 {
407  return !(y < x);
408 }
bool cet::operator== ( map_vector_key const &  k1,
map_vector_key const &  k2 
)
inlinenoexcept

Definition at line 291 of file map_vector.h.

292 {
293  return k1.asInt() == k2.asInt();
294 }
bool cet::operator== ( MD5Result const &  a,
MD5Result const &  b 
)
template<class T >
bool cet::operator== ( maybe_ref< T > const &  left,
maybe_ref< T > const &  right 
)
inline

Definition at line 120 of file maybe_ref.h.

References cet::maybe_ref< T >::ref().

121 {
122  return (&left.ref()) == (&right.ref());
123 }
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:112
constexpr auto const & left(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:104
template<class E >
bool cet::operator== ( cet::exempt_ptr< E > const &  x,
cet::exempt_ptr< E > const &  y 
)

Definition at line 209 of file exempt_ptr.h.

References cet::exempt_ptr< Element >::get().

Referenced by operator!=().

210 {
211  return x.get() == y.get();
212 }
pointer get() const noexcept
Definition: exempt_ptr.h:146
template<class E >
bool cet::operator== ( exempt_ptr< E > const &  x,
std::nullptr_t const &  y 
)

Definition at line 223 of file exempt_ptr.h.

References cet::exempt_ptr< Element >::get(), and submit_syst::y.

224 {
225  return x.get() == y;
226 }
template<class E >
bool cet::operator== ( std::nullptr_t const &  x,
exempt_ptr< E > const &  y 
)

Definition at line 237 of file exempt_ptr.h.

References cet::exempt_ptr< Element >::get().

238 {
239  return x == y.get();
240 }
template<class E , class C , class D >
bool cet::operator== ( value_ptr< E, C, D > const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 344 of file value_ptr.h.

References cet::value_ptr< Element, Cloner, Deleter >::get().

345 {
346  return x.get() == y.get();
347 }
template<class E , class C , class D >
bool cet::operator== ( value_ptr< E, C, D > const &  x,
std::nullptr_t const &  y 
)

Definition at line 358 of file value_ptr.h.

References cet::value_ptr< Element, Cloner, Deleter >::get(), and submit_syst::y.

359 {
360  return x.get() == y;
361 }
template<class E , class C , class D >
bool cet::operator== ( std::nullptr_t const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 372 of file value_ptr.h.

References cet::value_ptr< Element, Cloner, Deleter >::get().

373 {
374  return x == y.get();
375 }
bool cet::operator> ( map_vector_key const &  k1,
map_vector_key const &  k2 
)
inlinenoexcept

Definition at line 309 of file map_vector.h.

310 {
311  return k1.asInt() > k2.asInt();
312 }
template<class E >
bool cet::operator> ( cet::exempt_ptr< E > const &  x,
cet::exempt_ptr< E > const &  y 
)

Definition at line 263 of file exempt_ptr.h.

References submit_syst::x.

264 {
265  return y < x;
266 }
template<class E , class C , class D >
bool cet::operator> ( value_ptr< E, C, D > const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 398 of file value_ptr.h.

References submit_syst::x.

399 {
400  return y < x;
401 }
bool cet::operator>= ( map_vector_key const &  k1,
map_vector_key const &  k2 
)
inlinenoexcept

Definition at line 321 of file map_vector.h.

322 {
323  return k1.asInt() >= k2.asInt();
324 }
template<class E >
bool cet::operator>= ( cet::exempt_ptr< E > const &  x,
cet::exempt_ptr< E > const &  y 
)

Definition at line 277 of file exempt_ptr.h.

References submit_syst::y.

278 {
279  return !(x < y);
280 }
template<class E , class C , class D >
bool cet::operator>= ( value_ptr< E, C, D > const &  x,
value_ptr< E, C, D > const &  y 
)

Definition at line 412 of file value_ptr.h.

References submit_syst::y.

413 {
414  return !(x < y);
415 }
constexpr char const * cet::os_libpath ( )
inline

Definition at line 12 of file os_libpath.h.

13 {
14 #if __linux__
15  return "LD_LIBRARY_PATH";
16 #elif __APPLE__ && __MACH__
17  return "DYLD_LIBRARY_PATH";
18 #else
19 #error Unknown operating system
20 #endif
21 }
constexpr char const * cet::plugin_libpath ( )
inline

Definition at line 12 of file plugin_libpath.h.

13 {
14  return "CET_PLUGIN_PATH";
15 }
template<unsigned N, class T >
constexpr T cet::pow ( T  x)

Definition at line 75 of file pow.h.

Referenced by ValidCalibPDF::AbsoluteCalibration(), AddQuadrature(), AddQuadrature2D(), AddStatisticalUncertainty(), AddUpDwUncerts(), AddUpDwUncerts2D(), genie::GRV98LO::AllPDFs(), singlekaon_xsec::Amatrix_NN(), genie::AlamSimoAtharVacasSKPXSec2014::Amatrix_NN(), singlekaon_xsec::Amatrix_NP(), genie::AlamSimoAtharVacasSKPXSec2014::Amatrix_NP(), singlekaon_xsec::Amatrix_PP(), genie::AlamSimoAtharVacasSKPXSec2014::Amatrix_PP(), calib::ADCShapeFitAna::analyze(), sn::SNSlicerAna::analyze(), mono::Monopole::analyze(), genie::alvarezruso::ARSampledNucleus::ARSampledNucleus(), lem::MakePID::AvgAndFit(), lem::MakePID::beginJob(), calib::MuondEdxAna::beginJob(), ana::best_spline_find_mode(), ana::best_spline_mode_fcn(), stan::math::beta_lccdf(), stan::math::beta_lcdf(), BinByBinTemplateFit(), BinByBinTemplateFit_TemplateResults(), cmf::ChiSqrCalculator::BinCNPChiSqr(), genie::utils::BindHitNucleon(), stan::math::binomial_cdf(), stan::math::binomial_lccdf(), stan::math::binomial_lcdf(), BuildMetricsTree_OnMon(), slid::ParticleIDAlg::CalcAsymIneria(), calcBinnedSOverSSBSqr(), CalcFOM(), ana::CalcMECDoubleGaussEnh(), ana::CalcMECDoubleGaussEnhNux(), ana::CalcMECGaussEnh(), calcSOverSSB(), Calculate2DChi2(), CalculateENuChi2(), CalculateQ2Chi2(), checkBeam(), stan::math::chi_square_cdf(), stan::math::chi_square_lccdf(), stan::math::chi_square_lcdf(), fnex::CovarianceFitHelper::ChiSqr(), cmf::ChiSqrCalculator::ChiSqrNuisance(), genie::utils::frgmfunc::collins_spiller_func(), rsim::CommonParameters::CommonParameters(), CompareHistos_Here(), CompareToTrueSignal(), fuzz::FuzzyKMeanAlg::ComputeA(), g4n::FLSHitListAction::ComputeCerenkovPhotons(), ComputeErrors(), genie::utils::ComputeFullQELPXSec(), ana::CountingExperimentPValue(), ana::CountingExperimentPValueByLL(), beamlinereco::WCHitFinderAlg::createNeighborhoodMatrix(), d3sigma_calc(), DDTOnMonPlotMaker(), DataCompression::decodeVal(), g4n::PrintTables::dEdx(), calib::BetheBlochAnalytic::Delta(), demoBarChart(), singlekaon_xsec::diffxsec(), sn::TrackActivityRemover::DistanceHitToTrackBody(), lem::DistanceMap::DistFunc(), geo::LiveGeometry::DistToClosestBadRegion(), nueccinc_test::NueCCIncGlobalFitter::doFullFit(), ana::NumuCCIncPionTemplateFitter::doFullFit(), ana::nueccinc::NueCCIncTemplateFitter::doFullFit(), ana::GenericSystComponentScale< T >::DoShift(), plot_validation_datamc.Spectrum::Draw(), plot_validation_datamc_2018.Spectrum::Draw(), DrawCCOscillations(), DrawConfig(), fnex::CorrectedSpectrum::DrawStacks(), rwgt::MakeGENIEReweightTable::endJob(), genie::utils::EnergyDeltaFunctionSolutionQEL(), evgen::CosmicsGen::Enhance(), errAoverB(), error_division(), osc::_PMNS< T >::EvalEqn21(), lem::EventSummary::EventSummary(), stan::math::exp2(), beamlineutil::BeamlineMagneticField::FieldFromCurrent(), cmf::FitFeldmanCousinsPoint::FillHistograms(), nueccinc_test::NueCCIncGlobalFitter::FillParameterCovariance(), fnex::NuMuAnalysisSetup::FillRecoVars(), ana::nueccinc::NueCCIncTemplateFitter::FillStatisticCovarianceMatrix(), airshower::AirSlicer::FindNeighbors(), me::MEFinder::FindNoiseHitRange(), ana::FluxMultiverseSyst::FindSigmaBoundaries(), fit_thresh_corrs(), fit_thresh_corrs_fb(), fnex::FitFunction_ForROOT(), cmf::FitFunction_ForROOT(), FOMCalc(), for(), fragmentAngularDistribution(), fragmentAngularDistributionGM(), fragmentEnergy(), fragmentEnergyDistributionDifferentAngles(), genie::LwlynSmithQELCCPXSec::FullDifferentialXSec(), atomicdata::fz3226(), stan::math::gamma_cdf(), stan::math::gamma_lccdf(), stan::math::gamma_lcdf(), stan::math::gamma_p(), stan::math::gamma_q(), GammaFunction(), Gaus(), genie::NNBarOscPrimaryVtxGenerator::GenerateFermiMomentum(), get_rms(), getBestFit(), g4n::FLSHitListAction::GetCerenkovPhotons(), GetConfig(), upmuana::LlrUpmu::getErr(), upmuana::getErr(), GetFluxError(), getFOM(), ana::GetFractionalError(), GetHist(), airshower::AirSlicer::GetHoughAngles(), airshower::AirSlicer::GetHoughMap(), airshower::AirSlicer::GetHoughRhos(), ndreco::NDRecoFxs::getProngActivity(), ndreco::NDRecoFxs::getProngDedx(), novaddt::UpMuTrigger::GetRes(), novaddt::UpMuAna::GetRes(), novaddt::UpMuTrigger::GetRes2(), calib::Calibrator::GetTimeRes(), getTotalUncertainty(), ndreco::NDRecoFxs::getTrackActivity(), ndreco::NDRecoFxs::getTrackDedx(), GetTunedMECWeight(), GoodDataSelDate(), GoodDataSelDuration(), GoodDataSelEmptySpillFrac(), GoodDataSelGoodDB(), GoodDataSelLiveTime(), GoodDataSelMipRate(), GoodDataSelNumSlices(), GoodDataSelRuns(), GoodDataSelTimingPeakEnd(), GoodDataSelTimingPeakStart(), GoodDataSelTrkFrac(), stan::math::grad_reg_lower_inc_gamma(), slid::NuEEnergyAlg::HadronicEnergy(), HalfAxis(), airshower::AirSlicer::HoughRhoTheta(), stan::math::inc_beta(), singlekaon_xsec::init(), cmf::PlotUtilities::Initialize(), genie::GRV98LO::Initialize(), ana::GetAntiNumuBDTCVN::InitTMVA(), inTorus(), stan::math::inv_chi_square_cdf(), stan::math::inv_chi_square_lccdf(), stan::math::inv_chi_square_lcdf(), stan::math::inv_gamma_cdf(), stan::math::inv_gamma_lccdf(), stan::math::inv_gamma_lcdf(), stan::math::inv_logit(), fuzz::FuzzyKMeanAlg::Jpfuz(), PandAna.weight.cv_weights::kEmpiricalMECWgt(), PandAna.weight.cv_weights::kRPAWeightCCQE(), stan::mcmc::stepsize_adaptation::learn_stepsize(), trk::CosmicTrackUtilities::LengthCorrection(), novaddt::UpMuTrigger::LinFitLLR(), novaddt::UpMuAna::LinFitLLR(), novaddt::TrackFit::LinFitMinDperp(), upmuana::LlrUpmu::LLR(), upmuana::UpMuAnalysis::LLR(), upmuana::UpMuRecoAna::LLR(), INukeNucleonCorr::localFermiMom(), LogClone(), LogXBins(), LOverEFlux(), lsqr_fprime(), main(), make_fc_nus_surfs_nersc_2018(), make_fc_nus_surfs_nersc_2019(), MakeCSV(), genie::EffectiveSF::MakeEffectiveSF(), make_reco_miniprod5_plots::MakePlots(), make_reco_plots::MakePlots(), makeSystTable_reduced(), trk::WindowTrackingAlg::MakeViewTrack(), makeXSecPlots1D(), makeXSecPlots2D(), fuzz::FuzzyKMeanAlg::MergeClusters(), novaddt::MichelEfinder::michelclose(), ana::MuonEAct(), ana::MuonEActandCat(), ana::MuonEActive(), ana::MuonEActiveandCatcher(), ana::MuonECat(), cmf::NCEnergy(), stan::math::neg_binomial_lccdf(), stan::math::neg_binomial_lcdf(), slicer::PointManager::NeighborScore(), nhit_plot(), ana::NueRecoE_2020FHCFit(), cmf::operator<<(), fnex::operator<<(), ana::RecoReweight::OptimalBinningHelper(), ana::CutOptimization::OptimizedSigmaOverSigma(), simb::MCParticle::P(), stan::math::pareto_type_2_rng(), rsim::FPGA_MatchedFiltering::PerfectASICCurve(), genie::utils::frgmfunc::peterson_func(), stan::math::Phi_approx(), plotfiles::plot_2_files(), plot_angles(), plot_strain_with_zoom(), PlotDB_Web(), ana::PlotMultiSyst(), ana::PlotSyst(), point_to_line(), point_to_line_segment(), stan::math::poisson_cdf(), evgen::CORSIKAGen::populateNShowers(), beamlinereco::ToFPositionFinder::PosnDist(), predEventCountWithSystError(), SystEntry::printTotalUncertaintyLinearDcp(), SystEntry::printUncertainty(), SystEntry::printUncertaintyLinear(), SystEntry::printUncertaintySyst(), SystEntry::printUncertaintySystLinearDcp(), Prob_me(), ana::SystMaker::ProcessSyst(), lem::MakePID::produce(), beamlinereco::WCTrackAlg::projectToMagnetFace(), nueccinc_test::NueCCIncGlobalFitter::PropagateFitUncertainty(), ana::NumuCCIncPionTemplateFitter::PropagateFitUncertainty3D(), ana::nueccinc::NueCCIncTemplateFitter::PropagateFitUncertainty3D(), simb::MCParticle::Pt(), cmf::ContourFromLibrary::readResults(), jmshower::RecoJMShower::RecoShowers(), simb::MCFlux::ReDecay(), Round(), Eigen::matrix_exp_computeUV< MatrixType >::run(), SaveUncertaintyHistogram(), stan::math::scaled_inv_chi_square_cdf(), stan::math::scaled_inv_chi_square_lccdf(), stan::math::scaled_inv_chi_square_lcdf(), sensitivity2020(), stan::math::matrix_exp_action_handler::set_approximation_parameter(), set_intervals(), INukeOsetFormula::setCrossSections(), SetGraphErrors(), INukeOsetFormula::setNucleus(), INukeOsetFormula::setSelfEnergy(), sg_coeff(), ana::BeamIntensitySyst::Shift(), ana::simpleMECDoubleGaussEnh(), solve(), stan::math::student_t_cdf(), stan::math::student_t_lccdf(), stan::math::student_t_lcdf(), syst_table_fit(), syst_table_fit_new(), TEST(), theta23vsdeltamsq32(), calib::ThresholdCorrMap::ThresholdCorrAt(), mono::Track3D::time_fit(), calib::ADCShapeFitTable::TNS(), caldp::TCTrack::TNSUncertainty(), ana::FluxMultiverseSyst::ToTH1(), twfit(), UpdateStats(), validation(), genie::NievesQELCCPXSec::vcr(), ana::VisibleHadE(), stan::math::von_mises_rng(), stan::math::wiener_lpdf(), fnex::FakePointResultMaker::writeResults(), fnex::CovarianceMatrixMaker::writeResults(), cmf::CovarianceMatrixMaker::writeResults(), wrong_sign_uncertainty(), genie::AlamSimoAtharVacasSKPXSec2014::XSec(), genie::P33PaschosLalakulichPXSec::XSec(), and genie::NievesQELCCPXSec::XSec().

76 {
77  return detail::pow<N, T>()(x);
78 }
template<typename F >
auto cet::repeated_task ( std::size_t const  nInstances,
F  func 
)

Definition at line 42 of file SimultaneousFunctionSpawner.h.

References func().

43  {
44  return std::vector<F>(nInstances, func);
45  }
double func(double x, double y)
bool cet::replace_all ( std::string &  in,
std::string const &  from,
std::string const &  to 
)
std::string cet::rpad ( std::string const &  pad_me,
std::string::size_type  wanted_size,
char  char_to_pad_with = ' ' 
)
template<class FwdCont , class Datum >
bool cet::search_all ( FwdCont const &  s,
Datum const &  d 
)
inline

Definition at line 189 of file container_algorithms.h.

Referenced by art::View< T >::fill(), art::FileCatalogMetadata::InheritedMetadata::InheritedMetadata(), art::FileCatalogMetadata::Config::inMetadataList(), and IGNORE_FALLTHROUGH_END::search_translated_all().

190 {
191  using std::cbegin;
192  using std::cend;
193  return std::find(cbegin(s), cend(s), d) != s.end();
194 }
const XML_Char * s
Definition: expat.h:262
Float_t d
Definition: plot.C:236
std::string cet::shlib_prefix ( )
std::string cet::shlib_suffix ( )
template<class RandCont >
void cet::sort_all ( RandCont &  s)
inline

Definition at line 246 of file container_algorithms.h.

References febshutoff_auto::end.

Referenced by IGNORE_FALLTHROUGH_END::maybeTranslate(), art::RangeSet::sort(), and fhicl::detail::ValidateThenSet::ValidateThenSet().

247 {
248  using std::begin;
249  using std::end;
250  std::sort(begin(s), end(s));
251 }
const XML_Char * s
Definition: expat.h:262
template<class RandCont , class Pred >
void cet::sort_all ( RandCont &  s,
Pred  p 
)
inline

Definition at line 255 of file container_algorithms.h.

References febshutoff_auto::end.

256 {
257  using std::begin;
258  using std::end;
259  std::sort(begin(s), end(s), p);
260 }
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
template<class OutIter >
void cet::split ( std::string const &  s,
char  c,
OutIter  dest 
)

Definition at line 35 of file split.h.

References plot_validation_datamc::c, make_syst_table_plots::dest, split_if(), and submit_syst::x.

Referenced by daq2raw::parseFilename().

36 {
37  split_if(s, [c](char x) { return x == c; }, dest);
38 }
void split_if(std::string const &s, Pred is_sep, OutIter dest)
Definition: split.h:44
const XML_Char * s
Definition: expat.h:262
std::vector<std::string> cet::split_by_regex ( std::string const &  str,
std::string const &  delimSet 
)
template<class Pred , class OutIter >
void cet::split_if ( std::string const &  s,
Pred  is_sep,
OutIter  dest 
)

Definition at line 44 of file split.h.

References plot_validation_datamc::c, make_syst_table_plots::dest, e, and srt_file_template::find_if.

Referenced by split().

45 {
46  auto const e = s.cend();
47  auto const is_not_sep = [is_sep](auto const c) { return !is_sep(c); };
48  auto const new_boi = [is_not_sep, &e](auto const si) {
49  return std::find_if(si, e, is_not_sep);
50  };
51  // invariant: we've found all items in [b..boi)
52  // e is an arbitrary value to use as the initializer
53  for (typename std::remove_const<decltype(e)>::type boi = new_boi(s.cbegin()),
54  eoi = e;
55  boi != e;
56  boi = new_boi(eoi)) // advance to next non-separator
57  {
58  // find end of current item:
59  eoi = std::find_if(boi, e, is_sep);
60 
61  // copy the item formed from characters in [boi..eoi):
62  *dest = std::string(boi, eoi);
63  ++dest;
64  } // for
65 
66 } // split_if<>()
const XML_Char * s
Definition: expat.h:262
::xsd::cxx::tree::string< char, simple_type > string
Definition: Database.h:154
Float_t e
Definition: plot.C:35
void cet::split_path ( std::string const &  path,
std::vector< std::string > &  components 
)
template<class T >
constexpr T cet::square ( T  x)

Definition at line 21 of file pow.h.

References T, and submit_syst::x.

Referenced by osc::_PMNS_DMP< T >::P(), sd(), sum_of_squares(), and variance().

22  {
23  return pow<2u>(x);
24  }
template<class RandCont >
void cet::stable_sort_all ( RandCont &  s)
inline

Definition at line 265 of file container_algorithms.h.

References febshutoff_auto::end.

266 {
267  using std::begin;
268  using std::end;
269  std::stable_sort(begin(s), end(s));
270 }
const XML_Char * s
Definition: expat.h:262
template<class RandCont , class Pred >
void cet::stable_sort_all ( RandCont &  s,
Pred  p 
)
inline

Definition at line 274 of file container_algorithms.h.

References febshutoff_auto::end.

275 {
276  using std::begin;
277  using std::end;
278  std::stable_sort(begin(s), end(s), p);
279 }
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
template<class T >
constexpr T cet::sum_of_squares ( T  x,
T  y 
)

Definition at line 142 of file pow.h.

References square(), and T.

Referenced by fourth().

143 {
144  return square(x) + square(y);
145 }
constexpr T square(T x)
Definition: pow.h:21
template<class T >
constexpr T cet::sum_of_squares ( T  x,
T  y,
T  z 
)

Definition at line 149 of file pow.h.

References square().

150 {
151  return square(x) + square(y) + square(z);
152 }
constexpr T square(T x)
Definition: pow.h:21
z
Definition: test.py:28
template<class T >
void cet::swap ( maybe_ref< T > &  r1,
maybe_ref< T > &  r2 
)
inline

Definition at line 113 of file maybe_ref.h.

References cet::maybe_ref< T >::swap().

114 {
115  r1.swap(r2);
116 }
template<class E >
void cet::swap ( exempt_ptr< E > &  x,
exempt_ptr< E > &  y 
)
inlinenoexcept

Definition at line 189 of file exempt_ptr.h.

References E, make_exempt_ptr(), submit_syst::x, and submit_syst::y.

Referenced by cet::value_ptr< TFile >::operator=().

190 {
191  x.swap(y);
192 }
template<class E , class C , class D >
void cet::swap ( value_ptr< E, C, D > &  x,
value_ptr< E, C, D > &  y 
)
noexcept

Definition at line 334 of file value_ptr.h.

References submit_syst::x, and submit_syst::y.

335 {
336  x.swap(y);
337 }
template<class Container , class OutputIt , class UnaryOp >
auto cet::transform_all ( Container &  in,
OutputIt  out,
UnaryOp  unary_op 
)
inline
template<class Container , class OutputIt , class UnaryOp >
auto cet::transform_all ( Container const &  in,
OutputIt  out,
UnaryOp  unary_op 
)
inline

Definition at line 293 of file container_algorithms.h.

References PandAna.Demos.pi0_spectra::transform.

294 {
295  using std::cbegin;
296  using std::cend;
297  return std::transform(cbegin(in), cend(in), out, unary_op);
298 }
ifstream in
Definition: comparison.C:7
template<class Container1 , class Container2 , class OutputIt , class BinaryOp >
auto cet::transform_all ( Container1 &  in1,
Container2 &  in2,
OutputIt  out,
BinaryOp  binary_op 
)
inline

Definition at line 302 of file container_algorithms.h.

References febshutoff_auto::end, and PandAna.Demos.pi0_spectra::transform.

306 {
307  using std::begin;
308  using std::end;
309  return std::transform(begin(in1), end(in1), begin(in2), out, binary_op);
310 }
template<class Container1 , class Container2 , class OutputIt , class BinaryOp >
auto cet::transform_all ( Container1 const &  in1,
Container2 const &  in2,
OutputIt  out,
BinaryOp  binary_op 
)
inline

Definition at line 314 of file container_algorithms.h.

References PandAna.Demos.pi0_spectra::transform.

318 {
319  using std::cbegin;
320  using std::cend;
321  return std::transform(cbegin(in1), cend(in1), cbegin(in2), out, binary_op);
322 }
std::string & cet::trim ( std::string &  source,
std::string const &  t = " " 
)
inline

Definition at line 45 of file trim.h.

References trim_left(), and trim_right().

Referenced by trim_copy().

46 {
47  return trim_right(source, t), trim_left(source, t);
48 }
std::string & trim_right(std::string &source, std::string const &t=" ")
Definition: trim.h:33
const char * source
Definition: lz4.h:436
std::string & trim_left(std::string &source, std::string const &t=" ")
Definition: trim.h:39
std::string cet::trim_copy ( std::string  source,
std::string const &  t = " " 
)
inline

Definition at line 66 of file trim.h.

References trim().

Referenced by novadaq::LocationUtils::_findFile(), dbutils::gui::_getIDFromDisplayString(), dbutils::gui::_getIDFromDisplayString2(), and novadaq::HexUtils::isValidHex().

67 {
68  return trim(source, t);
69 }
string trim(string in)
Definition: rootgINukeVal.C:65
const char * source
Definition: lz4.h:436
std::string & cet::trim_left ( std::string &  source,
std::string const &  t = " " 
)
inline

Definition at line 39 of file trim.h.

Referenced by trim(), and trim_left_copy().

40 {
41  return source.erase(0, source.find_first_not_of(t));
42 }
const char * source
Definition: lz4.h:436
std::string cet::trim_left_copy ( std::string  source,
std::string const &  t = " " 
)
inline

Definition at line 60 of file trim.h.

References trim_left().

Referenced by novadaq::LocationUtils::translateURL().

61 {
62  return trim_left(source, t);
63 }
const char * source
Definition: lz4.h:436
std::string & trim_left(std::string &source, std::string const &t=" ")
Definition: trim.h:39
std::string & cet::trim_right ( std::string &  source,
std::string const &  t = " " 
)
inline

Definition at line 33 of file trim.h.

Referenced by trim(), and trim_right_copy().

34 {
35  return source.erase(1 + source.find_last_not_of(t));
36 }
const char * source
Definition: lz4.h:436
std::string cet::trim_right_copy ( std::string  source,
std::string const &  t = " " 
)
inline

Definition at line 54 of file trim.h.

References trim_right().

Referenced by art::EndPathExecutor::process(), art::Schedule::process(), and art::EventProcessor::process_().

55 {
56  return trim_right(source, t);
57 }
std::string & trim_right(std::string &source, std::string const &t=" ")
Definition: trim.h:33
const char * source
Definition: lz4.h:436
template<class T >
std::enable_if_t< std::is_arithmetic< T >::value, T > cet::unchecked_hypot ( T  x,
T  y 
)
inline

Definition at line 33 of file hypot.h.

References hypot(), and T.

Referenced by checked_hypot().

34 {
35  return std::hypot(x, y);
36 }
std::enable_if_t< std::is_arithmetic< T >::value, T > hypot(T x, T y)
Definition: hypot.h:60
std::string cet::unescape ( std::string const &  str)

Variable Documentation

path_tag_t const cet::path_tag