src
SimGeneral
TrackingAnalysis
interface
PSimHitSelector.h
Go to the documentation of this file.
1
#ifndef TrackingAnalysis_PSimHitSelector_h
2
#define TrackingAnalysis_PSimHitSelector_h
3
4
#include <map>
5
#include <string>
6
#include <vector>
7
8
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/Framework/interface/EventSetup.h
"
11
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
12
13
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
14
16
class
PSimHitSelector
{
17
public
:
18
typedef
std::vector<PSimHit>
PSimHitCollection
;
19
21
/* Creates a MuonPSimHitSelector with association given by pset.
22
23
/param[in] pset with the configuration values
24
*/
25
PSimHitSelector
(
edm::ParameterSet
const
&,
edm::ConsumesCollector
&);
26
std::string
mixLabel_
;
27
29
virtual
~PSimHitSelector
() =
default
;
30
32
virtual
void
select
(
PSimHitCollection
&,
edm::Event
const
&,
edm::EventSetup
const
&)
const
;
33
34
protected
:
35
typedef
std::map<std::string, std::vector<std::string>>
PSimHitCollectionMap
;
36
37
PSimHitCollectionMap
pSimHitCollectionMap_
;
38
};
39
40
#endif
PSimHitSelector::~PSimHitSelector
virtual ~PSimHitSelector()=default
Virtual destructor.
Event.h
EventSetup.h
PSimHitSelector::mixLabel_
std::string mixLabel_
Definition:
PSimHitSelector.h:26
PSimHitSelector::PSimHitSelector
PSimHitSelector(edm::ParameterSet const &, edm::ConsumesCollector &)
Constructor by pset.
Definition:
PSimHitSelector.cc:7
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ParameterSet.h
PSimHitSelector::PSimHitCollectionMap
std::map< std::string, std::vector< std::string > > PSimHitCollectionMap
Definition:
PSimHitSelector.h:35
PSimHitSelector
PSimHitSelector class.
Definition:
PSimHitSelector.h:16
edm::EventSetup
Definition:
EventSetup.h:56
PSimHitSelector::PSimHitCollection
std::vector< PSimHit > PSimHitCollection
Definition:
PSimHitSelector.h:18
PSimHit.h
PSimHitSelector::pSimHitCollectionMap_
PSimHitCollectionMap pSimHitCollectionMap_
Definition:
PSimHitSelector.h:37
edm::ParameterSet
Definition:
ParameterSet.h:47
PSimHitSelector::select
virtual void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const
Select the psimhit add them to a PSimHitCollection.
Definition:
PSimHitSelector.cc:21
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14