CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
boost::serialization Namespace Reference

Classes

struct  version< HcalItemColl< Item > >
 
struct  version< HcalItemCollById< Item > >
 
struct  version< InterpolatedPulse< MaxLen > >
 

Functions

template<class Archive >
void load (Archive &ar, DetId &obj, const unsigned int)
 
template<class Archive >
void load (Archive &ar, edm::Timestamp &obj, const unsigned int)
 
template<class Archive >
void load (Archive &ar, trigger::HLTPrescaleTable &obj, const unsigned int)
 
template<class Archive >
void load (Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int)
 
template<class Archive >
void load (Archive &ar, PixelFEDChannel &obj, const unsigned int)
 
template<class Archive , typename DetIdT , typename T >
void load (Archive &ar, EcalContainer< DetIdT, T > &obj, const unsigned int)
 
template<class Archive >
void load (Archive &ar, CLHEP::HepEulerAngles &obj, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const edm::Timestamp &obj, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const DetId &obj, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const trigger::HLTPrescaleTable &obj, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const CLHEP::Hep3Vector &obj, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const PixelFEDChannel &obj, const unsigned int)
 
template<class Archive , typename DetIdT , typename T >
void save (Archive &ar, const EcalContainer< DetIdT, T > &obj, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const CLHEP::HepEulerAngles &obj, const unsigned int)
 
template<class Archive >
void serialize (Archive &ar, L1GtLogicParser::TokenRPN &obj, const unsigned int)
 
template<class Archive , typename T , unsigned int D1, unsigned int D2, class R >
void serialize (Archive &ar, ROOT::Math::SMatrix< T, D1, D2, R > &obj, const unsigned int)
 
template<class Archive , class Jet , template< class > class InitialConverter, template< class > class FinalConverter>
void serialize (Archive &ar, FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter > &obj, const unsigned int)
 
template<class Archive >
void serialize (Archive &ar, EBDetId &obj, const unsigned int)
 
template<class Archive , class Key , class T , class Compare , class Allocator >
void serialize (Archive &ar, FFTJetDict< Key, T, Compare, Allocator > &obj, const unsigned int)
 
template<class Archive >
void serialize (Archive &ar, EEDetId &obj, const unsigned int)
 
template<class Archive >
void serialize (Archive &ar, edm::Timestamp &obj, const unsigned int v)
 
template<class Archive >
void serialize (Archive &ar, DetId &obj, const unsigned int v)
 
template<class Archive >
void serialize (Archive &ar, CLHEP::Hep3Vector &obj, const unsigned int v)
 
template<class Archive >
void serialize (Archive &ar, trigger::HLTPrescaleTable &obj, const unsigned int v)
 
template<class Archive >
void serialize (Archive &ar, PixelFEDChannel &obj, const unsigned int v)
 
template<class Archive , typename DetIdT , typename T >
void serialize (Archive &ar, EcalContainer< DetIdT, T > &obj, const unsigned int v)
 
template<class Archive >
void serialize (Archive &ar, CLHEP::HepEulerAngles &obj, const unsigned int v)
 

Function Documentation

template<class Archive >
void boost::serialization::load ( Archive &  ar,
DetId obj,
const unsigned  int 
)

Definition at line 35 of file DetID.h.

References DetId::rawId().

35  {
36  decltype(obj.rawId()) id_;
37  ar& BOOST_SERIALIZATION_NVP(id_);
38  obj = DetId(id_);
39  }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
Definition: DetId.h:17
template<class Archive >
void boost::serialization::load ( Archive &  ar,
edm::Timestamp obj,
const unsigned  int 
)

Definition at line 35 of file Timestamp.h.

References edm::Timestamp::value().

35  {
36  decltype(obj.value()) time_;
37  ar& BOOST_SERIALIZATION_NVP(time_);
38  obj = edm::Timestamp(time_);
39  }
TimeValue_t value() const
Definition: Timestamp.h:45
template<class Archive >
void boost::serialization::load ( Archive &  ar,
trigger::HLTPrescaleTable obj,
const unsigned  int 
)

Definition at line 39 of file HLTPrescaleTable.h.

References table_, and createJobs::tmp.

39  {
40  // FIXME: avoid copying if we are OK getting a non-const reference
41  unsigned int set_;
42  std::vector<std::string> labels_;
43  std::map<std::string, std::vector<unsigned int> > table_;
44 
45  ar& boost::serialization::make_nvp("set_", set_);
46  ar& boost::serialization::make_nvp("labels_", labels_);
47  ar& boost::serialization::make_nvp("table_", table_);
48  trigger::HLTPrescaleTable tmp(set_, labels_, table_);
49  obj = tmp;
50  }
The single EDProduct containing the HLT Prescale Table.
Table table_
tmp
align.sh
Definition: createJobs.py:716
template<class Archive >
void boost::serialization::load ( Archive &  ar,
CLHEP::Hep3Vector &  obj,
const unsigned  int 
)

Definition at line 40 of file CLHEP.h.

References PVValHelper::dx, PVValHelper::dy, and PVValHelper::dz.

