Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:30:27

0001 #ifndef SimPPS_RPDigiProducer_RPSimTypes_H
0002 #define SimPPS_RPDigiProducer_RPSimTypes_H
0003 
0004 #include <map>
0005 #include <vector>
0006 #include <set>
0007 
0008 #include "SimPPS/RPDigiProducer/interface/RPEnergyDepositUnit.h"
0009 #include "SimPPS/RPDigiProducer/interface/RPSignalPoint.h"
0010 
0011 typedef uint32_t RPDetId;
0012 
0013 namespace simromanpot {
0014   typedef std::map<unsigned short, double> strip_charge_map;
0015   typedef std::vector<RPSignalPoint> charge_induced_on_surface;
0016   typedef std::vector<RPEnergyDepositUnit> energy_path_distribution;
0017   typedef std::set<short, std::less<short> > HitsContainer;
0018   typedef std::set<short, std::less<short> >::const_iterator HitsContainerIter;
0019   typedef std::set<short, std::less<short> > TriggerContainer;
0020   typedef std::set<short, std::less<short> >::const_iterator TriggerContainerIter;
0021   typedef std::vector<std::vector<std::pair<int, double> > >
0022       DigiPrimaryMapType;  //for each digi in the output the vector of the number of PSimHit and its weight
0023   typedef std::vector<std::pair<int, double> >
0024       SingleDigiPrimaryMapType;  //for one digi in the output the vector of the number of PSimHit and its weight
0025   typedef std::vector<std::vector<std::pair<int, double> > >
0026       TriggerPrimaryMapType;  //for each digi in the output the vector of the number of PSimHit and its weight
0027   typedef std::map<unsigned short, std::vector<std::pair<int, double> > >
0028       strip_charge_map_links_type;  //for each strip the indeces of PSimHit and amounts of charge generated by it is given
0029   typedef std::map<unsigned short, std::map<int, double> >
0030       TriggerContainerLinkMap;  //for each strip the indeces of PSimHit and amounts of charge generated by it is given
0031 }  // namespace simromanpot
0032 
0033 #endif  //SimPPS_RPDigiProducer_RPSimTypes_H