Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:52

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