40  {
41  decltype(obj.x()) dx;
42  decltype(obj.y()) dy;
43  decltype(obj.z()) dz;
44  ar& BOOST_SERIALIZATION_NVP(dx);
45  ar& BOOST_SERIALIZATION_NVP(dy);
46  ar& BOOST_SERIALIZATION_NVP(dz);
47  obj.set(dx, dy, dz);
48  }
template<class Archive >
void boost::serialization::load ( Archive &  ar,
PixelFEDChannel obj,
const unsigned  int 
)

Definition at line 43 of file PixelFEDChannel.h.

References createJobs::tmp.

43  {
44  unsigned int fed_;
45  unsigned int link_;
46  unsigned int roc_first_;
47  unsigned int roc_last_;
48 
49  ar& boost::serialization::make_nvp("fed_", fed_);
50  ar& boost::serialization::make_nvp("link_", link_);
51  ar& boost::serialization::make_nvp("roc_first_", roc_first_);
52  ar& boost::serialization::make_nvp("roc_last_", roc_last_);
53  PixelFEDChannel tmp{fed_, link_, roc_first_, roc_last_};
54  obj = tmp;
55  }
tmp
align.sh
Definition: createJobs.py:716
template<class Archive , typename DetIdT , typename T >
void boost::serialization::load ( Archive &  ar,
EcalContainer< DetIdT, T > &  obj,
const unsigned  int 
)

Definition at line 53 of file EcalDetID.h.

References EcalContainer< DetId, T >::setItems().

53  {
54  // FIXME: avoid copying if we are OK getting a non-const reference
55  typename EcalContainer<DetIdT, T>::Items m_items;
56  ar& boost::serialization::make_nvp("m_items", m_items);
57  obj.setItems(m_items);
58  }
void setItems(const std::vector< Item > &items)
Definition: EcalContainer.h:86
std::vector< Item > Items
Definition: EcalContainer.h:21
template<class Archive >
void boost::serialization::load ( Archive &  ar,
CLHEP::HepEulerAngles &  obj,
const unsigned  int 
)

Definition at line 67 of file CLHEP.h.

67  {
68  decltype(obj.phi()) phi_;
69  decltype(obj.theta()) theta_;
70  decltype(obj.psi()) psi_;
71  ar& BOOST_SERIALIZATION_NVP(phi_);
72  ar& BOOST_SERIALIZATION_NVP(theta_);
73  ar& BOOST_SERIALIZATION_NVP(psi_);
74  obj.set(phi_, theta_, psi_);
75  }
template<class Archive >
void boost::serialization::save ( Archive &  ar,
const edm::Timestamp obj,
const unsigned  int 
)

Definition at line 29 of file Timestamp.h.

References edm::Timestamp::value().

29  {
30  auto time_ = obj.value();
31  ar& BOOST_SERIALIZATION_NVP(time_);
32  }
TimeValue_t value() const
Definition: Timestamp.h:45
template<class Archive >
void boost::serialization::save ( Archive &  ar,
const DetId obj,
const unsigned  int 
)

Definition at line 29 of file DetID.h.

References DetId::rawId().

29  {
30  auto id_ = obj.rawId();
31  ar& BOOST_SERIALIZATION_NVP(id_);
32  }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
template<class Archive >
void boost::serialization::save ( Archive &  ar,
const trigger::HLTPrescaleTable obj,
const unsigned  int 
)

Definition at line 29 of file HLTPrescaleTable.h.

References trigger::HLTPrescaleTable::labels(), trigger::HLTPrescaleTable::set(), and trigger::HLTPrescaleTable::table().

29  {
30  auto set = obj.set();
31  auto lab = obj.labels();
32  auto tab = obj.table();
33  ar& boost::serialization::make_nvp("set_", set);
34  ar& boost::serialization::make_nvp("labels_", lab);
35  ar& boost::serialization::make_nvp("table_", tab);
36  }
unsigned int set() const
low-level const accessors for data members
const std::vector< std::string > & labels() const
const std::map< std::string, std::vector< unsigned int > > & table() const
template<class Archive >
void boost::serialization::save ( Archive &  ar,
const CLHEP::Hep3Vector &  obj,
const unsigned  int 
)

Definition at line 30 of file CLHEP.h.

References PVValHelper::dx, PVValHelper::dy, and PVValHelper::dz.

30  {
31  auto dx = obj.x();
32  auto dy = obj.y();
33  auto dz = obj.z();
34  ar& BOOST_SERIALIZATION_NVP(dx);
35  ar& BOOST_SERIALIZATION_NVP(dy);
36  ar& BOOST_SERIALIZATION_NVP(dz);
37  }
template<class Archive >
void boost::serialization::save ( Archive &  ar,
const PixelFEDChannel obj,
const unsigned  int 
)

Definition at line 31 of file PixelFEDChannel.h.

References PixelFEDChannel::fed, PixelFEDChannel::link, MainPageGenerator::link, PixelFEDChannel::roc_first, and PixelFEDChannel::roc_last.

