CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GPFTrack.h
Go to the documentation of this file.
1 #ifndef Graphic_PFTrack_h
2 #define Graphic_PFTrack_h
3 
11 #include "TGraph.h"
12 #include <string>
13 
14 
15 class GPFTrack : public GPFBase, public TGraph {
16  public:
17  GPFTrack(DisplayManager *dm,int view, int ident,
18  reco::PFRecTrack *tra, int size, double *x, double *y,
19  double pt,TAttMarker *attm,TAttLine *attl, std::string option);
20 
21  virtual ~GPFTrack() {;}
22 
23  virtual void draw();
24  double getPt() { return pt_;}
25  void setColor();
26  void setColor(int newcol);
27  void setInitialColor();
28  void setNewStyle();
29  void setNewSize();
30 
31  //overridden ROOT method
32  virtual void Print(); // *MENU*
33  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
34  //
35 
36  const GPFTrack& operator=( const GPFTrack& other ) {
37  track_ = other.track_;
38  return *this;
39  }
40 
41  private:
42  //draw option
44  double pt_;
46 
47 
48 
49 };
50 #endif
std::string option_
Definition: GPFTrack.h:45
reconstructed track used as an input to particle flow
Definition: PFRecTrack.h:22
void setColor()
Definition: GPFTrack.cc:55
GPFTrack(DisplayManager *dm, int view, int ident, reco::PFRecTrack *tra, int size, double *x, double *y, double pt, TAttMarker *attm, TAttLine *attl, std::string option)
Definition: GPFTrack.cc:11
virtual void draw()
Definition: GPFTrack.cc:50
virtual ~GPFTrack()
Definition: GPFTrack.h:21
double pt_
Definition: GPFTrack.h:44
double getPt()
Definition: GPFTrack.h:24
virtual void Print()
Definition: GPFTrack.cc:27
void setInitialColor()
Definition: GPFTrack.cc:70
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void setNewStyle()
Definition: GPFTrack.cc:83
const GPFTrack & operator=(const GPFTrack &other)
Definition: GPFTrack.h:36
reco::PFRecTrack * track_
Definition: GPFTrack.h:43
Definition: DDAxes.h:10
void setNewSize()
Definition: GPFTrack.cc:78
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Definition: GPFTrack.cc:33
tuple size
Write out results.