CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GPFRecHit.h
Go to the documentation of this file.
1 #ifndef Graphic_PFRecHit_h
2 #define Graphic_PFRecHit_h
3 
10 #include "TGraph.h"
11 #include <string>
12 
13 
14 class GPFRecHit : public GPFBase, public TGraph {
15  public:
16  GPFRecHit(DisplayManager *dm,int view, int ident,
17  reco::PFRecHit *hit,int size,
18  double *x,double *y , int color, std::string option);
19  virtual ~GPFRecHit() {}
20 
21  virtual void draw();
22  double getEnergy() { return en_;}
23  std::string getOption() { return option_;}
24  void setColor();
25  void setColor(int newcolor);
26  void setInitialColor();
27  void setNewStyle();
28  void setNewSize();
29 
30  //overridden ROOT methods
31  virtual void Print(); // *MENU*
32  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
33 
34  private:
36 
38  double en_;
39 
41  std::string option_;
42 
43 };
44 #endif
std::string option_
root draw option
Definition: GPFRecHit.h:41
std::string getOption()
Definition: GPFRecHit.h:23
reco::PFRecHit * recHit_
Definition: GPFRecHit.h:35
double en_
energy
Definition: GPFRecHit.h:38
void setNewSize()
Definition: GPFRecHit.cc:71
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition: PFRecHit.h:31
virtual ~GPFRecHit()
Definition: GPFRecHit.h:19
virtual void Print()
Definition: GPFRecHit.cc:27
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 setInitialColor()
Definition: GPFRecHit.cc:58
void setColor()
Definition: GPFRecHit.cc:64
void setNewStyle()
Definition: GPFRecHit.cc:76
GPFRecHit(DisplayManager *dm, int view, int ident, reco::PFRecHit *hit, int size, double *x, double *y, int color, std::string option)
Definition: GPFRecHit.cc:11
virtual void draw()
Definition: GPFRecHit.cc:47
double getEnergy()
Definition: GPFRecHit.h:22
Definition: DDAxes.h:10
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Definition: GPFRecHit.cc:32
tuple size
Write out results.