MdCornerClippingCorrecter.h
Go to the documentation of this file.
1 #ifndef _MdCornerClippingCorrecter_MdCornerClippingCorrecter_h_
2 #define _MdCornerClippingCorrecter_MdCornerClippingCorrecter_h_
3 #include <fwk/VModule.h>
4 #include <mevt/Module.h>
5 #include <mdet/Module.h>
6 #include <utl/Vector.h>
7 
8 namespace MdCornerClippingCorrecterAG {
9 
11  public:
14 
15 
19 
20  private:
21  // parametrization pcc(theta, dphi) = b(theta) + m(theta)|sin(dphi)|
22  // m(theta) = fPar0 + fPar1*sec(theta)
23  // b(theta) = fPar2 + fPar3*sec(theta)
24  double fPar0 = 0;
25  double fPar1 = 0;
26  double fPar2 = 0;
27  double fPar3 = 0;
29 
30  //double GetSinDeltaPhi(const mdet::Module& mDet, const utl::Vector& axis, const utl::CoordinateSystemPtr& coreCS, const bool OutputVerbose);
31  //double GetCornerClippingProbability(const mdet::Module& mDet, const utl::Vector& axis, const utl::CoordinateSystemPtr& coreCS, const bool OutputVerbose);
32  //double GetNumberOfEstimatedMuonsCorrected(const mevt::Module& mEvt, const mdet::Module& mDet, const utl::Vector& axis, const utl::CoordinateSystemPtr& cs, const bool OutputVerbose);
33  void FillCornerClippingProbability(const evt::Event& event, mevt::Module& module, const mdet::Module& mdetModule);
34 
35  REGISTER_MODULE("MdCornerClippingCorrecter", MdCornerClippingCorrecter);
36  };
37 
38 }
39 
40 #endif
REGISTER_MODULE("MdCornerClippingCorrecter", MdCornerClippingCorrecter)
Module level event data.
Definition: MEvent/Module.h:41
Array of Scintillator.
Module interface.
Definition: VModule.h:53
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
void FillCornerClippingProbability(const evt::Event &event, mevt::Module &module, const mdet::Module &mdetModule)

, generated on Tue Sep 26 2023.