#include <SiPixelTemplateDBObject.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
Definition at line 16 of file SiPixelTemplateDBObject.h.
◆ SiPixelTemplateDBObject()
SiPixelTemplateDBObject::SiPixelTemplateDBObject |
( |
| ) |
|
|
inline |
◆ ~SiPixelTemplateDBObject()
virtual SiPixelTemplateDBObject::~SiPixelTemplateDBObject |
( |
| ) |
|
|
inlinevirtual |
◆ fail()
bool SiPixelTemplateDBObject::fail |
( |
| ) |
|
|
inline |
◆ getTemplateID()
short SiPixelTemplateDBObject::getTemplateID |
( |
const uint32_t & |
detid | ) |
const |
|
inline |
◆ getTemplateIDs()
const std::map<unsigned int, short>& SiPixelTemplateDBObject::getTemplateIDs |
( |
| ) |
const |
|
inline |
◆ incrementIndex()
void SiPixelTemplateDBObject::incrementIndex |
( |
int |
i | ) |
|
|
inline |
◆ index()
int SiPixelTemplateDBObject::index |
( |
| ) |
const |
|
inline |
◆ maxIndex()
int SiPixelTemplateDBObject::maxIndex |
( |
| ) |
const |
|
inline |
◆ numOfTempl()
int SiPixelTemplateDBObject::numOfTempl |
( |
| ) |
const |
|
inline |
◆ operator>>() [1/2]
◆ operator>>() [2/2]
◆ push_back()
void SiPixelTemplateDBObject::push_back |
( |
float |
entry | ) |
|
|
inline |
◆ putTemplateID()
bool SiPixelTemplateDBObject::putTemplateID |
( |
const uint32_t & |
detid, |
|
|
short & |
value |
|
) |
| |
|
inline |
Definition at line 120 of file SiPixelTemplateDBObject.h.
References templ_ID, and relativeConstraints::value.
121 std::map<unsigned int, short>::const_iterator
id =
templ_ID.find(detid);
124 <<
"Template ID for DetID " << detid <<
" is already stored. Skipping this put" << std::endl;
Log< level::Error, false > LogError
std::map< unsigned int, short > templ_ID
◆ putTemplateIDs()
void SiPixelTemplateDBObject::putTemplateIDs |
( |
std::map< unsigned int, short > & |
t_ID | ) |
|
|
inline |
◆ reader()
Reader SiPixelTemplateDBObject::reader |
( |
| ) |
const |
|
inline |
◆ serialize()
template<class Archive >
void SiPixelTemplateDBObject::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ setIndex()
void SiPixelTemplateDBObject::setIndex |
( |
int |
index | ) |
|
|
inline |
◆ setInvalid()
void SiPixelTemplateDBObject::setInvalid |
( |
void |
| ) |
|
|
inline |
◆ setMaxIndex()
void SiPixelTemplateDBObject::setMaxIndex |
( |
int |
maxIndex | ) |
|
|
inline |
◆ setNumOfTempl()
void SiPixelTemplateDBObject::setNumOfTempl |
( |
int |
numOfTempl | ) |
|
|
inline |
◆ setVersion()
void SiPixelTemplateDBObject::setVersion |
( |
float |
version | ) |
|
|
inline |
◆ sVector()
std::vector<float> const& SiPixelTemplateDBObject::sVector |
( |
| ) |
const |
|
inline |
◆ version()
float SiPixelTemplateDBObject::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 templates
-entries takes the number of entries in By,Bx,Fy,Fx from the object
-local indicies for loops
-changes the size of the templates based on the version
Definition at line 198 of file SiPixelTemplateDBObjectReader.cc.
202 int txsize[4] = {7, 13, 0, 0};
203 int tysize[4] = {21, 21, 0, 0};
205 int entries[4] = {0};
207 int i,
j,
k,
l,
m,
n, entry_it;
209 int sizeSetter = 0, templateVersion = 0;
211 edm::LogPrint(
"SiPixelTemplateDBObjectReader") <<
"\n\nDBobject version: " << dbobject.
version() << std::endl;
216 if (templateVersion <= 10) {
218 <<
"*****WARNING***** This code will not format this template version properly *****WARNING*****\n";
220 }
else if (templateVersion <= 16)
224 <<
"*****WARNING***** This code has not been tested at formatting this version *****WARNING*****\n";
227 <<
"\n\n*********************************************************************************************" 230 <<
"*************** Reading Template ID " << dbobject.
sVector_[
index + 20] <<
"\t(" <<
m + 1
231 <<
"/" << dbobject.
numOfTempl_ <<
") ***************" << std::endl;
233 <<
"*********************************************************************************************\n\n" 238 for (
n = 0;
n < 20; ++
n) {
258 for (entry_it = 0; entry_it < 4; ++entry_it) {
260 for (
i = 0;
i < entries[entry_it]; ++
i) {
273 for (
j = 0;
j < 2; ++
j) {
274 for (
k = 0;
k < 5; ++
k) {
281 for (
j = 0;
j < 9; ++
j) {
282 for (
k = 0;
k < tysize[sizeSetter]; ++
k) {
289 for (
j = 0;
j < 2; ++
j) {
290 for (
k = 0;
k < 5; ++
k) {
297 for (
j = 0;
j < 9; ++
j) {
298 for (
k = 0;
k < txsize[sizeSetter]; ++
k) {
305 for (
j = 0;
j < 4; ++
j) {
306 for (
k = 0;
k < 4; ++
k) {
313 for (
j = 0;
j < 4; ++
j) {
314 for (
k = 0;
k < 6; ++
k) {
321 for (
j = 0;
j < 4; ++
j) {
322 for (
k = 0;
k < 4; ++
k) {
329 for (
j = 0;
j < 4; ++
j) {
330 for (
k = 0;
k < 6; ++
k) {
337 for (
j = 0;
j < 4; ++
j) {
338 for (
k = 0;
k < 2; ++
k) {
339 for (
l = 0;
l < 2; ++
l) {
347 for (
j = 0;
j < 4; ++
j) {
348 for (
k = 0;
k < 4; ++
k) {
355 for (
j = 0;
j < 4; ++
j) {
356 for (
k = 0;
k < 4; ++
k) {
363 for (
j = 0;
j < 4; ++
j) {
364 for (
k = 0;
k < 4; ++
k) {
371 for (
j = 0;
j < 4; ++
j) {
372 for (
k = 0;
k < 4; ++
k) {
379 for (
j = 0;
j < 20; ++
j) {
382 if (
j == 9 ||
j == 19)
Log< level::Warning, true > LogPrint
std::vector< float > sVector_
if(threadIdxLocalY==0 &&threadIdxLocalX==0)
◆ index_
int SiPixelTemplateDBObject::index_ |
|
private |
◆ isInvalid_
bool SiPixelTemplateDBObject::isInvalid_ |
|
private |
◆ maxIndex_
int SiPixelTemplateDBObject::maxIndex_ |
|
private |
◆ numOfTempl_
int SiPixelTemplateDBObject::numOfTempl_ |
|
private |
◆ sVector_
std::vector<float> SiPixelTemplateDBObject::sVector_ |
|
private |
◆ templ_ID
std::map<unsigned int, short> SiPixelTemplateDBObject::templ_ID |
|
private |
◆ version_
float SiPixelTemplateDBObject::version_ |
|
private |