Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

AlephCollection Class Template Reference

The main ALPHA++ tool... More...

#include <AlephCollection.h>

Inheritance diagram for AlephCollection:

Inheritance graph
[legend]
Collaboration diagram for AlephCollection:

Collaboration graph
[legend]
List of all members.

Public Methods

 AlephCollection ()
 Default Constructor. More...

 AlephCollection (int i)
 Another Constructor. More...

void append (AlephCollection< Type >)
 Add two vectors to each other. More...

void looperase (AlephCollection< Type >::iterator &it)
 Erase an element from the vector, should be used in loops. More...

AlephCollection<Type *> Pointers ()
 Create a vector of pointers from a vector of objects. More...

AlThrust AThrust () const
 compute the thrust of an event, based on a set of "tracks". More...

float Sphericity () const
float Aplanarity () const
float Planarity () const
AlephCollection<AlJetDurhamJet (float theYcut, int Scheme=1, float Qelep=0.) const
 Durham jet clustering (From Orca). More...

AlephCollection<AlJetJadeJet (float theYcut, int Scheme=1, float Qelep=0.) const
 Jade jet clustering (from Orca). More...

vector<float> DurhamYn (int, float Qelep=0.) const
 computes the set of Yn using the Durham metric. More...

AlephCollection<AlTauATauJn (vector< float > argus, float Qelep=0) const
 TauJet clustering. More...

void FilterMu (vector< float >)
 Muons filtering. More...

void FilterEl (const AlephCollection< AlMuon *> &, vector< float >)
 Electrons filtering. More...

void FilterTau (vector< float >)
 Tau filtering. More...

QvecBase GetSum () const
 Sum all the elements. More...

QvecBase GetMiss (float QELEP=0.) const
 Find the missing object. More...


Detailed Description

template<class Type> class AlephCollection

The main ALPHA++ tool...

derives from STL vector and owns the main algorithmes

Definition at line 48 of file AlephCollection.h.


Constructor & Destructor Documentation

template<class Type>
AlephCollection<Type>::AlephCollection<Type> ( ) [inline]
 

Default Constructor.

Definition at line 53 of file AlephCollection.h.

template<class Type>
AlephCollection<Type>::AlephCollection<Type> ( int i ) [inline]
 

Another Constructor.

Definition at line 56 of file AlephCollection.h.


Member Function Documentation

template<class Type>
AlephCollection< AlTau > AlephCollection<Type>::ATauJn<AlTau> ( vector< float > argus,
float Qelep = 0 ) const
 

TauJet clustering.

Produces a raw set of Tau candidates... I mean Taujets with one or three Eflws at this stage, Ech is the total energy of eflws objects the Associated track is the track from the last Eflw. be carefull: this track may be NULL

arguments in the vector are:

  • Ycut
  • Scheme
  • metric

Definition at line 217 of file AlephAlgoLeptons.h.

Referenced by CollectLeptons::Run(), and AlephExManager::UserEvent().

template<class Type>
AlThrust AlephCollection<Type>::AThrust ( ) const
 

compute the thrust of an event, based on a set of "tracks".

Definition at line 12 of file AlephAlgoThrust.h.

Referenced by GeneralEventInfo::Run(), and AlephExManager::UserEvent().

template<class Type>
float AlephCollection<Type>::Aplanarity ( ) const
 

Definition at line 167 of file AlephAlgoThrust.h.

Referenced by GeneralEventInfo::Run(), and AlephExManager::UserEvent().

template<class Type>
AlephCollection< AlJet > AlephCollection< Type >::DurhamJet ( float theYCut,
int Scheme = 1,
float Qelep = 0. ) const
 

Durham jet clustering (From Orca).

Routine to calculate number of jet and jet momenta for a given Ycut and a given AlephCollection of pointers to AlObjects Input:

  • float theYcut : Ycut value
  • int Scheme : Recombination Scheme
Scheme = 0 : E0 - Scheme Scheme = 1 : E - Scheme Enter a negative valut of theYCut to obtain -theYCut jets

Output: AlephCollection<AlJet> jets Vector of Jets

Definition at line 25 of file AlephDurhamAlgo.h.

Referenced by CollectJets::Run(), GeneralEventInfo::Run(), and AlephExManager::UserEvent().

template<class Type>
vector< float > AlephCollection< Type >::DurhamYn ( int Scheme,
float Qelep = 0. ) const
 

computes the set of Yn using the Durham metric.

Routine to calculate number of jet and jet momenta for a given Ycut and a given AlephCollection of pointers to AlObjects Input: int Scheme Recombination Scheme Scheme = 0 : E0 - Scheme Scheme = 1 : E - Scheme

Output: Vector<Real> Yn Vector of critical Ycuts

