76 #ifndef STAR_StVertexSeedMaker
77 #define STAR_StVertexSeedMaker
86 class St_vertexSeedTriggers;
92 const char* defaultDir=
"./StarDb/Calibrations/rhic/");
96 virtual void PrintInfo();
97 virtual void Clear(Option_t *option);
99 virtual int Aggregate(
char* dir=0,
const char* cuts=
"",
const int offset=0);
101 virtual void FitData();
102 virtual void FindResult(
bool checkDb=kTRUE);
103 virtual int GetValidityDate();
104 virtual int GetValidityTime();
105 virtual void UseEventDateTime();
106 virtual void UseFillDateTime();
107 virtual void UseAllTriggers();
108 virtual St_vertexSeed* VertexSeedTable();
109 virtual void WriteTableToFile();
110 virtual void SetOffset(
int offset=0) {foffset = offset;}
111 virtual void SetNoClobber(
bool noclob=kTRUE) {noclobber = noclob;}
112 virtual void SetMinEntries(
int entries);
113 virtual void SetMaxX0Err(
float err);
114 virtual void SetMaxY0Err(
float err);
115 virtual void WriteHistFile(
bool writeFit);
116 virtual void HistFileByDefault();
117 virtual void SetVertexZmax(
float zmax);
118 virtual void SetVertexZmin(
float zmin);
119 virtual void SetVertexR2max(
float r2max);
120 virtual void SetDefDir(
const char* dir) {defDir = dir;}
121 virtual const char *GetCVS()
const {
122 static const char cvs[]=
"Tag $Name: $ $Id: StVertexSeedMaker.h,v 1.25 2016/08/02 21:17:17 genevb Exp $ built " __DATE__
" " __TIME__ ;
127 virtual void Reset();
128 virtual int FillAssumed();
129 virtual int GetVertexSeedTriggers();
130 virtual void GetADateTime();
131 virtual void GetFillDateTime();
132 virtual bool BetterErrors();
133 virtual bool ChangedValues();
134 virtual bool CheckTriggers() {
return kTRUE; }
135 virtual bool ValidTrigger(
unsigned int);
136 virtual int GetEventData() {
return kStErr; }
137 virtual void AddResults(TNtupleD* ntup);
138 virtual TString NameFile(
const char* type,
const char* prefix,
const char* suffix);
139 virtual TNtupleD* newBLpars();
140 virtual void Packer(
int firstbit,
int nbits,
int& var,
unsigned short val);
147 TNtupleD* parsNtuple;
192 bool useEventDateTime;
200 St_vertexSeedTriggers* dbTriggersTable;
206 inline void StVertexSeedMaker::UseEventDateTime() {useEventDateTime = kTRUE;}
207 inline void StVertexSeedMaker::UseFillDateTime() {useEventDateTime = kFALSE;}
208 inline void StVertexSeedMaker::UseAllTriggers() {useAllTriggers = kTRUE;}
209 inline void StVertexSeedMaker::SetMinEntries(
int entries){minEntries = entries; }
210 inline void StVertexSeedMaker::SetMaxX0Err(
float err){maxX0Err = err;}
211 inline void StVertexSeedMaker::SetMaxY0Err(
float err){maxY0Err = err;}
212 inline int StVertexSeedMaker::GetValidityDate(){
return date;}
213 inline int StVertexSeedMaker::GetValidityTime(){
return time;}
214 inline void StVertexSeedMaker::HistFileByDefault(){mHistOut = kTRUE;}
215 inline void StVertexSeedMaker::SetVertexZmax(
float zmax){zVertexMax = zmax;}
216 inline void StVertexSeedMaker::SetVertexZmin(
float zmin){zVertexMin = zmin;}
217 inline void StVertexSeedMaker::SetVertexR2max(
float r2max){r2VertexMax = r2max;}
virtual void Clear(Option_t *option)
User defined functions.
BeamLine Constraint calibration base class.