HighLAND
Functions
p0dUtils Namespace Reference

Functions

AnaP0DParticleGetP0DParticle (AnaParticleB *part)
 Get the P0D particle from a AnaParticleB: either a segment in a global track or the cast of the P0D-only track it self.
 
Int_t GetAllP0DParticles (const AnaEventB &event, AnaP0DParticle *selParts[])
 
Int_t GetAllP0DVertices (const AnaEventB &event, AnaP0DVertex *selVerts[])
 
Int_t GetMichelElectrons (const AnaSpillB &spill, AnaDelayedClustersB **&delayedClusters, Int_t firstBunch=0)
 Get the number of P0D michel electrons.
 
Int_t GetNMichelElectrons (const AnaSpillB &spill, Int_t firstBunch=0)
 Get the number of P0D michel electrons.
 
Int_t GetMichelElectrons (AnaP0DVertex *anaP0DVertex, AnaDelayedClustersB **&delayedClusters)
 Get the number of P0D michel electrons from anaP0DVertex.
 
void CreateArray (AnaDelayedClustersB **&tgtArr, int nObj)
 Create variable sized arrays of pointers.
 
void ResizeArray (AnaDelayedClustersB **&tgtArr, int nObj)
 Resize the array.
 
void CreateArray (AnaP0DVertex **&tgtArr, int nObj)
 
void CopyArray (AnaP0DVertex **tgtArr, AnaP0DVertex **srcArr, int nObj)
 

Detailed Description

This namespace contains useful functions for analyses. This is in addition to those defined in psycheUtils