StBbcSimulationMaker Class Reference

BBC simulation. More...

#include <StBbcSimulationMaker.h>

Inheritance diagram for StBbcSimulationMaker:

StMaker

List of all members.

Public Member Functions

 StBbcSimulationMaker (const char *name="BbcSimulation")
 BbcSimulation constructor.
virtual ~StBbcSimulationMaker ()
 This is BbcSimulation destructor.
virtual Int_t Init ()
 Init - is a first method the top level StChain calls to initialize all its makers.
virtual Int_t Make ()
virtual Int_t Finish ()
virtual const char * GetCVS () const


Detailed Description

BBC simulation.

Author:
<a href="http://www.star.bnl.gov/~kopytin> M.Kopytine
Date:
2002/08/20 This is a standard BFC maker to simulate BBC response and fill StEvent. External dependencies: GEANT description of BBC geometry in /pams/geometry/bbcmgeo Especially, the numbering of sensitive elements ! Read README file for the info on the simulation "concept"/approximation.

Definition at line 29 of file StBbcSimulationMaker.h.


Constructor & Destructor Documentation

StBbcSimulationMaker::StBbcSimulationMaker ( const char *  name = "BbcSimulation"  ) 

BbcSimulation constructor.

const char *name - the name of this constructor The first comment lines after the opening bracket ({) of a member function are considered as a member function description See ROOT HTML documentation

See StBbcSimulationMaker.h and README for description of this class.

Definition at line 154 of file StBbcSimulationMaker.cxx.

StBbcSimulationMaker::~StBbcSimulationMaker (  )  [virtual]

This is BbcSimulation destructor.

The first comment lines after the opening bracket ({) of a member function are considered as a member function description

The first comment lines after the opening bracket ({) of a member function are considered as a member function description see: ROOT HTML documentation

Definition at line 171 of file StBbcSimulationMaker.cxx.


Member Function Documentation

Int_t StBbcSimulationMaker::Finish (  )  [virtual]

Terminate a run. Place to make operations on histograms, normalization,etc.

end of run

Reimplemented from StMaker.

Definition at line 389 of file StBbcSimulationMaker.cxx.

Int_t StBbcSimulationMaker::Init (  )  [virtual]

Init - is a first method the top level StChain calls to initialize all its makers.

Associate volume ID with channel ID -- use map MLK: GEANT numbering (set up by Yiqun, see bbcmgeo.g) is as follows: West is 1, East is 2; inner annulus (small tiles) is 1, outer is 2; triplet numbering is counterclockwise azimuthally, looking at the West detector along the z axis (i.e. from inside !!!) (East is rotated 180 deg. arong the vertical axis.) (GDRAWC -- direction of view is along the axis.) withing a triplet, tile numbering is counterclockwise, looking at the West detector along the z axis, and starting with the rightmost tile.

Les Bland: BBC scintillator tiles numbers are specified here. This shows a schematic of the BBC scintillator array from a vantage point that is outside (!!! MLK) of the STAR magnet. The same numbering scheme applies from appropriate vantage points for both the east and west sides of STAR.

PMT numbering: Akio Ogawa numbers channels in the data structure starting from East. VID numbering: Yiqun followed STAR standard in the GSTAR code: first West, then East.

Reimplemented from StMaker.

Definition at line 179 of file StBbcSimulationMaker.cxx.

Int_t StBbcSimulationMaker::Make (  )  [virtual]

The Make() method is the one responsible for calling the maker's InitRun(). Note that that InitRun() is called for real data and if both of the following are true

  • a header exists
  • the run number changes

This is the ONLY place calling the InitRun() routine.

Make - this method is called in loop for each event

check privilege to skip event

Reimplemented from StMaker.

Definition at line 317 of file StBbcSimulationMaker.cxx.

References kStOK.


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

Generated on Fri Feb 10 04:27:58 2012 for StRoot by  doxygen 1.5.9