CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
WMuNuCandidatePtr.h
Go to the documentation of this file.
1 #ifndef AnalysisDataFormat_EWK_WMuNuCandidatePtr_h
2 #define AnalysisDataFormat_EWK_WMuNuCandidatePtr_h
3 
4 #include <map>
5 #include <memory>
6 
17 namespace reco{
18 
20 public:
24 
25  //WARNING: W Candidates combine the information from a Muon with the (px,py) information of the MET as the Neutrino
26  // --> There is no Pz information!!!!
27  // Be very careful when using the default Candidate functions (.mass, .mt, .et, etc). They may not be what you are looking for :-).
28 
29  // Example: Candidates have a mt() function which computes the tranverse mass from E & pz.
30  // As MET does not have pz information... WMuNuCandidatePtrs have an alternative function used in the WMuNu Inclusive Analysis
31  // to compute mt just from px, py:
32  // Transverse Mass from px, py:
33  double massT() const;
34  // Transverse Energy from px, py:
35  double eT() const;
36 
37  // Acoplanarity between the muon and the MET
38  double acop() const;
39 
40  const reco::Muon & getMuon() const {return *muon_;};
41  const reco::MET & getNeutrino() const {return *neutrino_;};
42 
43 
44 private:
45 
46 
49 };
50 
51 
52 typedef std::vector<reco::WMuNuCandidatePtr> WMuNuCandidatePtrCollection;
53 }
54 
55 
56 #endif
const reco::Muon & getMuon() const
const reco::MET & getNeutrino() const
Definition: MET.h:32
std::vector< reco::WMuNuCandidatePtr > WMuNuCandidatePtrCollection