SimTracker
Common
interface
SimHitSelectorFromDB.h
Go to the documentation of this file.
1
#ifndef SimTracker_SimHitSelectorFromDB_H
2
#define SimTracker_SimHitSelectorFromDB_H
3
4
// Data
5
#include "
SimDataFormats/CrossingFrame/interface/MixCollection.h
"
6
#include "
SimDataFormats/TrackingHit/interface/PSimHit.h
"
7
8
#include <map>
9
#include <vector>
10
11
class
SimHitSelectorFromDB
{
12
public
:
13
SimHitSelectorFromDB
();
14
~SimHitSelectorFromDB
(){};
15
16
// std::vector<PSimHit> getSimHit(std::unique_ptr<MixCollection<PSimHit>
17
// >&,std::map<uint32_t, std::vector<int> >& );
18
std::vector<std::pair<const PSimHit *, int>>
getSimHit
(
std::unique_ptr
<
MixCollection<PSimHit>
> &,
19
std::map
<uint32_t, std::vector<int>> &);
20
21
private
:
22
// std::vector<PSimHit> theNewSimHitList;
23
std::vector<std::pair<const PSimHit *, int>>
theNewSimHitList
;
24
};
25
26
#endif
SimHitSelectorFromDB::~SimHitSelectorFromDB
~SimHitSelectorFromDB()
Definition:
SimHitSelectorFromDB.h:14
PSimHit.h
MixCollection.h
MixCollection
Definition:
MixCollection.h:10
SimHitSelectorFromDB::getSimHit
std::vector< std::pair< const PSimHit *, int > > getSimHit(std::unique_ptr< MixCollection< PSimHit >> &, std::map< uint32_t, std::vector< int >> &)
Definition:
SimHitSelectorFromDB.cc:8
SimHitSelectorFromDB::theNewSimHitList
std::vector< std::pair< const PSimHit *, int > > theNewSimHitList
Definition:
SimHitSelectorFromDB.h:23
SimHitSelectorFromDB::SimHitSelectorFromDB
SimHitSelectorFromDB()
Definition:
SimHitSelectorFromDB.cc:3
cms::cuda::device::unique_ptr
std::unique_ptr< T, impl::DeviceDeleter > unique_ptr
Definition:
device_unique_ptr.h:33
SimHitSelectorFromDB
Definition:
SimHitSelectorFromDB.h:11
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
Generated for CMSSW Reference Manual by
1.8.16