CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Tau.h
Go to the documentation of this file.
1 #ifndef DataFormats_L1Trigger_Tau_h
2 #define DataFormats_L1Trigger_Tau_h
3 
4 
7 
8 namespace l1t {
9 
10  class Tau;
14  typedef std::vector< TauRef > TauVectorRef ;
15 
16  class Tau : public L1Candidate {
17 
18  public:
19  Tau(){}
20  Tau( const LorentzVector& p4,
21  int pt=0,
22  int eta=0,
23  int phi=0,
24  int qual=0,
25  int iso=0);
26  Tau( const PolarLorentzVector& p4,
27  int pt=0,
28  int eta=0,
29  int phi=0,
30  int qual=0,
31  int iso=0);
32 
33 
34  ~Tau();
35 
36  void setTowerIEta(short int ieta); // ieta of seed tower
37  void setTowerIPhi(short int iphi); // iphi of seed tower
38  void setRawEt(short int et); // raw (uncalibrated) cluster sum
39  void setIsoEt(short int et); // raw isolation sum - cluster sum
40  void setNTT(short int ntt); // n towers above threshold
41  void setHasEM(bool hasEM);
42  void setIsMerged(bool isMerged);
43 
44  short int towerIEta() const;
45  short int towerIPhi() const;
46  short int rawEt() const;
47  short int isoEt() const;
48  short int nTT() const;
49  bool hasEM() const;
50  bool isMerged() const;
51 
52  private:
53 
54  // additional hardware quantities common to L1 global tau
55  void clear_extended();
56  short int towerIEta_;
57  short int towerIPhi_;
58  short int rawEt_;
59  short int isoEt_;
60  short int nTT_;
61  bool hasEM_;
62  bool isMerged_;
63 
64  };
65 
66 }
67 
68 #endif
bool hasEM() const
edm::Ref< TauBxCollection > TauRef
Definition: Tau.h:12
short int isoEt_
Definition: Tau.h:59
void setHasEM(bool hasEM)
Definition: Tau.h:16
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
math::XYZTLorentzVector LorentzVector
void setRawEt(short int et)
virtual double phi() const final
momentum azimuthal angle
edm::RefVector< TauBxCollection > TauRefVector
Definition: Tau.h:13
short int nTT_
Definition: Tau.h:60
short int towerIEta_
Definition: Tau.h:56
BXVector< Tau > TauBxCollection
Definition: Tau.h:10
short int towerIPhi_
Definition: Tau.h:57
bool isMerged_
Definition: Tau.h:62
bool isMerged() const
void clear_extended()
short int rawEt_
Definition: Tau.h:58
short int towerIEta() const
short int rawEt() const
bool hasEM_
Definition: Tau.h:61
void setNTT(short int ntt)
Tau()
Definition: Tau.h:19
void setTowerIEta(short int ieta)
std::vector< TauRef > TauVectorRef
Definition: Tau.h:14
virtual double et() const final
transverse energy
virtual double eta() const final
momentum pseudorapidity
short int isoEt() const
short int towerIPhi() const
short int nTT() const
void setIsoEt(short int et)
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
void setTowerIPhi(short int iphi)
void setIsMerged(bool isMerged)
virtual double pt() const final
transverse momentum