CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
AlignmentTwoBodyDecayTrackSelector.h
Go to the documentation of this file.
1 
2 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentTwoBodyDecayTrackSelector_h
3 #define Alignment_CommonAlignmentAlgorithm_AlignmentTwoBodyDecayTrackSelector_h
4 
5 //Framework
8 //STL
9 #include <vector>
10 // forward declaration:
11 namespace edm {class Track;}
12 namespace reco {class Event;}
13 
15 {
16  public:
17 
18  typedef std::vector<const reco::Track*> Tracks;
19 
22 
25 
27  Tracks select(const Tracks& tracks, const edm::Event& iEvent);
28 
29  bool useThisFilter();
30  private:
32  Tracks checkMass(const Tracks& cands)const;
34  Tracks checkMETMass(const Tracks& cands,const edm::Event& iEvent)const;
36  Tracks checkCharge(const Tracks& cands)const;
38  Tracks checkAcoplanarity(const Tracks& cands)const;
40  Tracks checkMETAcoplanarity(const Tracks& cands,const edm::Event& iEvent)const;
42 
43  //settings from conigfile
48  //inv mass Cut
49  double theMinMass;
50  double theMaxMass;
52  //charge filter
53  int theCharge;
55  //missing ET Filter
57  //acoplanarity Filter
59  //helpers
61  void printTracks(const Tracks& col) const;
62 };
63 
64 #endif
65 
Tracks checkMETAcoplanarity(const Tracks &cands, const edm::Event &iEvent) const
checks if [cands] contains a acoplanar track w.r.t missing ET (returns empty set if not) ...
Tracks select(const Tracks &tracks, const edm::Event &iEvent)
select tracks
int iEvent
Definition: GenABIO.cc:243
bool useThisFilter()
returns if any of the Filters is used.
void printTracks(const Tracks &col) const
print Information on Track-Collection
Tracks checkAcoplanarity(const Tracks &cands) const
checks if the [cands] are acoplanar (returns empty set if not)
tuple tracks
Definition: testEve_cfg.py:39
AlignmentTwoBodyDecayTrackSelector(const edm::ParameterSet &cfg)
constructor
Tracks checkCharge(const Tracks &cands) const
checks if the mother has charge = [theCharge]
Tracks checkMETMass(const Tracks &cands, const edm::Event &iEvent) const
checks if the mass of the mother is in the mass region adding missing E_T
Tracks checkMass(const Tracks &cands) const
checks if the mass of the mother is in the mass region