|
Class Reference for E1039 Core & Analysis Software
|
Class to hold a non-ordered set (i.e. map) of roads. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-analysis/GenRoadset/src/RoadMap.h>
Inheritance diagram for RoadMap:
Collaboration diagram for RoadMap:Public Types | |
| typedef InfoMap::iterator | Iter |
| typedef InfoMap::const_iterator | ConstIter |
Public Member Functions | |
| RoadMap () | |
| virtual | ~RoadMap () |
| int | Size () const |
| ConstIter | Begin () const |
| ConstIter | End () const |
| Iter | Begin () |
| Iter | End () |
| RoadInfo * | Find (const int road) const |
| bool | Contain (const RoadMap *map) const |
| bool | ContainEnabled (const RoadMap *map) const |
| void | Add (const int road, const double weight, const int count=1) |
| void | Add (const RoadInfo *info) |
| void | Add (const RoadMap *map) |
| void | Scale (const double val) |
| void | AddBG (const int road, const double weight, const int count=1) |
| void | AddBG (const RoadInfo *info) |
| void | AddBG (const RoadMap *map) |
| void | ScaleBG (const double val) |
Public Member Functions inherited from RoadListBase | |
| virtual | ~RoadListBase () |
| void | SetPNTB (const int pn, const int tb) |
| void | SetPosNeg (const int pn) |
| void | SetTopBot (const int tb) |
| int | GetPosNeg () const |
| int | GetTopBot () const |
| std::string | GetPosNegStr () const |
| std::string | GetTopBotStr () const |
| void | Frozen () |
| bool | IsFrozen () |
Additional Inherited Members | |
Protected Member Functions inherited from RoadListBase | |
| RoadListBase () | |
Protected Attributes inherited from RoadListBase | |
| int | m_pn |
| int | m_tb |
| bool | m_frozen |
| typedef InfoMap::const_iterator RoadMap::ConstIter |
| typedef InfoMap::iterator RoadMap::Iter |
| RoadMap::RoadMap | ( | ) |
Definition at line 8 of file RoadMap.cc.
|
virtual |
Definition at line 13 of file RoadMap.cc.
| void RoadMap::Add | ( | const int | road, |
| const double | weight, | ||
| const int | count = 1 |
||
| ) |
Definition at line 43 of file RoadMap.cc.
References RoadInfo::Add().
Referenced by AnaSignal::ProcessOneEvent(), and UtilRoad::ReadFromFile().
Here is the call graph for this function:
Here is the caller graph for this function:| void RoadMap::Add | ( | const RoadInfo * | info | ) |
Definition at line 54 of file RoadMap.cc.
References RoadInfo::GetCount(), RoadInfo::GetRoadID(), and RoadInfo::GetWeight().
Here is the call graph for this function:| void RoadMap::Add | ( | const RoadMap * | map | ) |
Definition at line 59 of file RoadMap.cc.
References Begin(), and End().
Here is the call graph for this function:| void RoadMap::AddBG | ( | const int | road, |
| const double | weight, | ||
| const int | count = 1 |
||
| ) |
Definition at line 69 of file RoadMap.cc.
References RoadInfo::AddBG().
Referenced by AnaBG::FindAllRoads(), AnaBG::ProcessOneEvent(), and ReAnaBG::ProcessOneEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| void RoadMap::AddBG | ( | const RoadInfo * | info | ) |
Definition at line 80 of file RoadMap.cc.
References RoadInfo::GetCountBG(), RoadInfo::GetRoadID(), and RoadInfo::GetWeightBG().
Here is the call graph for this function:| void RoadMap::AddBG | ( | const RoadMap * | map | ) |
Definition at line 85 of file RoadMap.cc.
References Begin(), and End().
Here is the call graph for this function:
|
inline |
Definition at line 20 of file RoadMap.h.
Referenced by Add(), RoadList::Add(), AddBG(), AnaBG::Analyze(), Contain(), ContainEnabled(), DrawRoadset::DrawOneSet(), and AnaBG::ProcessOneEvent().
Here is the caller graph for this function:| bool RoadMap::Contain | ( | const RoadMap * | map | ) | const |
Definition at line 26 of file RoadMap.cc.
References Begin(), and End().
Referenced by AnaBG::ProcessOneEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| bool RoadMap::ContainEnabled | ( | const RoadMap * | map | ) | const |
Definition at line 34 of file RoadMap.cc.
References Begin(), and End().
Referenced by ReAnaBG::ProcessOneEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 21 of file RoadMap.h.
Referenced by Add(), RoadList::Add(), AddBG(), AnaBG::Analyze(), Contain(), ContainEnabled(), DrawRoadset::DrawOneSet(), AnaBG::ProcessOneEvent(), and UtilRoad::WriteToFile().
Here is the caller graph for this function:| RoadInfo * RoadMap::Find | ( | const int | road | ) | const |
Definition at line 21 of file RoadMap.cc.
Referenced by GenRoadset::GenerateSymmetricRoadSetByFoM(), AnaBG::ProcessOneEvent(), and ReAnaSignal::ProcessOneEvent().
Here is the caller graph for this function:| void RoadMap::Scale | ( | const double | val | ) |
Definition at line 64 of file RoadMap.cc.
| void RoadMap::ScaleBG | ( | const double | val | ) |
Definition at line 90 of file RoadMap.cc.
Referenced by AnaBG::Analyze().
Here is the caller graph for this function:
|
inline |
Definition at line 19 of file RoadMap.h.
Referenced by UtilRoad::ReadFromFile().
Here is the caller graph for this function: