Jpp
|
Detector integration. More...
#include <JDetectorIntegration.hh>
Public Types | |
typedef std::multimap< JUPI, int > | map_type |
typedef std::pair< map_type::const_iterator, map_type::const_iterator > | range_type |
typedef map_type::const_iterator | range_const_iterator |
typedef map_type::const_iterator | range_iterator |
typedef std::vector< JProductIntegration_t > | data_type |
typedef data_type::const_iterator | const_iterator |
typedef data_type::iterator | iterator |
typedef data_type::const_reverse_iterator | const_reverse_iterator |
typedef data_type::reverse_iterator | reverse_iterator |
Public Member Functions | |
JDetectorIntegration () | |
Default constructor. More... | |
const_iterator | begin () const |
begin of integration data More... | |
const_iterator | end () const |
end of integration data More... | |
const_reverse_iterator | rbegin () const |
reverse begin of integration data More... | |
const_reverse_iterator | rend () const |
reverse end of integration data More... | |
bool | empty () const |
check emptyness of integration data More... | |
size_t | size () const |
size of integration data More... | |
const JProductIntegration_t & | operator[] (const int index) const |
Get product at given index. More... | |
void | configure (const std::string &detid) |
Configure detector integration for given detector identifier. More... | |
const JProductIntegration_t & | trace (const JUPI &upi, const JPBS &pbs=PBS::DETECTOR) const |
Trace product up to given integration level. More... | |
void | print (std::ostream &out, const JUPI &upi) const |
Print product trace. More... | |
void | print (std::ostream &out, const JProductIntegration_t &product) const |
Print product trace. More... | |
int | find (const JUPI &upi) const |
Find index of unique product with given UPI. More... | |
range_type | find (const JPBS &pbs) const |
Find range of products with given PBS. More... | |
Static Public Member Functions | |
static const char *const | getName () |
Table name. More... | |
Protected Member Functions | |
void | configure (JProductIntegration_t &product, const JPeriod_t &period) |
Configure detector integration for given detector identifier. More... | |
Protected Attributes | |
data_type | data |
integration data More... | |
map_type | up |
up link UPI to integration data More... | |
map_type | down |
down link UPI to integration data More... | |
Friends | |
bool | operator>> (ResultSet &rs, JDetectorIntegration &detector) |
Read detector integration from result set. More... | |
std::ostream & | operator<< (std::ostream &out, const JDetectorIntegration &object) |
Write detector integration to output stream. More... | |
Detector integration.
This class is used
Definition at line 294 of file JDetectorIntegration.hh.
typedef std::multimap<JUPI, int> JDATABASE::JDetectorIntegration::map_type |
Definition at line 299 of file JDetectorIntegration.hh.
typedef std::pair<map_type::const_iterator, map_type::const_iterator> JDATABASE::JDetectorIntegration::range_type |
Definition at line 301 of file JDetectorIntegration.hh.
typedef map_type::const_iterator JDATABASE::JDetectorIntegration::range_const_iterator |
Definition at line 302 of file JDetectorIntegration.hh.
typedef map_type::const_iterator JDATABASE::JDetectorIntegration::range_iterator |
Definition at line 303 of file JDetectorIntegration.hh.
Definition at line 305 of file JDetectorIntegration.hh.
typedef data_type::const_iterator JDATABASE::JDetectorIntegration::const_iterator |
Definition at line 306 of file JDetectorIntegration.hh.
typedef data_type::iterator JDATABASE::JDetectorIntegration::iterator |
Definition at line 307 of file JDetectorIntegration.hh.
typedef data_type::const_reverse_iterator JDATABASE::JDetectorIntegration::const_reverse_iterator |
Definition at line 308 of file JDetectorIntegration.hh.
typedef data_type::reverse_iterator JDATABASE::JDetectorIntegration::reverse_iterator |
Definition at line 309 of file JDetectorIntegration.hh.
|
inline |
|
inlinestatic |
Table name.
Definition at line 296 of file JDetectorIntegration.hh.
|
inline |
begin of integration data
Definition at line 319 of file JDetectorIntegration.hh.
|
inline |
end of integration data
Definition at line 320 of file JDetectorIntegration.hh.
|
inline |
reverse begin of integration data
Definition at line 321 of file JDetectorIntegration.hh.
|
inline |
reverse end of integration data
Definition at line 322 of file JDetectorIntegration.hh.
|
inline |
check emptyness of integration data
Definition at line 324 of file JDetectorIntegration.hh.
|
inline |
size of integration data
Definition at line 325 of file JDetectorIntegration.hh.
|
inline |
Get product at given index.
index | index |
Definition at line 334 of file JDetectorIntegration.hh.
|
inline |
Configure detector integration for given detector identifier.
The components of the given detector are selected based on the following rules:
detid | detector identifier |
Definition at line 350 of file JDetectorIntegration.hh.
|
inline |
Trace product up to given integration level.
upi | UPI |
pbs | PBS |
Definition at line 397 of file JDetectorIntegration.hh.
|
inline |
Print product trace.
out | output stream |
upi | UPI |
Definition at line 431 of file JDetectorIntegration.hh.
|
inline |
Print product trace.
out | output stream |
product | product |
Definition at line 458 of file JDetectorIntegration.hh.
|
inline |
Find index of unique product with given UPI.
This method can only be used after method JDetectorIntegration::configure.
upi | UPI |
Definition at line 522 of file JDetectorIntegration.hh.
|
inline |
Find range of products with given PBS.
The returned range correspond to the usual begin and end iterators, each pointing to an STL pair consisting of a UPI and index.
pbs | PBS |
Definition at line 548 of file JDetectorIntegration.hh.
|
inlineprotected |
Configure detector integration for given detector identifier.
This method sets the status all related products.
product | product |
period | validity period |
Definition at line 568 of file JDetectorIntegration.hh.
|
friend |
Read detector integration from result set.
rs | result set |
detector | detector |
Definition at line 480 of file JDetectorIntegration.hh.
|
friend |
Write detector integration to output stream.
out | output stream |
object | detector integration |
Definition at line 505 of file JDetectorIntegration.hh.
|
protected |
integration data
Definition at line 608 of file JDetectorIntegration.hh.
|
protected |
up link UPI to integration data
Definition at line 609 of file JDetectorIntegration.hh.
|
protected |
down link UPI to integration data
Definition at line 610 of file JDetectorIntegration.hh.