Definition at line 109 of file AlephDurhamAlgo.h.

Referenced by AlephExManager::UserEvent().

template<class Type>
void AlephCollection<Type>::FilterEl ( const AlephCollection< AlMuon *> & almup,
vector< float > argus )
 

Electrons filtering.

the arguments in the vector are:

  • d0max
  • pmin
  • minhit
  • cosmax
  • z0max
  • nwirem
  • r3cut
  • r2cut0l
  • r2cut1l
  • r2cut2l
  • r2cuth
  • r5cutl
  • r5cuth In addition, a vector of filtered muons is needed to avoid double-counting
Filters a collection of AlElec (electron candidates)

Definition at line 91 of file AlephAlgoLeptons.h.

Referenced by CollectLeptons::Run(), and AlephExManager::UserEvent().

template<class Type>
void AlephCollection<Type>::FilterMu ( vector< float > argus )
 

Muons filtering.

the arguments in the vector are:

  • d0max
  • pmin
  • minhit
  • cosmax
  • z0max Filters a collection of AlMuon (muon candidates)

Definition at line 23 of file AlephAlgoLeptons.h.

Referenced by CollectLeptons::Run(), and AlephExManager::UserEvent().

template<class Type>
void AlephCollection<Type>::FilterTau ( vector< float > argus )
 

Tau filtering.

analyse a vector of pointers to AlTau objects apply standard cuts Ech is the energy of charged tracks The associated track is the most energetic one, with the same sign

the arguments in the vector are:

  • psummin
  • d0max
  • minhit
  • cosmax
  • z0max

Definition at line 294 of file AlephAlgoLeptons.h.

Referenced by CollectLeptons::Run(), and AlephExManager::UserEvent().

template<class Type>
QvecBase AlephCollection< Type >::GetMiss ( float QELEP = 0. ) const
 

Find the missing object.

Definition at line 143 of file AlephCollection.h.

Referenced by AlephExManager::UserEvent().

template<class Type>
QvecBase AlephCollection< Type >::GetSum ( ) const
 

Sum all the elements.

Definition at line 119 of file AlephCollection.h.

Referenced by GeneralEventInfo::Run(), and AlephExManager::UserEvent().

template<class Type>
AlephCollection< AlJet > AlephCollection< Type >::JadeJet ( float theYCut,
int Scheme = 1,
float Qelep = 0. ) const
 

Jade jet clustering (from Orca).

Routine to calculate number of jet and jet momenta for a given Ycut and a given AlephCollection of pointers to AlObjects Input:

  • float theYcut : Ycut value
  • int Scheme : Recombination Scheme
Scheme = 0 : E0 - Scheme Scheme = 1 : E - Scheme Enter a negative valut of theYCut to obtain -theYCut jets

Output: AlephCollection<AlJet> jets Vector of Jets

Definition at line 24 of file AlephJadeAlgo.h.

Referenced by CollectJets::Run().

template<class Type>
float AlephCollection<Type>::Planarity ( ) const
 

Definition at line 197 of file AlephAlgoThrust.h.

Referenced by GeneralEventInfo::Run(), and AlephExManager::UserEvent().

template<class Type>
AlephCollection< Type *> AlephCollection<Type>::Pointers ( ) [inline]
 

Create a vector of pointers from a vector of objects.

Definition at line 69 of file AlephCollection.h.

Referenced by AlphaBanks::EflwPV(), AlphaBanks::ElecPV(), AlphaBanks::GampPV(), AlphaBanks::LongV0PV(), AlphaBanks::MCtruthPV(), AlphaBanks::MCverticesPV(), AlphaBanks::MuonPV(), CollectLeptons::Run(), AlphaBanks::SecVerticesPV(), AlphaBanks::StdV0PV(), AlphaBanks::TrackPV(), AlephExManager::UserEvent(), and AlphaBanks::V0TrackPV().

template<class Type>
float AlephCollection<Type>::Sphericity ( ) const
 

Definition at line 136 of file AlephAlgoThrust.h.

Referenced by GeneralEventInfo::Run(), and AlephExManager::UserEvent().

template<class Type>
void AlephCollection< Type >::append ( AlephCollection< Type > cv )
 

Add two vectors to each other.

Definition at line 112 of file AlephCollection.h.

template<class Type>
void AlephCollection<Type>::looperase ( AlephCollection< Type >::iterator & it ) [inline]
 

Erase an element from the vector, should be used in loops.

Definition at line 62 of file AlephCollection.h.

Referenced by FilterTau(), CollectTracks::Run(), and AlephExManager::UserEvent().


The documentation for this class was generated from the following files:
Generated at Wed Jun 18 17:21:13 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001