AliRoot Core  v5-06-30 (35d6c57)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONHitStoreV1 Class Reference

Implementation of AliMUONVHitStore. More...

#include <AliMUONHitStoreV1.h>

Inheritance diagram for AliMUONHitStoreV1:

Public Member Functions

 AliMUONHitStoreV1 ()
 
 AliMUONHitStoreV1 (TRootIOCtor *)
 
virtual ~AliMUONHitStoreV1 ()
 
virtual void Add (const AliMUONHit &hit)
 Add a digit. More...
 
virtual Bool_t CanConnect () const
 Whether the Connect(TTree&) method is implemented. More...
 
virtual void Clear (Option_t *opt="")
 Clear ourselves (i.e. Reset) More...
 
virtual Bool_t Connect (TTree &tree, Bool_t alone=kTRUE) const
 Connect us to a TTree (only valid if CanConnect()==kTRUE) More...
 
virtual AliMUONHitStoreV1Create () const
 Create an empty copy of this. More...
 
virtual TIterator * CreateIterator () const
 Return an iterator to loop over hits. More...
 
virtual TCollection * Collection ()
 Must be implemented to allow connection using MCApp()->AddHitList() More...
 
virtual Int_t GetSize () const
 The number of objects stored. More...
 
- Public Member Functions inherited from AliMUONVHitStore
 AliMUONVHitStore ()
 
virtual ~AliMUONVHitStore ()
 
virtual Bool_t Add (TObject *object)
 Add an object, if of type AliMUONHit. More...
 
- Public Member Functions inherited from AliMUONVStore
 AliMUONVStore ()
 
virtual ~AliMUONVStore ()
 
virtual TObject * FindObject (const char *name) const
 Find an object by name. More...
 
virtual TObject * FindObject (const TObject *object) const
 Find an object. More...
 
virtual TObject * FindObject (UInt_t uniqueID) const
 Find an object using a single id. More...
 
virtual TObject * FindObject (Int_t i, Int_t j) const
 Find an object using 2 ids. More...
 
virtual Int_t GetSize (Int_t i) const
 The number of objects stored for firstid=i. Not implemented by default. More...
 
virtual Bool_t IsEmpty () const
 Whether we are empty or not. More...
 
virtual void Print (Option_t *wildcard="") const
 Print all objects whose name matches wildcard. More...
 
virtual void Print (Option_t *wildcard, Option_t *opt) const
 Print, with option, all objects whose name matches wildcard. More...
 

Private Member Functions

 AliMUONHitStoreV1 (const AliMUONHitStoreV1 &)
 Not implemented. More...
 
AliMUONHitStoreV1operator= (const AliMUONHitStoreV1 &)
 Not implemented. More...
 
TClonesArray ** HitsPtr () const
 Return the address of array of hits. More...
 
TClonesArray * Hits () const
 Return the array of hits. More...
 

Private Attributes

TClonesArray * fHits
 array of hits More...
 

Additional Inherited Members

- Static Public Member Functions inherited from AliMUONVHitStore
static AliMUONVHitStoreCreate (TTree &tree)
 Create a store from the tree (if possible). More...
 
- Static Public Member Functions inherited from AliMUONVStore
static AliMUONVStoreCreate (TTree &tree, const char *what)
 Create a store from a TTree. More...
 

Detailed Description

Implementation of AliMUONVHitStore.

Implementation of AliMUONVHitStore

Author
Laurent Aphecetche, Subatech

Definition at line 21 of file AliMUONHitStoreV1.h.

Constructor & Destructor Documentation

AliMUONHitStoreV1::AliMUONHitStoreV1 ( )

ctor

Definition at line 45 of file AliMUONHitStoreV1.cxx.

Referenced by Create().

AliMUONHitStoreV1::AliMUONHitStoreV1 ( TRootIOCtor *  )

default ctor from file

Definition at line 38 of file AliMUONHitStoreV1.cxx.

AliMUONHitStoreV1::~AliMUONHitStoreV1 ( )
virtual

dtor

Definition at line 53 of file AliMUONHitStoreV1.cxx.

AliMUONHitStoreV1::AliMUONHitStoreV1 ( const AliMUONHitStoreV1 )
private

Not implemented.

Member Function Documentation

void AliMUONHitStoreV1::Add ( const AliMUONHit hit)
virtual

Add a digit.

add a hit

Implements AliMUONVHitStore.

Definition at line 61 of file AliMUONHitStoreV1.cxx.

virtual Bool_t AliMUONHitStoreV1::CanConnect ( ) const
inlinevirtual

Whether the Connect(TTree&) method is implemented.

Implements AliMUONVStore.

Definition at line 33 of file AliMUONHitStoreV1.h.

void AliMUONHitStoreV1::Clear ( Option_t *  opt = "")
virtual

Clear ourselves (i.e. Reset)

reset the internal array

Implements AliMUONVStore.

Definition at line 111 of file AliMUONHitStoreV1.cxx.

TCollection * AliMUONHitStoreV1::Collection ( )
virtual

Must be implemented to allow connection using MCApp()->AddHitList()

Implements AliMUONVHitStore.

Definition at line 69 of file AliMUONHitStoreV1.cxx.

Bool_t AliMUONHitStoreV1::Connect ( TTree &  tree,
Bool_t  alone = kTRUE 
) const
virtual

Connect us to a TTree (only valid if CanConnect()==kTRUE)

Connect this to tree.

Connect to a Ttree

Reimplemented from AliMUONVStore.

Definition at line 76 of file AliMUONHitStoreV1.cxx.

virtual AliMUONHitStoreV1* AliMUONHitStoreV1::Create ( ) const
inlinevirtual

Create an empty copy of this.

Implements AliMUONVStore.

Definition at line 39 of file AliMUONHitStoreV1.h.

TIterator * AliMUONHitStoreV1::CreateIterator ( ) const
virtual

Return an iterator to loop over hits.

create an iterator on hits

Implements AliMUONVHitStore.

Definition at line 96 of file AliMUONHitStoreV1.cxx.

Int_t AliMUONHitStoreV1::GetSize ( ) const
virtual

The number of objects stored.

Implements AliMUONVStore.

Definition at line 104 of file AliMUONHitStoreV1.cxx.

TClonesArray* AliMUONHitStoreV1::Hits ( ) const
inlineprivate

Return the array of hits.

Definition at line 57 of file AliMUONHitStoreV1.h.

TClonesArray** AliMUONHitStoreV1::HitsPtr ( ) const
inlineprivate

Return the address of array of hits.

Definition at line 55 of file AliMUONHitStoreV1.h.

Referenced by Connect().

AliMUONHitStoreV1& AliMUONHitStoreV1::operator= ( const AliMUONHitStoreV1 )
private

Not implemented.

Member Data Documentation

TClonesArray* AliMUONHitStoreV1::fHits
private

The documentation for this class was generated from the following files: