| 
    Jpp
    
   | 
 
Detector integration. More...
#include <JDetectorIntegration_t.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_t () | |
| 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_t &detector) | 
| Read detector integration from result set.  More... | |
| std::ostream & | operator<< (std::ostream &out, const JDetectorIntegration_t &object) | 
| Write detector integration to output stream.  More... | |
Detector integration.
This class is used
Definition at line 180 of file JDetectorIntegration_t.hh.
| typedef std::multimap<JUPI, int> JDATABASE::JDetectorIntegration_t::map_type | 
Definition at line 185 of file JDetectorIntegration_t.hh.
| typedef std::pair<map_type::const_iterator, map_type::const_iterator> JDATABASE::JDetectorIntegration_t::range_type | 
Definition at line 187 of file JDetectorIntegration_t.hh.
| typedef map_type::const_iterator JDATABASE::JDetectorIntegration_t::range_const_iterator | 
Definition at line 188 of file JDetectorIntegration_t.hh.
| typedef map_type::const_iterator JDATABASE::JDetectorIntegration_t::range_iterator | 
Definition at line 189 of file JDetectorIntegration_t.hh.
Definition at line 191 of file JDetectorIntegration_t.hh.
| typedef data_type::const_iterator JDATABASE::JDetectorIntegration_t::const_iterator | 
Definition at line 192 of file JDetectorIntegration_t.hh.
| typedef data_type::iterator JDATABASE::JDetectorIntegration_t::iterator | 
Definition at line 193 of file JDetectorIntegration_t.hh.
| typedef data_type::const_reverse_iterator JDATABASE::JDetectorIntegration_t::const_reverse_iterator | 
Definition at line 194 of file JDetectorIntegration_t.hh.
| typedef data_type::reverse_iterator JDATABASE::JDetectorIntegration_t::reverse_iterator | 
Definition at line 195 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
      
  | 
  inlinestatic | 
Table name.
Definition at line 182 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
begin of integration data
Definition at line 205 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
end of integration data
Definition at line 206 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
reverse begin of integration data
Definition at line 207 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
reverse end of integration data
Definition at line 208 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
check emptyness of integration data
Definition at line 210 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
size of integration data
Definition at line 211 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
Get product at given index.
| index | index | 
Definition at line 220 of file JDetectorIntegration_t.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 236 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
Trace product up to given integration level.
| upi | UPI | 
| pbs | PBS | 
Definition at line 283 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
Print product trace.
| out | output stream | 
| upi | UPI | 
Definition at line 317 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
Print product trace.
| out | output stream | 
| product | product | 
Definition at line 344 of file JDetectorIntegration_t.hh.
      
  | 
  inline | 
Find index of unique product with given UPI.
This method can only be used after method JDetectorIntegration_t::configure.
| upi | UPI | 
Definition at line 408 of file JDetectorIntegration_t.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 434 of file JDetectorIntegration_t.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 454 of file JDetectorIntegration_t.hh.
      
  | 
  friend | 
Read detector integration from result set.
| rs | result set | 
| detector | detector | 
Definition at line 366 of file JDetectorIntegration_t.hh.
      
  | 
  friend | 
Write detector integration to output stream.
| out | output stream | 
| object | detector integration | 
Definition at line 391 of file JDetectorIntegration_t.hh.
      
  | 
  protected | 
integration data
Definition at line 494 of file JDetectorIntegration_t.hh.
      
  | 
  protected | 
up link UPI to integration data
Definition at line 495 of file JDetectorIntegration_t.hh.
      
  | 
  protected | 
down link UPI to integration data
Definition at line 496 of file JDetectorIntegration_t.hh.
 1.8.5