CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GPFCluster.h
Go to the documentation of this file.
1 #ifndef Graphic_PFCluster_h
2 #define Graphic_PFCluster_h
3 
11 #include "TMarker.h"
12 
13 
14 class GPFCluster : public GPFBase, public TMarker {
15  public:
16 
17  GPFCluster(DisplayManager *dm, int view, int ident,
18  const reco::PFCluster* clus,
19  double x,double y,TAttMarker *attm);
20  virtual ~GPFCluster() {;}
21 
22  double getEnergy() {return en_;}
23  virtual void draw();
24  void setColor();
25  void setColor(int newcol);
26  void setInitialColor();
27  void setNewStyle();
28  void setNewSize();
29 
30  //overridden ROOT method
31  virtual void Print(); // *MENU*
32  virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py);
33 
34  const GPFCluster& operator=( const GPFCluster& other ) {
35  clus_ = other.clus_;
36  return *this;
37  }
38 
39  private:
41  //energy
42  double en_;
43 
44 };
45 #endif
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition: PFCluster.h:42
double getEnergy()
Definition: GPFCluster.h:22
void setNewSize()
Definition: GPFCluster.cc:71
double en_
Definition: GPFCluster.h:42
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Definition: GPFCluster.cc:30
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
virtual ~GPFCluster()
Definition: GPFCluster.h:20
void setNewStyle()
Definition: GPFCluster.cc:66
virtual void draw()
Definition: GPFCluster.cc:46
virtual void Print()
Definition: GPFCluster.cc:25
const GPFCluster & operator=(const GPFCluster &other)
Definition: GPFCluster.h:34
GPFCluster(DisplayManager *dm, int view, int ident, const reco::PFCluster *clus, double x, double y, TAttMarker *attm)
Definition: GPFCluster.cc:10
void setColor()
Definition: GPFCluster.cc:51
void setInitialColor()
Definition: GPFCluster.cc:61
Definition: DDAxes.h:10
const reco::PFCluster * clus_
Definition: GPFCluster.h:40