1 #ifndef PF_DisplayManager_h
2 #define PF_DisplayManager_h
38 const char* optfile );
199 double maxe,
double phi0=0. ,
int color=4);
202 int ident,
double phi0 = 0.);
205 const std::vector<reco::PFTrajectoryPoint>& points,
206 int ident,
double pt,
double phi0,
double sign,
207 bool displayInitial,
int linestyle,
int kfgsfbrem=0);
210 const std::vector<reco::PFTrajectoryPoint>& points,
211 int ident,
double pt,
double phi0,
double sign,
212 bool displayInitial,
int markerIndex);
247 double getMaxE(
int layer)
const;
void printGenParticleInfo(std::string name, int barcode, int barcodeMother)
void drawGObject(int ident, int color, bool toInitialColor)
void displayAll(bool noRedraw=true)
reconstructed track used as an input to particle flow
bool findBadBremsId(int ident)
std::multimap< int, GPFBase * > graphicMap_
General option file parser.
std::vector< TCanvas * > displayView_
vector of canvas for x/y or r/z display
void setNewAttrToSimParticles()
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
std::vector< float > gsfAttributes_
TAttMarker * genPartPattern_
void createGCluster(const reco::PFCluster &cluster, int ident, double phi0=0.)
TAttMarker * gsfPatternM_
TAttLine * trackPatternL_
void drawWithNewGraphicAttributes()
void findBlock(int ident)
void lookForMaxRecHit(bool ecal)
look for rechit with max energy in ecal or hcal.
std::vector< TAttMarker * > simPartPatternM_
void lookForGenParticle(unsigned barcode)
look for particle with index i in MC truth.
TAttMarker * clusPatternhfem_
std::vector< float > trackAttributes_
TAttMarker * trackPatternM_
void createGPart(const reco::PFSimParticle &ptc, const std::vector< reco::PFTrajectoryPoint > &points, int ident, double pt, double phi0, double sign, bool displayInitial, int markerIndex)
TAttMarker * clusPSPattern_
TAttMarker * simPartPatternPi_
void displayPFBlock(int blockNb)
TAttMarker * clusPatternecal_
TAttMarker * bremPatternM_
TBox frontFaceECALRZ_
ECAL in RZ view.
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
std::vector< int > selectedGObj_
graphic object containers
void enableDrawBrem(bool state)
TAttMarker * simPartPatternProton_
DisplayManager(PFRootEventManager *em, const char *optfile)
void printDisplay(const char *directory="") const
std::vector< int > badBremsId_
std::vector< float > bremAttributes_
void displayEvent(int run, int lumi, int event)
TEllipse frontFaceHOXY_
HO in XY view.
TAttMarker * simPartPatternPhoton_
TAttMarker * simPartPatternElec_
std::vector< float > clusterAttributes_
TAttMarker * clusPattern_
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 createGTrack(reco::PFRecTrack &tr, const std::vector< reco::PFTrajectoryPoint > &points, int ident, double pt, double phi0, double sign, bool displayInitial, int linestyle, int kfgsfbrem=0)
void createGRecHit(reco::PFRecHit &rh, int ident, double maxe, double phi0=0., int color=4)
true particle for particle flow
TAttMarker * simPartPatternMuon_
void displayNextInteresting(int ientry)
std::multimap< int, std::pair< int, int > > blockIdentsMap_
void loadGraphicObjects()
TEllipse frontFaceECALXY_
ECAL in XY view.
void enableDrawPFBlock(bool state)
double getMaxE(int layer) const
TEllipse frontFaceHCALXY_
HCAL in XY view.
IO * options_
options file parser
void readOptions(const char *file)
void findAndDraw(int ident)
TAttLine * simPartPatternL_
void createGGenParticle(HepMC::GenParticle *p)
virtual ~DisplayManager()
ROOT interface to particle flow package.
TAttMarker * simPartPatternNeutron_
std::vector< TH2F * > displayHist_
support histogram for x/y or r/z display.
TAttMarker * simPartPatternK_
TAttMarker * simPartPatternDefault_
std::vector< int > viewSize_
display pad xy size for (x,y) or (r,z) display
std::vector< int > viewSizeEtaPhi_
display pad xy size for eta/phi view
TAttMarker * clusPatternho_