#include <SiPixelGenErrorDBObject.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 16 of file SiPixelGenErrorDBObject.h.
◆ SiPixelGenErrorDBObject()
SiPixelGenErrorDBObject::SiPixelGenErrorDBObject |
( |
| ) |
|
|
inline |
◆ ~SiPixelGenErrorDBObject()
virtual SiPixelGenErrorDBObject::~SiPixelGenErrorDBObject |
( |
| ) |
|
|
inlinevirtual |
◆ fail()
bool SiPixelGenErrorDBObject::fail |
( |
| ) |
|
|
inline |
◆ getGenErrorID()
short SiPixelGenErrorDBObject::getGenErrorID |
( |
const uint32_t & |
detid | ) |
const |
|
inline |
◆ getGenErrorIDs()
const std::map<unsigned int, short>& SiPixelGenErrorDBObject::getGenErrorIDs |
( |
| ) |
const |
|
inline |
◆ incrementIndex()
void SiPixelGenErrorDBObject::incrementIndex |
( |
int |
i | ) |
|
|
inline |
◆ index()
int SiPixelGenErrorDBObject::index |
( |
| ) |
const |
|
inline |
◆ maxIndex()
int SiPixelGenErrorDBObject::maxIndex |
( |
| ) |
const |
|
inline |
◆ numOfTempl()
int SiPixelGenErrorDBObject::numOfTempl |
( |
| ) |
const |
|
inline |
◆ operator>>() [1/2]
◆ operator>>() [2/2]
◆ push_back()
void SiPixelGenErrorDBObject::push_back |
( |
float |
entry | ) |
|
|
inline |
◆ putGenErrorID()
bool SiPixelGenErrorDBObject::putGenErrorID |
( |
const uint32_t & |
detid, |
|
|
short & |
value |
|
) |
| |
|
inline |
◆ putGenErrorIDs()
void SiPixelGenErrorDBObject::putGenErrorIDs |
( |
std::map< unsigned int, short > & |
t_ID | ) |
|
|
inline |
◆ serialize()
template<class Archive >
void SiPixelGenErrorDBObject::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ setIndex()
void SiPixelGenErrorDBObject::setIndex |
( |
int |
index | ) |
|
|
inline |
◆ setInvalid()
void SiPixelGenErrorDBObject::setInvalid |
( |
void |
| ) |
|
|
inline |
◆ setMaxIndex()
void SiPixelGenErrorDBObject::setMaxIndex |
( |
int |
maxIndex | ) |
|
|
inline |
◆ setNumOfTempl()
void SiPixelGenErrorDBObject::setNumOfTempl |
( |
int |
numOfTempl | ) |
|
|
inline |
◆ setVersion()
void SiPixelGenErrorDBObject::setVersion |
( |
float |
version | ) |
|
|
inline |
◆ sVector()
std::vector<float> SiPixelGenErrorDBObject::sVector |
( |
| ) |
const |
|
inline |
◆ version()
float SiPixelGenErrorDBObject::version |
( |
| ) |
const |
|
inline |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ operator<<
-index to keep track of where we are in the object
-these are modifiable parameters for the extended GenErrors
-entries takes the number of entries in By,Bx,Fy,Fx from the object
-local indicies for loops
-changes the size of the GenErrors based on the version
Definition at line 206 of file SiPixelGenErrorDBObjectReader.cc.
210 int txsize[4] = {7, 13, 0, 0};
211 int tysize[4] = {21, 21, 0, 0};
213 int entries[4] = {0};
215 int i,
j,
k,
l,
m,
n, entry_it;
217 int sizeSetter = 1, generrorVersion = 0;
219 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
"\n\nDBobject version: " << dbobject.
version() << std::endl;
225 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" GenError version " << generrorVersion <<
" " <<
m << std::endl;
227 if (generrorVersion <= 10) {
229 <<
"*****WARNING***** This code will not format this GenError version properly *****WARNING*****\n";
231 }
else if (generrorVersion <= 16)
235 <<
"*****WARNING***** This code has not been tested at formatting this version *****WARNING*****\n";
238 <<
"\n\n*********************************************************************************************" 241 <<
"*************** Reading GenError ID " << dbobject.
sVector_[
index + 20] <<
"\t(" <<
m + 1
242 <<
"/" << dbobject.
numOfTempl_ <<
") ***************" << std::endl;
244 <<
"*********************************************************************************************\n\n" 248 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Header Title" << std::endl;
250 for (
n = 0;
n < 20; ++
n) {
260 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Header " << std::endl;
271 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" ByBxFyFx" << std::endl;
272 for (entry_it = 0; entry_it < 4; ++entry_it) {
274 for (
i = 0;
i < entries[entry_it]; ++
i) {
287 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" YPar" << std::endl;
288 for (
j = 0;
j < 2; ++
j) {
289 for (
k = 0;
k < 5; ++
k) {
296 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" YTemp" << std::endl;
297 for (
j = 0;
j < 9; ++
j) {
298 for (
k = 0;
k < tysize[sizeSetter]; ++
k) {
305 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" XPar" << std::endl;
306 for (
j = 0;
j < 2; ++
j) {
307 for (
k = 0;
k < 5; ++
k) {
314 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Xtemp" << std::endl;
315 for (
j = 0;
j < 9; ++
j) {
316 for (
k = 0;
k < txsize[sizeSetter]; ++
k) {
323 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Y average reco params " << std::endl;
324 for (
j = 0;
j < 4; ++
j) {
325 for (
k = 0;
k < 4; ++
k) {
332 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Yflar " << std::endl;
333 for (
j = 0;
j < 4; ++
j) {
334 for (
k = 0;
k < 6; ++
k) {
341 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" X average reco params" << std::endl;
342 for (
j = 0;
j < 4; ++
j) {
343 for (
k = 0;
k < 4; ++
k) {
350 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Xflar" << std::endl;
351 for (
j = 0;
j < 4; ++
j) {
352 for (
k = 0;
k < 6; ++
k) {
359 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" XY chi2" << std::endl;
360 for (
j = 0;
j < 4; ++
j) {
361 for (
k = 0;
k < 2; ++
k) {
362 for (
l = 0;
l < 2; ++
l) {
370 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Y chi2" << std::endl;
371 for (
j = 0;
j < 4; ++
j) {
372 for (
k = 0;
k < 4; ++
k) {
379 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" X chi2" << std::endl;
380 for (
j = 0;
j < 4; ++
j) {
381 for (
k = 0;
k < 4; ++
k) {
388 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Y reco params for generic" << std::endl;
389 for (
j = 0;
j < 4; ++
j) {
390 for (
k = 0;
k < 4; ++
k) {
397 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" X reco params for generic" << std::endl;
398 for (
j = 0;
j < 4; ++
j) {
399 for (
k = 0;
k < 4; ++
k) {
406 edm::LogPrint(
"SiPixelGenErrorDBObjectReader") <<
" Spare " << std::endl;
407 for (
j = 0;
j < 20; ++
j) {
410 if (
j == 9 ||
j == 19)
Log< level::Warning, true > LogPrint
std::vector< float > sVector_
◆ index_
int SiPixelGenErrorDBObject::index_ |
|
private |
◆ isInvalid_
bool SiPixelGenErrorDBObject::isInvalid_ |
|
private |
◆ maxIndex_
int SiPixelGenErrorDBObject::maxIndex_ |
|
private |
◆ numOfTempl_
int SiPixelGenErrorDBObject::numOfTempl_ |
|
private |
◆ sVector_
std::vector<float> SiPixelGenErrorDBObject::sVector_ |
|
private |
◆ templ_ID
std::map<unsigned int, short> SiPixelGenErrorDBObject::templ_ID |
|
private |
◆ version_
float SiPixelGenErrorDBObject::version_ |
|
private |