12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
14#include <framework/database/DBArray.h>
15#include <framework/database/DBObjPtr.h>
17#include "trg/ecl/dataobjects/TRGECLHit.h"
18#include "trg/ecl/dataobjects/TRGECLTrg.h"
19#include "trg/ecl/dataobjects/TRGECLCluster.h"
20#include "trg/ecl/dbobjects/TRGECLETMPara.h"
49 virtual void event()
override;
52 virtual void endRun()
override;
60 std::string
version(
void)
const;
71 double getDBparmap(
const std::map<std::string, double>, std::string,
double);
Accessor to arrays stored in the data store.
int m_lml00NCLforMinE
lml0 the number of cluster for minimum energy
std::string m_configFilename
Config.
double m_taub2bEtotCut
taub2b total energy (TC theta ID =1-17) (GeV)
std::vector< int > m_hie12BhabhaVetoAngle
(hie1 and hie2) 2 cluster angle cut in CMS in degree for Bhabha veto in hie1 and hie2
int m_debugLevel
Parameters.
std::vector< int > m_3DBhabhaSelectionPreScale
3D Selection Bhabha preselection
int m_lml12NCLforMinE
lml12 the number of cluster for minimum energy
std::vector< double > m_2DBhabhaThresholdBWD
2D Bhabha Energy Threshold
double m_ECLBurstThreshold
ECL Burst Bit Threshold.
int m_Clustering
Clustering option.
std::vector< double > m_lmlCLECMSCut
Low Multiplicity cluster E cut in CMS in GeV.
std::vector< double > m_TotalEnergy
Total Energy Threshold (low, high, lum) in Lab in GeV.
std::vector< int > m_taub2bAngleCut
taub2b 2 cluster angle cut (degree) (dphi low, dphi high, theta_sum low, theta_sum high)
int m_ClusterLimit
Cluster Limit.
int m_SelectEvent
Event selection.
std::vector< int > m_mumuAngle
mumu bit Angle
StoreArray< TRGECLTrg > m_TRGECLTrg
output for TRGECLTrg
std::vector< int > m_3DBhabhaVetoInTrackThetaRegion
Theta region (low, high) of 3D Bhabha Veto InTrack.
int m_hitNum
The current number of created hits in an event.
std::string m_eclTCHitOutColName
Output array name for TC.
double m_hie4LowCLELabCut
(hie4) CL E cut for minimum energy cluster
int m_EventTiming
Eventtiming option.
int m_hitTCNum
TC Hit number.
double m_OverlapWindow
Trigger decision overlap window in order to avoid boundary effect.
std::vector< int > m_3DBhabhaVetoAngle
3D Veto Bhabha Energy Angle
double m_ADCtoEnergy
conversion factor of ADC to Energy in GeV
TrgEclMaster * etm
ETM (ecl trigger master) to generate all trigger bits of ecl trigger.
int m_lml13ThetaIdSelection
lml13 cluster ThetaID selection
std::vector< double > m_3DBhabhaVetoThreshold
3D Veto Bhabha Energy Threshold
double m_taub2b2EtotCut
taub2b2 total energy cut in Lab (GeV)
std::vector< double > m_taub2b2CLELabCut
taub2b2 cluster energy cut(low, high) (GeV) in lab
std::vector< double > m_lmlCLELabCut
Low Multiplicity cluster E cut in Lab in GeV.
int m_nEvent
Event number.
std::vector< double > m_3DBhabhaSelectionThreshold
3D Selection Bhabha Energy Threshold
bool m_ConditionDB
Flag to use Condition DB.
StoreArray< TRGECLCluster > m_TRGECLCluster
output for TRGECLCluster
double m_taub2bCLELabCut
taub2b Cluster energy selection in Lab (GeV)
double m_mumuThreshold
mumu bit Energy Threshold
std::vector< int > m_3DBhabhaSelectionAngle
3D Selection Bhabha Energy Angle
std::vector< int > m_taub2b2AngleCut
taub2b2 two Cluster angle cut (degree)
double m_taub2b3EtotCut
taub2b3 total energy cut in lab (GeV)
std::vector< double > m_EventTimingQualityThreshold
Energy threshold(low, high) of event timing quality flag (GeV)
std::string m_inColName
Input array name.
double m_taub2b3CLEb2bLabCut
taub2b3 cluster energy cut in lab for one of b2b clusters (GeV)
std::string m_eclHitOutColName
Output array name for Xtal.
StoreArray< TRGECLHit > m_TRGECLHit
output for TRGECLHit
std::vector< double > m_2DBhabhaThresholdFWD
2D Bhabha Energy Threshold
std::vector< double > m_taub2b3CLELabCut
taub2b3 cluster energy cut(low and high) in lab for all clusters (GeV)
std::vector< int > m_taub2b3AngleCut
taub2b3 two Cluster angle cut in cms (degree)
double m_TimeWindow
Trigger decision time window.
virtual ~TRGECLModule()
Destructor.
virtual void initialize() override
Initializes TRGECLModule.
virtual void event() override
Called event by event.
virtual void endRun() override
Called when run ended.
virtual void terminate() override
Called when processing ended.
virtual void beginRun() override
Called when new run started.
double getDBparmap(const std::map< std::string, double >, std::string, double)
get payload from conditionDB
std::string version(void) const
returns version of TRGECLModule.
TRGECLModule()
Constructor.
Abstract base class for different kinds of events.