#include <StackedTrackerDetUnit.h>
Public Types | |
typedef std::map< unsigned int, DetId > | StackContents |
typedef std::map< unsigned int, DetId >::const_iterator | StackContentsIterator |
Public Member Functions | |
StackedTrackerDetId | Id () const |
int | size () |
StackedTrackerDetUnit () | |
StackedTrackerDetUnit (StackedTrackerDetId aStackId, const StackContents &listStackMembers) | |
StackedTrackerDetUnit (const StackedTrackerDetUnit &aDetUnit) | |
DetId | stackMember (unsigned int stackMemberIdentifier) const |
Method to return the Stack Member (argument = 0 means inner, argument = 1 means outer ) | |
const StackContents & | theStackMembers () const |
Private Attributes | |
StackedTrackerDetId | StackId |
StackContents | stackMembers |
Stacked Tracker Simulations Andrew W. Rose 2008
Definition at line 21 of file StackedTrackerDetUnit.h.
typedef std::map< unsigned int , DetId > StackedTrackerDetUnit::StackContents |
Definition at line 23 of file StackedTrackerDetUnit.h.
typedef std::map< unsigned int , DetId >::const_iterator StackedTrackerDetUnit::StackContentsIterator |
Definition at line 24 of file StackedTrackerDetUnit.h.
StackedTrackerDetUnit::StackedTrackerDetUnit | ( | ) |
//////////////////////////////////////// Stacked Tracker Simulations /// Written by: /// Andrew W. Rose /// 2008 /// //////////////////////////////////////
Definition at line 10 of file StackedTrackerDetUnit.cc.
{}
StackedTrackerDetUnit::StackedTrackerDetUnit | ( | StackedTrackerDetId | aStackId, |
const StackContents & | listStackMembers | ||
) |
Definition at line 12 of file StackedTrackerDetUnit.cc.
: StackId(aStackId), stackMembers(listStackMembers) {}
StackedTrackerDetUnit::StackedTrackerDetUnit | ( | const StackedTrackerDetUnit & | aDetUnit | ) |
Definition at line 18 of file StackedTrackerDetUnit.cc.
: StackId( aDetUnit.Id() ), stackMembers( aDetUnit.theStackMembers() ) {}
StackedTrackerDetId StackedTrackerDetUnit::Id | ( | ) | const [inline] |
Definition at line 34 of file StackedTrackerDetUnit.h.
References StackId.
Referenced by StackedTrackerGeometry::addStack(), HitDump::analyze(), L1TkStubBuilder< T >::produce(), and L1TkClusterBuilder< T >::produce().
{return StackId;}
int StackedTrackerDetUnit::size | ( | void | ) | [inline] |
Definition at line 31 of file StackedTrackerDetUnit.h.
References stackMembers.
{return stackMembers.size();}
DetId StackedTrackerDetUnit::stackMember | ( | unsigned int | stackMemberIdentifier | ) | const |
Method to return the Stack Member (argument = 0 means inner, argument = 1 means outer )
Definition at line 24 of file StackedTrackerDetUnit.cc.
References stackMembers.
Referenced by L1TkClusterBuilder< T >::produce().
{ if( stackMembers.find(stackMemberIdentifier) != stackMembers.end() ) { return stackMembers.find(stackMemberIdentifier)->second; } return DetId(0); }
const StackContents& StackedTrackerDetUnit::theStackMembers | ( | ) | const [inline] |
Definition at line 35 of file StackedTrackerDetUnit.h.
References stackMembers.
Referenced by StackedTrackerGeometry::meanPlane().
{return stackMembers;}
Definition at line 38 of file StackedTrackerDetUnit.h.
Referenced by Id().
Definition at line 39 of file StackedTrackerDetUnit.h.
Referenced by size(), stackMember(), and theStackMembers().