1 #ifndef STAR_StLuminosityMaker
2 #define STAR_StLuminosityMaker
6 #include "StMuDSTMaker/COMMON/StMuDstMaker.h"
9 #include "TClonesArray.h"
10 #include "StTriggerUtilities/StTriggerSimuMaker.h"
11 #include "StLuminosityHolder.h"
17 vector<unsigned int> mTriggers;
18 vector<unsigned int> mNTotal;
19 vector<unsigned int> mNVertex;
20 vector<unsigned int> mNCuts;
21 vector<unsigned int> mNSoftTrig;
22 vector<float> mLumTotal;
23 vector<float> mLumCuts;
24 vector<float> mLumVertex;
25 vector<float> mLumSoftTrig;
26 vector<float> mPrescales;
29 TClonesArray* mLumHolder;
36 unsigned int mFilterMode;
45 virtual Int_t InitRun(
int run);
47 virtual Int_t Finish();
49 void getTriggersFromFilterMaker(
const char* filtername=
"triggerFilter");
51 void setFilterMode(
unsigned int flag=1) {mFilterMode = flag;}
52 void addTrigger(
unsigned int trigId);
53 void setMode(
const char* newMode);
54 void setCrossSectionNB(
float newXsec,
int overRideMode = 1);
55 void setVertexCutcm(
float newcut){mVertexCut = newcut;}
56 const float getCrossSectionNB()
const {
return mXsec;}
57 const float getVertexCutcm()
const {
return mVertexCut;}
58 const TClonesArray* getHolder()
const {
return mLumHolder;}
59 const vector<float> getLumTotal()
const {
return mLumTotal;}
60 const vector<float> getLumCuts()
const {
return mLumCuts;}
61 const vector<float> getLumVertex()
const {
return mLumVertex;}
62 const vector<float> getLumSoftTrig()
const {
return mLumSoftTrig;}
63 const vector<float> getPrescales()
const {
return mPrescales;}
64 const vector<unsigned int> getTriggers()
const {
return mTriggers;}
65 const vector<unsigned int> getNTotal()
const {
return mNTotal;}
66 const vector<unsigned int> getNCuts()
const {
return mNCuts;}
67 const vector<unsigned int> getNVertex()
const {
return mNVertex;}
68 const vector<unsigned int> getNSoftTrig()
const {
return mNSoftTrig;}
70 virtual const char *GetCVS()
const
71 {
static const char cvs[]=
"Tag $Name: $ $Id: StLuminosityMaker.h,v 1.4 2014/08/06 11:43:39 jeromel Exp $ built " __DATE__
" " __TIME__ ;
return cvs;}