EEezPatch


class description - source file - inheritance tree

class EEezPatch : public TObject


    public:
EEezPatch() EEezPatch(const EEezPatch&) virtual ~EEezPatch() virtual void addCluster(EEezCluster* c) virtual void addNeighbor(EEezPatch* p) void addPatch(EEezPatch* p) virtual void addStrip(EEezStrip* s) virtual void addTower(EEezTower* t) static TClass* Class() EEezPatchPtrVec_t* getNeighbors() EEezTowerPtrVec_t* getTowers() EEezStripPtrVec_t* getUStrips() EEezStripPtrVec_t* getVStrips() Int_t hasStrip(EEezStrip* s) Int_t hasTower(EEezTower* t) virtual TClass* IsA() const void mergeNeighbors() void print() TH1F* profileU() TH1F* profileV() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) TH2F* towers(Option_t* opts = "T")

Data Members


    protected:
EEezTowerPtrVec_t mTowers EEezStripPtrVec_t mUStrips EEezStripPtrVec_t mVStrips EEezPatchPtrVec_t mNeighbors TH1F* mProfileU TH1F* mProfileV TH2F* mETowers


See also

EEezPi0nCandidate

Class Description

 EEezPatch

 Author: Jason C. Webb <jwebb@iucf.indiana.edu>

 A simple container class for describing a "patch" of towers.  A "patch"
 might correspond to a trigger patch, a group of trigger patches, or
 any configuration... e.g. a sector or the entire calorimeter.



EEezPatch()
 Class Constructor.

~EEezPatch()
 Class Destructor.

void addTower ( EEezTower *tower )
 Add the specified EEezTower to the list of towers contained
 in this patch.  Reject duplicate entries.

void addStrip ( EEezStrip *strip )
 Add the specified strip to the list(s) of SMD strips which
 fall within the fiducial volume of the towers in this patch.
 Reject duplicate entries.

void addNeighbor( EEezPatch *p )
 Adds a neighboring patch to the list of neighboring
 tower patches.

EEezTowerPtrVec_t* getTowers()
 Returns a pointer to the list of towers contained
 within this patch.

EEezStripPtrVec_t* getUStrips()
 Returns a pointer to the list of U strips within
 the fiducial volume of the towers contained
 within this patch.

EEezStripPtrVec_t* getVStrips()
 Returns a pointer to the list of V strips within
 the fiducial volume of the towers contained
 within this patch.

EEezPatchPtrVec_t* getNeighbors()
 Returns a pointer to the list of neighboring patches.

Int_t hasTower( EEezTower *tower )
 Determine if the tower belongs to this tower patch.  Complexity =
 N towers.

Int_t hasStrip( EEezStrip *strip )
 Determine if the strip belongs to this tower patch.  Complexity ~=
 N strips.

void addCluster( EEezCluster *cluster )
 Add the towers and underlying SMD strips in the cluster
 to the patch.  Need to increase speed.  Too many redundant
 calls to hasTower() and hasStrip() are possible here.

void addPatch ( EEezPatch *patch )
 Add another patch of towers to this patch

void mergeNeighbors()
 Merge all neighboring patches with this one, and clear the list
 of neighboring patches.  (Not yet implemented).

TH1F* profileU()
 Projects the SMD u strips into a new histogram and returns
 a pointer to the histogram.

 NOTE: Assumes single sector at present

TH1F* profileV()
 Projects the SMD u strips into a new histogram and returns
 a pointer to the histogram.

 NOTE: Assumes single sector at present

TH2F* towers( Option_t *opts )
 Creates a 2D histogram of tower energy response for the
 patch.

 NOTE: Assumes single sector at present

void print()
 Print out a summary of the patch



Inline Functions


            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          EEezPatch EEezPatch(const EEezPatch&)


Author: Jason C. Webb
Last update: Tue Jun 1 11:18:31 2004


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.