MarlinUtil  1.12.1
CutOnCosThetaQQbar.h
1 #ifndef CutOnCosThetaQQbar_h
2 #define CutOnCosThetaQQbar_h 1
3 
4 #include <iostream>
5 
6 #include <marlin/Processor.h>
7 #include <lcio.h>
8 #include <EVENT/LCCollection.h>
9 #include <EVENT/MCParticle.h>
10 
11 
12 using namespace lcio ;
13 using namespace marlin ;
14 
15 class CutOnCosThetaQQbar : public Processor {
16 
17  public:
18 
19  virtual Processor* newProcessor() { return new CutOnCosThetaQQbar ; }
20 
22 
23  virtual void init() ;
24  virtual void processRunHeader( LCRunHeader* run ) ;
25  virtual void processEvent( LCEvent * evt ) ;
26  virtual void check( LCEvent * evt ) ;
27  virtual void end() ;
28 
29 
30  private:
31 
32 
33  protected:
34 
35  double _cutCosTheta;
36 
37  int _nRun;
38  int _nEvt;
39 
40 
41  double getCosThOfQuarkSystem(const LCEvent* evt);
42 
43 
44 } ;
45 
46 #endif
Definition: CutOnCosThetaQQbar.h:15