CMS 3D CMS Logo

Classes | Functions
boost::serialization Namespace Reference

Classes

struct  version< HcalItemArrayColl< Item, N > >
 
struct  version< HcalItemArrayCollById< Item, N > >
 
struct  version< HcalItemColl< Item > >
 
struct  version< HcalItemCollById< Item > >
 
struct  version< InterpolatedPulse< MaxLen > >
 

Functions

template<class Archive >
void load (Archive &ar, edm::Timestamp &obj, const unsigned int)
 
template<class Archive >
void load (Archive &ar, DetId &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 trigger::HLTPrescaleTable &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 CLHEP::Hep3Vector &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 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 >
void serialize (Archive &ar, EBDetId &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, EEDetId &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, 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,
edm::Timestamp obj,
const unsigned  int 
)

Definition at line 36 of file Timestamp.h.

References edm::Timestamp::value().

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

Definition at line 37 of file DetID.h.

References DetId::rawId().

38 {
39  decltype(obj.rawId()) id_;
40  ar & BOOST_SERIALIZATION_NVP(id_);
41  obj = DetId(id_);
42 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
Definition: DetId.h:18
template<class Archive >
void boost::serialization::load ( Archive &  ar,
trigger::HLTPrescaleTable obj,
const unsigned  int 
)

Definition at line 40 of file HLTPrescaleTable.h.

References table_, and tmp.

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

Definition at line 41 of file CLHEP.h.

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

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

Definition at line 44 of file PixelFEDChannel.h.

References tmp.

45  {
46  unsigned int fed_;
47  unsigned int link_;
48  unsigned int roc_first_;
49  unsigned int roc_last_;
50 
51  ar & boost::serialization::make_nvp("fed_" , fed_ );
52  ar & boost::serialization::make_nvp("link_" , link_ );
53  ar & boost::serialization::make_nvp("roc_first_" , roc_first_ );
54  ar & boost::serialization::make_nvp("roc_last_" , roc_last_ );
55  PixelFEDChannel tmp{fed_, link_, roc_first_, roc_last_};
56  obj = tmp;
57 
58  }
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
template<class Archive , typename DetIdT , typename T >
void boost::serialization::load ( Archive &  ar,
EcalContainer< DetIdT, T > &  obj,
const unsigned  int 
)

Definition at line 55 of file EcalDetID.h.

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

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

Definition at line 72 of file CLHEP.h.

73 {
74  decltype(obj.phi()) phi_;
75  decltype(obj.theta()) theta_;
76  decltype(obj.psi()) psi_;
77  ar & BOOST_SERIALIZATION_NVP(phi_);
78  ar & BOOST_SERIALIZATION_NVP(theta_);
79  ar & BOOST_SERIALIZATION_NVP(psi_);
80  obj.set(phi_, theta_, psi_);
81 }
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().

30 {
31  auto set = obj.set();
32  auto lab = obj.labels();
33  auto tab = obj.table();
34  ar & boost::serialization::make_nvp("set_" , set );
35  ar & boost::serialization::make_nvp("labels_", lab );
36  ar & boost::serialization::make_nvp("table_" , tab );
37 }
unsigned int set() const
low-level const accessors for data members
const std::map< std::string, std::vector< unsigned int > > & table() const
const std::vector< std::string > & labels() const
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().

30 {
31  auto time_ = obj.value();
32  ar & BOOST_SERIALIZATION_NVP(time_);
33 }
TimeValue_t value() const
Definition: Timestamp.h:56
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.

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

Definition at line 30 of file DetID.h.

References DetId::rawId().

31 {
32  auto id_ = obj.rawId();
33  ar & BOOST_SERIALIZATION_NVP(id_);
34 }
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
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, PixelFEDChannel::roc_first, and PixelFEDChannel::roc_last.

32  {
33  auto fed = obj.fed;
34  auto link = obj.link;
35  auto roc_first = obj.roc_first;
36  auto roc_last = obj.roc_last;
37  ar & boost::serialization::make_nvp("fed_" , fed );
38  ar & boost::serialization::make_nvp("link_" , link );
39  ar & boost::serialization::make_nvp("roc_first_" , roc_first );
40  ar & boost::serialization::make_nvp("roc_last_" , roc_last );
41  }
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 49 of file EcalDetID.h.

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

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

Definition at line 61 of file CLHEP.h.

62 {
63  auto phi_ = obj.phi();
64  auto theta_ = obj.theta();
65  auto psi_ = obj.psi();
66  ar & BOOST_SERIALIZATION_NVP(phi_);
67  ar & BOOST_SERIALIZATION_NVP(theta_);
68  ar & BOOST_SERIALIZATION_NVP(psi_);
69 }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
L1GtLogicParser::TokenRPN obj,
const unsigned  int 
)

Definition at line 30 of file L1GtLogicParser.h.

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

31 {
32  ar & boost::serialization::make_nvp("operation", obj.operation);
33  ar & boost::serialization::make_nvp("operand", obj.operand);
34 }
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 30 of file SMatrix.h.

References mps_fire::i.

31 {
32  unsigned int i = 0;
33  for (auto & value : obj) {
34  ar & boost::serialization::make_nvp(std::to_string(i).c_str(), value);
35  ++i;
36  }
37 }
Definition: value.py:1
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
EBDetId obj,
const unsigned  int 
)

Definition at line 34 of file EcalDetID.h.

35 {
36  ar & boost::serialization::make_nvp("DetId", boost::serialization::base_object<DetId>(obj));;
37 }
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 35 of file FFTJet.h.

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

Definition at line 41 of file EcalDetID.h.

42 {
43  ar & boost::serialization::make_nvp("DetId", boost::serialization::base_object<DetId>(obj));;
44 }
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 42 of file FFTJet.h.

43 {
44  throw std::runtime_error("Unimplemented serialization code.");
45 }
template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
edm::Timestamp obj,
const unsigned int  v 
)

Definition at line 44 of file Timestamp.h.

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

Definition at line 45 of file DetID.h.

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

Definition at line 53 of file CLHEP.h.

template<class Archive >
void boost::serialization::serialize ( Archive &  ar,
trigger::HLTPrescaleTable obj,
const unsigned int  v 
)

Definition at line 56 of file HLTPrescaleTable.h.

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

Definition at line 61 of file PixelFEDChannel.h.

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

Definition at line 64 of file EcalDetID.h.

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

Definition at line 84 of file CLHEP.h.