fmssim
|
Trigger regions and thresholds for 2011 run. More...
#include <Year2011Map.h>
Public Member Functions | |
Year2011Map () | |
virtual | ~Year2011Map () |
Bool_t | Add (Int_t, Region *) |
Add a region with an accompanying unique identifier in this map. | |
virtual void | Draw (Option_t *="") |
Region * | Find (const TVector3 &) const |
Returns the region containing the particle. | |
UInt_t | Size () const |
Returns the number of regions in this map. | |
Static Public Member Functions | |
static void | SetThresholds (Double_t low, Double_t high) |
static Year2011Map & | Instance () |
Not thread safe. | |
Protected Types | |
typedef std::map< int, Region * > | Type |
Protected Attributes | |
Type | mRegions |
Static Protected Attributes | |
static Double_t | smThresholdLow |
static Double_t | smThresholdHigh |
Trigger regions and thresholds for 2011 run.
This is aparently the board-sum trigger. See http://www.star.bnl.gov/public/trg/TSL/Software/FMS.pdf Perhaps that means that the jet-patch trigger isn't implemented at all.
typedef std::map<int, Region*> fms::trigger::Year2011Map::Type [protected] |
fms::trigger::Year2011Map::Year2011Map | ( | ) |
fms::trigger::Year2011Map::~Year2011Map | ( | ) | [virtual] |
Bool_t fms::trigger::Year2011Map::Add | ( | Int_t | , |
Region * | |||
) | [virtual] |
Add a region with an accompanying unique identifier in this map.
Region must be dynamically allocated via new.
The region must be dynamically allocated via new. The Map takes ownership and deletes it when the Map destroyed. The user should not delete the region themselves.
Map takes ownership and deletes when destroyed.
Implements fms::trigger::Map.
void fms::trigger::Year2011Map::Draw | ( | Option_t * | o = "" | ) | [virtual] |
Region * fms::trigger::Year2011Map::Find | ( | const TVector3 & | v | ) | const [virtual] |
Returns the region containing the particle.
If none contain it, returns (-999999999, NULL).
Implements fms::trigger::Map.
Year2011Map::Year2011Map & fms::trigger::Year2011Map::Instance | ( | ) | [static] |
Not thread safe.
For testing.
void fms::trigger::Year2011Map::SetThresholds | ( | Double_t | low, |
Double_t | high | ||
) | [static] |
UInt_t fms::trigger::Year2011Map::Size | ( | ) | const [inline, virtual] |
Returns the number of regions in this map.
Implements fms::trigger::Map.
Type fms::trigger::Year2011Map::mRegions [protected] |
Double_t fms::trigger::Year2011Map::smThresholdHigh [static, protected] |
Double_t fms::trigger::Year2011Map::smThresholdLow [static, protected] |