CMS 3D CMS Logo

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