55 int main(
int argc,
char **argv)
57 Long_t processed = -1;
84 printf (
"Int ERROR exiting ...\n");
88 printf (
"Initialized\n");
94 if(analyses == NULL)
return 0;
95 std::cout << analyses->Data() << std::endl;
96 TObjArray* list = analyses->Tokenize(
" ");
97 std::cout << list->GetEntries() << std::endl;
100 for(Int_t k = 0; k<list->GetEntries(); k++){
101 TString str = ((TObjString*)(list->At(k)))->String();
102 if(str==
"HarpoAnalyseVertex"){
104 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
108 if(str==
"HarpoAnalysePedestalShift"){
110 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
114 if(str==
"HarpoAnalyseRates"){
116 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
120 if(str==
"HarpoAnalyseXtalk"){
122 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
126 if(str==
"HarpoAnalyseVdrift"){
128 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
132 if(str==
"HarpoAnalyseMatching"){
134 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
138 if(str==
"HarpoEventSelector"){
140 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
144 if(str==
"HarpoSelectCosmics"){
146 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
150 if(str==
"HarpoExcludeBadEvents"){
152 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
156 if(str==
"HarpoAnalyseTrackPairs"){
158 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
162 if(str==
"HarpoSelectorStraightTracks"){
164 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
168 if(str==
"HarpoVertexing"){
170 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
174 if(str==
"HarpoAnalyseMultiplicityAget"){
176 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
180 if(str==
"HarpoSelectorPileUp"){
182 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
186 if(str==
"HarpoClusteringBlocs"){
188 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
192 if(str==
"HarpoAnalyseBertrand"){
194 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
198 if(str==
"HarpoAnalyseVertex3D"){
200 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
204 if(str==
"HarpoAnalyseVertex3Dsim"){
206 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
210 if(str==
"HarpoMatchingVertex"){
212 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
216 if(str==
"HarpoSelectorVertex"){
218 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
222 if(str==
"HarpoAnalyseEtrack"){
224 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
228 if(str==
"HarpoAnalysePattern"){
230 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
234 if(str==
"HarpoAnalyseTemplate"){
236 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
240 if(str==
"HarpoAnalyseResolution"){
242 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
246 if(str==
"HarpoAnalyseNoiseSuppression"){
248 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
252 if(str==
"HarpoClustering"){
254 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
258 if(str==
"HarpoHoughTracking"){
260 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
264 if(str==
"HarpoTrackingPh"){
266 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
270 if(str==
"HarpoKalmanTracking"){
272 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
276 if(str==
"HarpoKalmanNew"){
278 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
282 if(str==
"HarpoKalmanFitting"){
284 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
288 if(str==
"HarpoMatching"){
290 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
294 if(str==
"HarpoAnalyseGainStudy"){
296 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
300 if(str==
"HarpoAnalysePrf"){
302 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
306 if(str==
"HarpoAnalyseBaselineFluct"){
308 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
312 if(str==
"HarpoAnalyseBasic"){
314 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
318 if(str==
"HarpoAnalyseRunNoZS"){
320 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
324 if(str==
"HarpoAnalyseWriter"){
326 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
330 if(str==
"HarpoAnalyseTriggerTime"){
332 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
336 if(str==
"HarpoAnalyseMonitorNew"){
338 std::cout <<
"Adding " << str.Data() <<
" " << i <<
" " << hana[i] << std::endl;
343 std::cout <<
"Unknown analysis " << str.Data() << std::endl;
347 std::cout <<
"No valid analysis" << std::endl;
350 std::cout <<
"** N of analysis = " << i << std::endl;
353 for(Int_t k =0; k<i; k++){
359 if (rcfg != NULL ) rcfg->
print();
363 for(Int_t k = i-1; k>=0; k--){
370 for(Int_t k = i-1; k>=0; k--)
372 printf(
"\n Done processed Events %li\n",processed);
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
static HarpoHistManager * GetPointer()
void AddAnalyseFunction(HarpoAnalyse *func)
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
Dummy analysis to run as test and example. Give basic histograms of the data.
Get Run Configuration info by run number. The class query MySQL databe use GetRunConfig Method Only t...
Analysis and suppression of baseline fluctuations.
Bool_t Init(hReadMode mode=hSyncTime)
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
A class which instantiate the real top level reader.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Track finder with Kalman filter.
Long_t LoopAll()
Read errors.
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
Dummy analysis to run as test and example. Give basic histograms of the data.
void print()
Print values of all founded fields.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Monitoring RAW data for online GUI.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
Analysis of charge distributions from event with single track Requires tracking information.
Dummy analysis to run as test and example. Give basic histograms of the data.
Dummy analysis to run as test and example. Give basic histograms of the data.
virtual void Save(char *=NULL)
Analysis of space and time response of the readout.
A class which write harpo events to ROOT Tree.
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
int main(int argc, char **argv)
void print() const
Read config file in libconfig format.
Dummy analysis to run as test and example. Give basic histograms of the data.
Basic HARPO Event Analysis code. "Offline monitoring".
TString * GetAnalyses()
Get List of HarpoAnalyses.
Suppresses baseline fluctuations in non-zerosuppressed data.
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
static hReaderType gHReaderType
Reader Type.
HarpoRunHeader * GetRunHeader()
Clustering algorithm, runs on RAW data (HarpoMap), produces HarpoRecoClusters objects.
A class which keeps track of the entire configuration of the analysis.
Dummy analysis to run as test and example. Give basic histograms of the data.