CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ProtonTaggerFilter.h
Go to the documentation of this file.
1 #ifndef FastSimulation_ProtonTaggerFilter_H
2 #define FastSimulation_ProtonTaggerFilter_H
3 
5 
24 // Version: $Id: ProtonTaggerFilter.h,v 1.1 2008/11/25 17:34:15 beaudett Exp $
25 
27 
29 
30 #include "HepMC/GenEvent.h"
31 
32 #include "TFile.h"
33 
35 {
36 
37  public:
38 
40  explicit ProtonTaggerFilter(edm::ParameterSet const & p);
41 
43  virtual ~ProtonTaggerFilter();
44 
46  virtual void beginJob();
47 
49  virtual void endJob();
50 
52  virtual bool filter(edm::Event & e, const edm::EventSetup & c);
53 
54  private:
55 
57  unsigned int beam1mode;
58 
60  unsigned int beam2mode;
61 
63  unsigned int beamCombiningMode;
64 
72 
73 };
74 
75 #endif
virtual bool filter(edm::Event &e, const edm::EventSetup &c)
decide if the event is accepted by the proton taggers
virtual ~ProtonTaggerFilter()
empty destructor
AcceptanceTableHelper helper420beam1
Objects which actually compute the acceptance (one per detector or combination of detectors) ...
virtual void endJob()
endjob function of the EDFilter
AcceptanceTableHelper helper420a220beam1
AcceptanceTableHelper helper420a220beam2
unsigned int beamCombiningMode
choose how to combine data from the two beams (ask for 1/2 proton)
AcceptanceTableHelper helper220beam2
ProtonTaggerFilter(edm::ParameterSet const &p)
default constructor
unsigned int beam1mode
choose which of the detectors (FP420/TOTEM/both) will be used for beam 1
AcceptanceTableHelper helper220beam1
unsigned int beam2mode
choose which of the detectors (FP420/TOTEM/both) will be used for beam 2
AcceptanceTableHelper helper420beam2
Access to acceptance tables stored in ROOT file.
virtual void beginJob()
startup function of the EDFilter
Fast simulation of near-beam detector acceptance.