LCLS data analysis group maintains the analysis framework called PSANA. You can find the more complete documentation HERE. Contents here are notes on how to setup the environment.
First you need to log on to one of the psana machines. From outside, ssh by
ssh -X username@pslogin.slac.stanford.edu
ssh -X psana
This will direct you to one of the less busy psana nodes. From the psusr nodes in the control nodes or the nx server, you can skip the first step and directly go to psana. Then you need to setup the linux environment
source /reg/g/psdm/etc/psconda.sh
To use "straight" psana to analyze your data, follow the very nice tutorial examples here "Building Block" Examples