BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
LocalPhotonSelector.h
Go to the documentation of this file.
1#ifndef LOCAL_PHOTON_SELECTOR_H
2#define LOCAL_PHOTON_SELECTOR_H
3
4#include "BesDChain/CDPhoton.h"
5#include "ITools.h"
6
7class LocalPhotonSelector : public extends<AlgTool, ISelectorTool<CDPhoton>> {
8public:
9 LocalPhotonSelector( const std::string& type, const std::string& name,
10 const IInterface* parent );
11
12 bool operator()( CDPhoton& aPhoton ) override;
13
14private:
16 const LocalPhotonSelector& operator=( const LocalPhotonSelector& );
17
18 double m_minEnergy;
19
20 bool m_useBarrelEndcap;
21 double m_maxCosThetaBarrel;
22 double m_minCosThetaEndcap;
23 double m_maxCosThetaEndcap;
24 double m_minEndcapEnergy;
25
26 bool m_applyTimeCut;
27 double m_minTime;
28 double m_maxTime;
29 double m_deltaTime;
30
31 bool m_applyDangCut;
32 double m_minDang;
33};
34
35#endif
LocalPhotonSelector(const std::string &type, const std::string &name, const IInterface *parent)
bool operator()(CDPhoton &aPhoton) override