| 
    Jpp
    
   | 
 
Auxiliary class to map UPI to location in detector. More...
#include <JProductRouter.hh>
Public Member Functions | |
| JProductRouter (const JDetectorIntegration_t &detector) | |
| Constructor.  More... | |
| JLocation_t | getLocation (const JUPI &upi) const | 
| Get location of product with given UPI.  More... | |
| JUPI | getUPI (const JLocation_t &location) const | 
| Get UPI of product with given location.  More... | |
Private Member Functions | |
| bool | insert (const JDetectorIntegration_t &detector, const JProductIntegration_t &product, const std::vector< JPBS > &pbs) | 
| Insert product.  More... | |
Private Attributes | |
| std::map< JUPI, JLocation_t > | map | 
| std::map< JLocation_t, JUPI > | inverse_map | 
Auxiliary class to map UPI to location in detector.
Definition at line 107 of file JProductRouter.hh.
      
  | 
  inline | 
Constructor.
| detector | detector integration | 
Definition at line 117 of file JProductRouter.hh.
      
  | 
  inline | 
Get location of product with given UPI.
Note that only for products inside a string, a valid location is returned, otherwise, the default location is returned.
| upi | UPI | 
Definition at line 147 of file JProductRouter.hh.
      
  | 
  inline | 
Get UPI of product with given location.
Note that only for products inside a string, a valid location is returned, otherwise, the default location is returned.
| location | location | 
Definition at line 167 of file JProductRouter.hh.
      
  | 
  inlineprivate | 
Insert product.
Note that given PBS hierarchy should contain at least three levels and normally terminate with detection unit and detector.
| detector | detector integration | 
| product | product | 
| pbs | PBS hierarchy | 
Definition at line 190 of file JProductRouter.hh.
      
  | 
  private | 
Definition at line 213 of file JProductRouter.hh.
      
  | 
  private | 
Definition at line 214 of file JProductRouter.hh.
 1.8.5