CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HSCParticleProducer.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: HSCParticleProducer
4 // Class: HSCParticleProducer
5 //
13 //
14 // Original Author: Rizzi Andrea
15 // Reworked and Ported to CMSSW_3_0_0 by Christophe Delaere
16 // Created: Wed Oct 10 12:01:28 CEST 2007
17 
18 
19 // system include files
20 #include <memory>
21 
22 // user include files
30 
32 
33 
41 
44 #include "Math/GenVector/VectorUtil.h"
45 
46 #include <TNtuple.h>
47 #include <TF1.h>
48 
49 #include <vector>
50 #include <iostream>
51 
52 //
53 // class decleration
54 //
56  public:
57  explicit HSCParticleProducer(const edm::ParameterSet&);
59 
60  private:
61  virtual void beginJob() ;
62  virtual bool filter(edm::Event&, const edm::EventSetup&);
63  virtual void endJob() ;
64 
65  std::vector<susybsm::HSCParticle> getHSCPSeedCollection(edm::Handle<reco::TrackCollection>& trackCollectionHandle, edm::Handle<reco::MuonCollection>& muonCollectionHandle);
66 
67  // ----------member data ---------------------------
68  bool Filter_;
69 
73 
78 
79  float minTkP;
80  float maxTkChi2;
81  unsigned int minTkHits;
82  float minMuP;
83  float minDR;
84  float maxInvPtDiff;
85 
90 
91  std::vector<CandidateSelector*> Selectors;
92 };
93 
94 
std::vector< susybsm::HSCParticle > getHSCPSeedCollection(edm::Handle< reco::TrackCollection > &trackCollectionHandle, edm::Handle< reco::MuonCollection > &muonCollectionHandle)
edm::EDGetTokenT< reco::MuonCollection > m_muonsToken
BetaCalculatorMUON * beta_calculator_MUON
BetaCalculatorTK * beta_calculator_TK
BetaCalculatorECAL * beta_calculator_ECAL
edm::EDGetTokenT< reco::TrackCollection > m_trackToken
BetaCalculatorRPC * beta_calculator_RPC
std::vector< CandidateSelector * > Selectors
edm::EDGetTokenT< reco::TrackCollection > m_trackIsoToken
HSCParticleProducer(const edm::ParameterSet &)
virtual bool filter(edm::Event &, const edm::EventSetup &)