31  {
32  auto fed = obj.fed;
33  auto link = obj.link;
34  auto roc_first = obj.roc_first;
35  auto roc_last = obj.roc_last;
36  ar& boost::serialization::make_nvp("fed_", fed);
37  ar& boost::serialization::make_nvp("link_", link);
38  ar& boost::serialization::make_nvp("roc_first_", roc_first);
39  ar& boost::serialization::make_nvp("roc_last_", roc_last);
40  }
unsigned int fed
unsigned int link
unsigned int roc_last
unsigned int roc_first
template<class Archive , typename DetIdT , typename T >
void boost::serialization::save ( Archive &  ar,
const EcalContainer< DetIdT, T > &  obj,
const unsigned  int 
)

Definition at line 48 of file EcalDetID.h.

References EcalContainer< DetId, T >::items().

48  {
49  ar& boost::serialization::make_nvp("m_items", obj.items());
50  }
const Items & items() const
Definition: EcalContainer.h:36
template<class Archive >
void boost::serialization::save ( Archive &  ar,
const CLHEP::HepEulerAngles &  obj,
const unsigned  int 
)

Definition at line 57 of file CLHEP.h.

57  {
58  auto phi_ = obj.phi();
59  auto theta_ = obj.theta();
60  auto psi_ = obj.psi();
61  ar& BOOST_SERIALIZATION_NVP(phi_);
62  ar& BOOST_SERIALIZATION_NVP(theta_);
63  ar& BOOST_SERIALIZATION_NVP(psi_);
64  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
L1GtLogicParser::TokenRPN obj,
const unsigned  int 
)

Definition at line 29 of file L1GtLogicParser.h.

References L1GtLogicParser::TokenRPN::operand, and L1GtLogicParser::TokenRPN::operation.

29  {
30  ar& boost::serialization::make_nvp("operation", obj.operation);
31  ar& boost::serialization::make_nvp("operand", obj.operand);
32  }
template<class Archive , typename T , unsigned int D1, unsigned int D2, class R >
void boost::serialization::serialize ( Archive &  ar,
ROOT::Math::SMatrix< T, D1, D2, R > &  obj,
const unsigned  int 
)

Definition at line 29 of file SMatrix.h.

References mps_fire::i, cond::impl::to_string(), and relativeConstraints::value.

29  {
30  unsigned int i = 0;
31  for (auto& value : obj) {
32  ar& boost::serialization::make_nvp(std::to_string(i).c_str(), value);
33  ++i;
34  }
35  }
std::string to_string(const V &value)
Definition: OMSAccess.h:71
template<class Archive , class Jet , template< class > class InitialConverter, template< class > class FinalConverter>
void boost::serialization::serialize ( Archive &  ar,
FFTJetCorrectorSequence< Jet, InitialConverter, FinalConverter > &  obj,
const unsigned  int 
)

Definition at line 32 of file FFTJet.h.

34  {
35  throw std::runtime_error("Unimplemented serialization code.");
36  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
EBDetId obj,
const unsigned  int 
)

Definition at line 34 of file EcalDetID.h.

34  {
35  ar& boost::serialization::make_nvp("DetId", boost::serialization::base_object<DetId>(obj));
36  ;
37  }
template<class Archive , class Key , class T , class Compare , class Allocator >
void boost::serialization::serialize ( Archive &  ar,
FFTJetDict< Key, T, Compare, Allocator > &  obj,
const unsigned  int 
)

Definition at line 40 of file FFTJet.h.

40  {
41  throw std::runtime_error("Unimplemented serialization code.");
42  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
EEDetId obj,
const unsigned  int 
)

Definition at line 41 of file EcalDetID.h.

41  {
42  ar& boost::serialization::make_nvp("DetId", boost::serialization::base_object<DetId>(obj));
43  ;
44  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
edm::Timestamp obj,
const unsigned int  v 
)

Definition at line 42 of file Timestamp.h.

42  {
43  split_free(ar, obj, v);
44  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
DetId obj,
const unsigned int  v 
)

Definition at line 42 of file DetID.h.

42  {
43  split_free(ar, obj, v);
44  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
CLHEP::Hep3Vector &  obj,
const unsigned int  v 
)

Definition at line 51 of file CLHEP.h.

51  {
52  split_free(ar, obj, v);
53  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
trigger::HLTPrescaleTable obj,
const unsigned int  v 
)

Definition at line 53 of file HLTPrescaleTable.h.

53  {
54  split_free(ar, obj, v);
55  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
PixelFEDChannel obj,
const unsigned int  v 
)

Definition at line 58 of file PixelFEDChannel.h.

58  {
59  split_free(ar, obj, v);
60  }
template<class Archive , typename DetIdT , typename T >
void boost::serialization::serialize ( Archive &  ar,
EcalContainer< DetIdT, T > &  obj,
const unsigned int  v 
)

Definition at line 61 of file EcalDetID.h.

61  {
62  split_free(ar, obj, v);
63  }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
CLHEP::HepEulerAngles &  obj,
const unsigned int  v 
)

Definition at line 78 of file CLHEP.h.

78  {
79  split_free(ar, obj, v);
80  }