CMS 3D CMS Logo

PileupInformation.h
Go to the documentation of this file.
1 #ifndef SimGeneral_PileupInformation_h
2 #define SimGeneral_PileupInformation_h
3 
4 #include <map>
5 
7 
11 
12 //#include "CommonTools/RecoAlgos/interface/TrackingParticleSelector.h"
13 
25 
27 
29 public:
30  explicit PileupInformation(const edm::ParameterSet &);
31 
32 private:
33  void produce(edm::Event &, const edm::EventSetup &) override;
34 
36 
37  typedef std::map<EncodedEventId, unsigned int> EncodedEventIdToIndex;
38  typedef std::map<int, int> myindex;
39  myindex event_index_;
40 
41  std::vector<float> zpositions;
42  std::vector<float> sumpT_lowpT;
43  std::vector<float> sumpT_highpT;
44  std::vector<int> ntrks_lowpT;
45  std::vector<int> ntrks_highpT;
46 
47  double distanceCut_;
48  double volumeRadius_;
49  double volumeZ_;
50  double pTcut_1_;
51  double pTcut_2_;
53 
60 
62 
64 
66  //std::string simHitLabel_;
67  //std::unique_ptr<MixCollection<SimTrack> > simTracks_;
68  //std::unique_ptr<MixCollection<SimVertex> > simVertexes_;
69 };
70 
71 #endif
edm::EDGetTokenT< PileupMixingContent > PileupInfoLabel_
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupSummaryToken_
std::string MessageCategory_
std::map< int, int > myindex
std::map< EncodedEventId, unsigned int > EncodedEventIdToIndex
edm::EDGetTokenT< int > bunchSpacingToken_
void produce(edm::Event &, const edm::EventSetup &) override
PileupInformation(const edm::ParameterSet &)
edm::ParameterSet conf_
std::vector< float > sumpT_highpT
std::vector< float > zpositions
std::vector< int > ntrks_lowpT
edm::EDGetTokenT< TrackingParticleCollection > trackingTruthT_
edm::EDGetTokenT< PileupVertexContent > PileupVtxLabel_
std::vector< float > sumpT_lowpT
edm::EDGetTokenT< TrackingVertexCollection > trackingTruthV_
std::vector< int > ntrks_highpT