fmssim
Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | Static Protected Attributes
fms::trigger::Year2011Map Class Reference

Trigger regions and thresholds for 2011 run. More...

#include <Year2011Map.h>

List of all members.

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 *="")
RegionFind (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 Year2011MapInstance ()
 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

Detailed Description

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.


Member Typedef Documentation

typedef std::map<int, Region*> fms::trigger::Year2011Map::Type [protected]

Constructor & Destructor Documentation

fms::trigger::Year2011Map::Year2011Map ( )
fms::trigger::Year2011Map::~Year2011Map ( ) [virtual]

Member Function Documentation

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.


Member Data Documentation

Double_t fms::trigger::Year2011Map::smThresholdHigh [static, protected]
Double_t fms::trigger::Year2011Map::smThresholdLow [static, protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines