Analysis Software
Documentation for sPHENIX simulation software
|
#include <fun4all/Fun4AllServer.h>
#include <fun4all/Fun4AllInputManager.h>
#include <fun4all/Fun4AllDstInputManager.h>
#include <frog/FROG.h>
#include <fillSpaceChargeMaps.h>
#include <stdio.h>
#include <string>
Go to the source code of this file.
Macros | |
#define | FUN4ALL_FILLCHARGESMAP_300EVTS_MDC2_C |
Functions | |
std::vector< int > | readBeamXings () |
int | closest (std::vector< int > const &vec, int value) |
void | Fun4All_FillChargesMap_300evts_MDC2 (const int nEvents=10, const int eventsInFileStart=0, const int eventsBeamCrossing=1508071, const string &fname="/sphenix/sim/sim01/sphnxpro/Micromegas/2/G4Hits_sHijing_0-12fm_000000_001000.root", const string &foutputname="/sphenix/user/shulga/Work/IBF/DistortionMap/Files/slim_G4Hits_sHijing_0-12fm_000000_001000.root") |
#define FUN4ALL_FILLCHARGESMAP_300EVTS_MDC2_C |
Definition at line 2 of file Fun4All_FillChargesMap_300evts_MDC2.C.
View newest version in sPHENIX GitHub at line 2 of file Fun4All_FillChargesMap_300evts_MDC2.C
int closest | ( | std::vector< int > const & | vec, |
int | value | ||
) |
Definition at line 53 of file Fun4All_FillChargesMap_300evts_MDC2.C.
View newest version in sPHENIX GitHub at line 53 of file Fun4All_FillChargesMap_300evts_MDC2.C
void Fun4All_FillChargesMap_300evts_MDC2 | ( | const int | nEvents = 10 , |
const int | eventsInFileStart = 0 , |
||
const int | eventsBeamCrossing = 1508071 , |
||
const string & | fname = "/sphenix/sim/sim01/sphnxpro/Micromegas/2/G4Hits_sHijing_0-12fm_000000_001000.root" , |
||
const string & | foutputname = "/sphenix/user/shulga/Work/IBF/DistortionMap/Files/slim_G4Hits_sHijing_0-12fm_000000_001000.root" |
||
) |
Definition at line 59 of file Fun4All_FillChargesMap_300evts_MDC2.C.
View newest version in sPHENIX GitHub at line 59 of file Fun4All_FillChargesMap_300evts_MDC2.C
References add_histos::bXs, distance(), Fun4AllServer::End(), Fun4AllInputManager::fileopen(), INTTVtxZ::fname, in, index, Fun4AllServer::instance(), it, FROG::location(), n, nEvents, readBeamXings(), Fun4AllServer::registerInputManager(), Fun4AllServer::registerSubsystem(), Fun4AllServer::run(), fillSpaceChargeMaps::SetBeamXing(), fillSpaceChargeMaps::SetCollSyst(), fillSpaceChargeMaps::SetEvtStart(), fillSpaceChargeMaps::SetFrequency(), fillSpaceChargeMaps::SetGain(), fillSpaceChargeMaps::SetIBF(), fillSpaceChargeMaps::SetUseIBFMap(), to_string(), fillSpaceChargeMaps::UseFieldMaps(), and fillSpaceChargeMaps::UseSliming().
std::vector<int> readBeamXings | ( | ) |