Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
PlaceBuilder.hpp
Go to the documentation of this file.
1 
6 #ifndef __PLACEBUILDER_HPP__
7 #define __PLACEBUILDER_HPP__
8 
9 #include <string>
10 #include <map>
11 
12 #include "Globals.hpp"
13 #include "Places.hpp"
14 #include "Exceptions.hpp"
15 
49 class PlaceBuilder {
50  public:
54  Place* create(std::map<std::string, std::string>& params, bool verbose);
55  private:
58  Place* createPlaceDetector(std::map<std::string, std::string>& params);
61  Place* createPlaceThreshold(std::map<std::string, std::string>& params);
64  Place* createPlaceThresholdOR(std::map<std::string, std::string>& params);
67  Place* createPlaceCounter(std::map<std::string, std::string>& params);
70  Place* createPlaceOR(std::map<std::string, std::string>& params);
73  Place* createPlaceAND(std::map<std::string, std::string>& params);
74 };
75 #endif
Place * createPlaceAND(std::map< std::string, std::string > &params)
Create place, alter or add existing place to the tree.
Definition: PlaceBuilder.hpp:49
Class to handle errors occurring during the execution of the code.
A pure abstract class to define a "place" for correlator.
Definition: Places.hpp:24
constant parameters used in pixie16 analysis
Place * createPlaceCounter(std::map< std::string, std::string > &params)
Place * createPlaceThresholdOR(std::map< std::string, std::string > &params)
Place * createPlaceOR(std::map< std::string, std::string > &params)
Place * createPlaceThreshold(std::map< std::string, std::string > &params)
Defines the various places for the TreeCorrelator.
Place * create(std::map< std::string, std::string > &params, bool verbose)
Place * createPlaceDetector(std::map< std::string, std::string > &params)