14 #include <framework/core/Module.h>
16 #include "trg/ecl/TrgEclCluster.h"
17 #include "trg/ecl/TrgEclTiming.h"
18 #include "trg/ecl/TrgEclBhabha.h"
19 #include "trg/ecl/TrgEclBeamBKG.h"
20 #include "trg/ecl/TrgEclMapping.h"
64 std::string
name(
void)
const;
67 std::string
version(
void)
const;
73 void setRS(std::vector<int>, std::vector<double>,
74 std::vector<double>&, std::vector<std::vector<double>>&);
95 std::vector<int>,
int,
int,
int,
int,
96 int,
int,
int,
int,
int,
int,
int,
106 const std::vector<double>& i2DBhabhaThresholdBWD)
142 m_3DBhabhaAddAngleCut = i3DBhabhaAddAngleCut;
156 double itaub2bClusterECut2)
159 m_taub2bClusterECut2 = itaub2bClusterECut2;
162 void setTaub2b2Cut(
const std::vector<int>& iTaub2b2AngleCut,
163 const double iTaub2b2EtotCut,
164 const double iTaub2b2CLEEndcapCut,
165 const double iTaub2b2CLECut)
167 m_taub2b2AngleCut = iTaub2b2AngleCut;
169 m_taub2b2CLEEndcapCut = iTaub2b2CLEEndcapCut;
193 void set3DBhabhaVetoInTrackThetaRegion(
const std::vector<int>& i3DBhabhaVetoInTrackThetaRegion)
195 m_3DBhabhaVetoInTrackThetaRegion = i3DBhabhaVetoInTrackThetaRegion;
198 void setEventTimingQualityThresholds(
const std::vector<double>& iEventTimingQualityThresholds)
200 m_EventTimingQualityThresholds = iEventTimingQualityThresholds;
272 std::vector<double> m_3DBhabhaAddAngleCut;
280 double m_taub2bClusterECut2;
283 std::vector<int> m_taub2b2AngleCut;
287 double m_taub2b2CLEEndcapCut;
299 std::vector<int> m_3DBhabhaVetoInTrackThetaRegion;
301 std::vector<double> m_EventTimingQualityThresholds;
A Class of ECL Trigger clustering
A Class of ECL Trigger clustering
A Class of ECL Trigger clustering
int _Clustering
clutering option
double _ECLBurstThreshold
ECL Burst Bit Threshold.
std::vector< std::vector< double > > TCEnergy
Hit TC Energy.
void setLowMultiplicityThreshold(const std::vector< double > &iLowMultiThreshold)
set Low Multiplicity Threshold
double m_taub2bEtotCut
tau b2b total energy (TC theta ID =1-17) (GeV)
std::vector< std::vector< std::vector< double > > > ThetaRingSum
Theta ring sum.
void setNofTopTC(int noftoptc)
set # of considered TC in energy weighted Timing method
std::vector< double > TCHitEnergy
Hit TC Energy in time window.
void setBhabhaMethod(int bhabha)
Set Bhabha.
void setTaub2bAngleCut(const std::vector< int > &itaub2bAngleCut)
set tau b2b 2 cluster angle cut
int _PrescaleCounter
Bhabha Prescale Countor.
int _ClusterLimit
The limit number of Cluster.
std::vector< int > m_taub2bAngleCut
tau b2b 2 cluster angle cut (degree)
void set3DBhabhaAddAngleCut(const std::vector< double > &i3DBhabhaAddAngleCut)
set 3D Bhabha addtion Angle selection
void simulate02(int)
simulates ECL trigger for Data Analysis
double TimeWindow
Hit TC Energy in time window.
void setTimeWindow(int timewindow)
Set Trigger Decision window size.
TrgEclTiming * obj_timing
EventTiming object.
double _mumuThreshold
mumu bit Energy Threshold
std::string version(void) const
returns version.
TrgEclMaster(void)
TrgEclMaster Constructor.
void initialize(int)
initialize
double setTotalEnergy(std::vector< double >)
Set Total Energy.
void setEventTimingMethod(int EventTiming)
Set Cluster.
void setTaub2bEtotCut(double itaub2bEtotCut)
set tau b2b total energy cut
void setRS(std::vector< int >, std::vector< double >, std::vector< double > &, std::vector< std::vector< double >> &)
ECL bit information for GDL.
TrgEclCluster * obj_cluster
Cluster object.
std::vector< std::vector< double > > PhiRingSum
Phi ring sum.
void makeLowMultiTriggerBit(std::vector< int >, std::vector< double >)
make LowMultiTriggerBit
int _PrescaleFactor
Bhabha Prescale Factor.
int _n300MeVCluster
The number of Cluster exceeding 300 MeV.
void setClusterLimit(int limit)
Set the limit # of Cluster.
void setClusterMethod(int cluster)
Get Event timing.
std::vector< double > _TotalEnergy
Total Energy Theshold (low, high, lum)
std::vector< double > _mumuAngle
mumu bit Angle
void setTotalEnergyThreshold(const std::vector< double > &iTotalEnergy)
set Total Energy Theshold (low, high, lum)
void makeTriggerBit(int, int, int, int, double, int, int, std::vector< int >, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int)
make Trigger bit except for Low Multiplicity related bit
std::vector< double > _3DBhabhaVetoThreshold
3D Veto Bhabha Energy Threshold
double m_taub2b2EtotCut
taub2b2 total energy (TC theta ID =1-17) (GeV)
static TrgEclMaster * getTrgEclMaster(void)
get pointer of TrgEclMaster object
void setmumuThreshold(int mumuThreshold)
set mumu bit Threshold
void set2DBhabhaThreshold(const std::vector< double > &i2DBhabhaThresholdFWD, const std::vector< double > &i2DBhabhaThresholdBWD)
set 2D Bhabha Energy Threshold
std::vector< double > _LowMultiThreshold
Low Multiplicity Threshold.
void set3DBhabhaVetoAngle(const std::vector< double > &i3DBhabhaVetoAngle)
set 3D veto Bhabha Energy Angle
int getTriggerbit(int i)
Get ECL Trigger bit.
TrgEclMaster & operator=(TrgEclMaster &)=delete
Assignment operator, deleted.
std::vector< double > TCHitTiming
Hit TC Timing in time window.
int _EventTiming
EventTiming option.
std::vector< std::vector< int > > TCBeamBkgTag
Hit TC Beam Background tag.
int _Bhabha
Bhabha option.
void set3DBhabhaSelectionAngle(const std::vector< double > &i3DBhabhaSelectionAngle)
set 3D selection Bhabha Energy Angle
void set3DBhabhaSelectionThreshold(const std::vector< double > &i3DBhabhaSelectionThreshold)
set 3D selection Bhabha Energy Threshold
TrgEclBhabha * obj_bhabha
Bhabha object.
TrgEclBeamBKG * obj_beambkg
Beam Backgroud veto object.
std::vector< double > _3DBhabhaSelectionAngle
3D Selection Bhabha Energy Angle
int getLowmultibit()
Get Low Multiplicity Trigger Bit.
void setECLBurstThreshold(int ECLBurstThreshold)
set mumu bit Threshold
std::vector< double > _2DBhabhaThresholdBWD
2D Bhabha Energy Threshold
int _Triggerbit[4]
ECL Trigger bit.
std::string name(void) const
returns name.
std::vector< double > _3DBhabhaSelectionThreshold
3D Selection Bhabha Energy Threshold
double OverlapWindow
TRG Decision overlap window.
TrgEclDataBase * obj_database
Beam Backgroud veto object.
void simulate01(int)
simulates ECL trigger for Global Cosmic data
TrgEclMapping * obj_map
Mapping object.
void setOverlapWindow(int overlapwindow)
Set Trigger Decision overlap window size.
double m_taub2bClusterECut1
taub2b one Cluster energy selection (GeV)
std::vector< int > HitTCId
Hit TC Energy in time window.
void setn300MeVClusterThreshold(int n300MeVCluster)
set the number of cluster exceeding 300 MeV
void set3DBhabhaVetoThreshold(const std::vector< double > &i3DBhabhaVetoThreshold)
set 3D veto Bhabha Energy Threshold
void setmumuAngle(const std::vector< double > &imumuAngle)
set mumu bit Angle selection
virtual ~TrgEclMaster()
TrgEclMaster Destructor.
int _Lowmultibit
Low Multiplicity bit.
std::vector< int > TCHitBeamBkgTag
Hit TC Beam Background tag in time window.
double m_taub2b2CLECut
taub2b2 cluseter energy cut (GeV)
std::vector< double > _2DBhabhaThresholdFWD
2D Bhabha Energy Threshold
std::vector< double > _3DBhabhaVetoAngle
3D Veto Bhabha Energy Angle
std::vector< std::vector< double > > TCTiming
Hit TC Timing.
TrgEclMaster(TrgEclMaster &)=delete
Copy constructor, deleted.
void setTaub2bClusterECut(double itaub2bClusterECut1, double itaub2bClusterECut2)
set tau b2b 1Cluster energy cut
A Class of ECL Trigger clustering
Abstract base class for different kinds of events.